How We Built a Global Low-Latency App Without a Traditional Backend

https://hackernoon.imgix.net/images/backend-of-a-low-latency-web-app-being-reviewed-by-a-group-of-engineers-hunched-over-a-screen-p4bbmu4k4tl43ttwbwadcbxi.png

How a small trading-practice web app got to a P99 under 200 ms in every region without a "real" backend — a technical walkthrough of the parts you can copy.


The problem: chart apps are secretly data apps

ChartMini is a browser-based tool where traders practice reading candlestick charts without knowing the ticker, timeframe, or date. From the outside, it looks like a small chart widget. Under the hood, it's a data-delivery problem dressed up as a UI.

A single practice session pulls a lot of price data across multiple timeframes, and users hop between assets fast enough that any per-request cold start above ~300 ms is noticeable. Multiply that by ten locales, an SEO surface of a few hundred articles, and a bill you actually want to look at, and you end up with the same architecture problem a lot of small B2C apps have:

How do you serve...

Copyright of this story solely belongs to hackernoon.com. To see the full text click HERE