A dark field of small points, one for every few thousand documents, crossed by a single vertical search line with four highlighted results

Engineering at Locus Elite · API & MCP

Built to scaleThree questions every engineering team should ask a media-intelligence platform, answered with our own numbers

145.6M documents · 14.56 crore ~40 ms typical search Engineered to scale to 100M requests a day · 10 crore
Open the feature ↓

The finding

Fast systems are not the ones that never change. They are the ones that change one measured step at a time.

Load test · peak rate450/450requests succeeded
Slowest 5% · after rebuild~0.13 sdown from ~1.6 s on the old service

Locus Elite holds one monitored record of news, social media, TV, radio and print: over 145 million documents, growing by nearly 390,000 a day. Communications teams read it in our app. Engineering teams and AI assistants now read it through the Locus Elite API and our MCP server. That raises three fair questions about speed, visibility and change. This feature answers each one with what we measure on live systems.

03October 2026

Question one · Search

1

How do you search 145 million records in milliseconds?

News, social, TV, radio and print arrive every second. We keep them in one index, so a question such as “every mention of Tesla in the last seven days” runs once across every media type. The search itself typically takes about 40 milliseconds, and the slowest 5% finish in under 100. That index is open to your code through the Locus Elite API, and to AI assistants through 23 MCP tools that answer in plain language with dated, verbatim sources.

145.6Msearchable documents · 14.56 crore
~40 mstypical search time, full archive
~390knew documents a day · nearly 4 lakh

Open through · Locus Elite API and MCP server (23 tools)

04Question one
Built to scale · 1/3
Built to scale · 2/3

Question two · Logging

2

When something breaks, how do you find it without slowing anyone down?

Every API and MCP call leaves one compact usage line: who called, which endpoint, the result, how fast and the compute units used. The line drops into a queue inside the server and the request moves on. Our rule is simple: no database write ever happens inside a request. In the background, lines are batched to a data lake and rolled up every 15 minutes into hourly summaries. To prove it, we switched the log stream off on purpose and kept sending traffic.

282requests with the log stream off, over 2.5 minutes
~0.6 msmedian overhead
0requests over 50 ms of overhead

Recorded for · API, MCP, media downloads and gateway-only APIs, in one archive

07Question two

The request path

One line per request, never in the way.

Request API gateway ServerIN-PROCESS QUEUE Response NEVER WAITS · ~0.6 MS MEDIAN Gateway metricslive, per minute Lines batchedin the background Amazon DataFirehose S3 data lakeParquet, by date and hour Every 15 min → hourly summaries queryable with SQL in Athena If the log stream is unavailable, the sender backs off and counts what it drops.

Design setting · rule: no database write inside a request · retention: detailed records 13 months (archive storage after 90 days), summaries kept, live metrics 30 days

08 – 09Locus Elite · Built to scale

Question three · Releases

3

How do you ship a new API version without anyone noticing?

The usual way is stop, swap and hope, and users notice the gap. We do the opposite. Locus Elite runs behind an API gateway and a load balancer, with autoscaling that adds a server when CPU passes about 60% and removes one below about 25%. To deploy, a fresh server joins first and must pass health checks before any old one is replaced, so capacity never drops. Then a canary earns its traffic: as little as 1%, then 5, 10, 25 and 100, with errors and latency compared live. The old version stays one step away.

1%first canary step, as small as
~10 mintypical rolling deploy
0capacity lost, by design

Rollback · the previous version is always one step away

10Question three
Built to scale · 3/3

The canary ladder

Every step is measured before the next.

1%5%10%25%100% GOGOGOGO

Design setting · first step as small as 1%, typically 5% · not every release uses every step

We moved a rebuilt core search API this way: from an older Java service to a new Python platform. Before any customer traffic moved, an independent AI reviewer compared old and new field by field across 28 test cases. A load test at peak rate followed. Then the canary went from 5% to 100% the same day.

12The cutover

Slowest 5% of requests

~1.6 s

Before · older Java service

~0.13 s

After · rebuilt Python platform

