<- Back to Work
Case Study

Central Calculator Engine

A centralized financial logic engine powering financial calculators across 270+ production client applications. Simplifies maintenance by housing algorithms in a single deployable core.

Node.jsMongoDBNext.jsExpress.js
Overview
Central Operations
00:0008:0016:0024:00
Uptime / Health
99.9%
Uptime
Applications270+
Uptime99.9%
Average< 40ms
270+Applications
< 40msAverage
99.9%Uptime
1Core
👥
270+Applications Powered
⚙️
1Core Engine (Multi-tenant)
🕒
< 40msAverage Latency
🕒
99.9%Uptime Maintained

The Challenge

  • Calculators were built separately in each application as isolated components.
  • Frequent code duplication and inconsistent logic.
  • Version mismatch and calculation discrepancies.
  • High maintenance effort and deployment conflicts.
✔️

The Solution

  • ✔️Built a centralized, highly-optimized calculation engine.
  • ✔️Dynamic formulas and rules stored in MongoDB.
  • ✔️Versioned engine with backward compatibility.
  • ✔️Single deployment ensures consistency across all apps.
  • ✔️Real-time updates without client redeployments.

Key Features

// Feature 01

Centralized formula evaluation

engine

// Feature 02

Declarative dynamic rules

in MongoDB

// Feature 03

Strict semver-based API

versioning

// Feature 04

Redis cache layer

for sub-40ms speed

// Feature 05

Multi-tenant rule deployment

safety

// Feature 06

High density microservice

design

Project Gallery

Project Impact

+ L00.METRIC
+ R00.STAT
+ B50.SYS
+ DATA.SEC
270+Applications Powered
1Core Engine (Multi-tenant)
< 40msAverage Latency
99.9%Uptime Maintained

What I Learned

01

Versioning is Critical

Centralizing systems requires strict versioning and backward compatibility to prevent breaking client applications.

02

Performance is Everything

Caching, indexing, and query optimization are key to maintaining sub-40ms latency at scale.

03

Design for Change

A flexible rule engine and dynamic configuration layer future-proof the system for business changes.

+ CTA.01
+ END.SECTION
Open for projects

Have a similar
project in mind?

Let's build a scalable, high-performance solution from architecture to deployment.

let's ship it 🚀
4+
Projects
3+
Clients
99%
Uptime