Most of what a VOIMAR console shows is read far more often than it changes. A partner page counts the devices on a phone system. A rating engine matches dialled numbers against the same routing table on every call. Until now each of those reads went back to the source every time: a live call to the PBX, a scan of the routing table, a query against tables that only grow. The pages worked, but the slowest of them made people wait, and on the voice side the same prefix match ran once for every call leg.
So we built one cache for the whole platform. It runs on Valkey, the open-source fork of Redis, It runs on Valkey, the open-source fork of Redis.. One dedicated instance, one credential per system, memory only, and a client pattern that lets any product lose the cache without losing the page. GYTE and Voice Core are on it today. The others follow when their own numbers say they should.
This post covers why one cache rather than one per product, how it is locked down, how the clients are written so the cache can never take a page down, and what we measured on a management console that runs the same pattern.
What we built
The brief was short: one central cache in its own standalone container, applied wherever the data is big, with Voice Core and call rating first in the queue. Voice Core is VOIMAR's central telco module, one register of every number and one store of every call record, so it is where the largest tables live. GYTE, the back office that turns usage into invoices, had a partner page that spent most of its load time on live calls to the PBX. Both went on the cache the morning it came up.
- One dedicated instance. Nothing else runs beside it; GYTE and Voice Core use it today, and every product that needs a shared cache follows onto this one.
- One credential per system, limited to that system's own keys. A product cannot read another product's entries, and a write outside its own prefix is refused.
- The default account is switched off, so there is no anonymous way in.
- Only the application servers may connect. From anywhere else the cache does not answer.
- Memory only, with a hard memory cap and least-recently-used eviction. Nothing is written to disk.
The last point is a choice, not a shortcut. A cache is a working copy of data that lives somewhere safer, and each entry GYTE and Voice Core write carries a time to live. When the cap is reached, the entries nobody has touched for longest go first. When the instance restarts it comes back empty and fills again from the first requests. There is no snapshot to replay and no half-written file to repair after a hard stop, because there was never a file.
How it works
GYTE and Voice Core share one small client module, and its first rule is that the cache is optional. Connecting and every call are limited to 300 milliseconds. After any failure the client leaves the cache alone for 30 seconds, a circuit breaker, and serves from an in-process cache inside the application instead. Every write goes to that in-process copy as well, so when the cache is unreachable each process still holds what it last stored. The in-process copy is bounded and cleared wholesale when it fills, so it can never grow without limit.
A dead cache makes a page slower. It never breaks it.
We cache only data that is cheap to be a few minutes stale. In GYTE the first entry is the device count behind the partner page, which used to make live calls to the PBX on every load and spent about a third of a second doing it. That count is now kept for five minutes. Anything that must be exact on every read stays out, and rates are the clearest example.
Voice Core is the more interesting case. Its rating engine matches each dialled number to the longest matching prefix in the routing table, and that match used to run once for every call leg. The result is now cached for six hours under a key that includes a stamp of the routing table itself: the number of rows and the newest row. Add or remove a route and the stamp changes, so every old entry becomes unreachable at once and expires on its own. There is no delete step and no invalidation job to forget. A number with no route is cached as well, so it does not trigger a fresh scan each time. Rates are never cached. An edited rate applies to the next call.
Then we stopped. Three more systems have credentials ready and a connection allowed, and none of them has a line of cache code. We have switched on access logs with a duration per request, starting with the first of the three, and we read the slowest pages before we cache anything. A cache in front of a page that was already fast is complexity for nothing, and a cache in front of the wrong page hides the real problem.
What it means for you
If you run on GYTE or a VOIMAR voice product, nothing changes in how you work. What changes is underneath.
- Pages that used to wait on a live lookup answer from memory, and the lookup runs once instead of once per visitor.
- Rating does not wait on a table scan, and a rate you change applies at once, because rates are never cached.
- Your product's cached data sits behind its own credential. No other product on the platform can read it.
- Nothing in the cache is kept on disk. It is a working copy that expires, and the record of truth stays in the database it came from.
And if GYTE or Voice Core ever loses the cache, you see a slower page for a while, not an error. We would rather you waited a moment than looked at a broken screen.
What we measured
The GYTE and Voice Core numbers come next: we want a measured before and after on each before we publish them. What we can show now is a management console built on the same pattern, on its own instance of the same engine: memory only, and caching only behind the slow calls.
The method is simple and repeatable. Every admin page is requested from inside the server, three runs each, fastest run reported, after one untimed warm-up pass that fills the cache. Timing inside the server leaves out the network and the browser, so these are server-side figures, not what a person sees on screen. We drew a line at 800 milliseconds for slow.
Before the cache, the four slowest pages took between 281 and 565 milliseconds. After it, the same four pages take between 29 and 75 milliseconds. Every other page on that console was already under 100 milliseconds, so it got no cache at all. None of the four had ever crossed our line, but they stood out, and now they sit in the same band as everything else.
What is next
- Measure GYTE and Voice Core the same way, with a before and after, and publish the numbers here.
- Read the access logs of the three remaining systems and cache only the pages the logs point at.
- Bring every new product onto the same instance, with the same client module and the same rule that the cache is optional.
One cache for the whole platform is not a grand piece of engineering. It is a small instance, a short client module and a rule about what may be stale. That is the point. Performance is part of what we promise, and the way to keep that promise is to make the fast path boring.
Motsamai Mokgele Mokhomo Sr. sets the vision and strategy for the VOIMAR telco stack that this cache serves: platforms VOIMAR runs itself, fast enough for the state and for business.
Zuko Leonard Rabotapi set the engineering brief for one central cache applied wherever the data is biggest, starting with Voice Core and call rating, and the platform team brought it up with GYTE and Voice Core on it the same morning.