About 97,000 calls since the cutover, nearly 1 lakh, and every one successful.Counted from cutover to 16 Oct 2026

13Two numbers

The method

Six engineering rules

Scale is not one heroic system. It is a handful of rules, kept every time.

Each rule below is either a configured setting or something we measure on live systems. The notes at the end say which is which.

14Locus Elite · Built to scale
  1. 1

    Never write to a database inside a request

    Usage lines are queued in the server and batched later. Measured: ~0.6 ms median overhead with the log stream switched off.

  2. 2

    Measure the typical and the tail

    Averages hide the slow requests people remember. Measured: ~40 ms typical search, slowest 5% under 100 ms.

  3. 3

    Fail in the log, never in the request

    If the log stream is down, the sender backs off and counts what it drops. Gateway access logs remain a separate record.

  4. 4

    Add before you remove

    A fresh server passes health checks before an old one leaves. By design: capacity never drops during a deploy.

  5. 5

    Earn traffic one step at a time

    1% → 5% → 10% → 25% → 100%, with errors and latency compared live. Cutover: 5% to 100% the same day.

  6. 6

    Keep the old version one step away

    Rollback is a switch, not a project. Result: ~97,000 calls since the cutover, every one successful.

15The method

API & MCP

What you can build on

The same monitored record, three ways in: your code through the API, your AI assistant through MCP, and everyone else through the Locus Elite app. Engineered to scale to 100 million requests a day (10 crore), about 1,160 a second on average.

Locus Elite API

Coverage search · documents · KPIs and analytics · saved queries · content feeds · uploads and content analysis · Search Media · media downloads.

Today: ~360,000 media downloads a day (~3.6 lakh), bursts to ~150 a second

16The platform

MCP server · 23 tools

Plain-language questions from Claude, ChatGPT or your own agents, answered with dated, verbatim sources, always within the user’s own permissions.

OAuth sign-in for AI assistants

Search Media

Whole-request times, measured on real traffic.

~110,000 calls a day (~1.1 lakh) · typical 60–80 ms

Guardrails

Per-key and per-organisation limits, limit headers on every response, and API keys your organisation manages.

Stateless servers · autoscaling · gateways

Tested at peak

A load test at peak rate, run before the search cutover.

450 of 450 succeeded · gateway typical ~33 ms

17The platform

Engineering at Locus Elite

Build on the record.

Real-time media intelligence for the decisions that shape the narrative. Bring your code, your AI assistant, or both.

Notes and sources

  1. Measured figures were observed on live Locus Elite systems or in tests, as of 16 October 2026: 145.6 million searchable documents across news, social, TV and radio, and print; ~390,000 new documents a day (~2.9 million a week); ~40 ms typical search-engine time over the full archive, with the slowest 5% under 100 ms; Search Media ~110,000 calls a day, typical 60–80 ms whole request, slowest 5% ~130–170 ms; ~360,000 media downloads a day, bursts to ~150 a second; 23 MCP tools.
  2. Load test at peak rate: 450 of 450 requests succeeded; gateway typical ~33 ms. Log-stream test: 282 requests over 2.5 minutes with the log stream deliberately unavailable; median overhead ~0.6 ms; none over 50 ms.
  3. Core search API cutover: 28 test cases compared field by field by an independent AI reviewer before customer traffic moved; canary 5% to 100% the same day; ~97,000 calls from cutover to 16 Oct 2026, all successful (a different window from the daily figures above); slowest 5% ~1.6 s before, ~0.13 s after.
  4. Design capacity: 100 million requests a day (10 crore), ~1,160 a second on average. This is what the architecture is built to scale to, not current traffic.
  5. Design settings: no database write inside a request; hourly summaries rolled up every 15 minutes; retention of 13 months for detailed records (archive storage after 90 days), summaries kept, live metrics 30 days; autoscaling at ~60% CPU to add and ~25% to remove; add-first rolling deploys, typically ~10 minutes; canary steps 1% → 5% → 10% → 25% → 100%, first step as small as 1% and typically 5%, not every release using every step.