One program. Nothing to wait for.
Finstrm is a single Go program. It listens to every exchange, keeps the latest of everything in memory, and answers from there.
From the exchange to your request.
- 01
Listen
One WebSocket to each exchange, held open. If it drops, it reconnects by itself.
- 02
Translate
Every exchange names markets and shapes messages its own way. Each message becomes the same kind of event.
- 03
Hold
Workers write each event into memory: the latest price, the order book, recent trades, and candles built from them.
- 04
Answer
A request reads from memory and returns. A WebSocket subscriber gets each event as it lands.
- 05
Remember
Once a minute, history is saved to a SQLite file. After a restart, candles are loaded back before the first request.
What the software can do.
Pushed as hard as it will go on one laptop. Your own round trip is on the home page, timed live.
Measured in April 2026 on an Apple M1 Pro laptop with Go 1.23 and the client on the same machine: 50 connections kept open for 10 seconds, the rate limit switched off, 10 markets on 2 exchanges. These figures describe the software, not the live server, and they leave out your network.
| Endpoint | Requests / s | Typical | 95% | 99% | 99.9% |
|---|---|---|---|---|---|
| GET /v1/tickers/{symbol} | 83,873 | 0.43 ms | 1.43 ms | 2.37 ms | 5.6 ms |
| GET /v1/tickers/aggregate/{symbol} | 81,765 | 0.42 ms | 1.46 ms | 2.43 ms | 7.7 ms |
| GET /v1/orderbook/{exchange}/{symbol} | 81,114 | 0.45 ms | 1.43 ms | 2.30 ms | 7.2 ms |
| GET /v1/orderbook/aggregate/{symbol} | 74,113 | 0.49 ms | 1.71 ms | 2.45 ms | 3.6 ms |
| GET /healthz | 69,328 | 0.46 ms | 1.76 ms | 3.37 ms | 13.2 ms |
| GET /v1/trades, 50 trades | 55,825 | 0.62 ms | 2.24 ms | 3.29 ms | 5.1 ms |
| GET /v1/tickers | 45,483 | 0.67 ms | 2.69 ms | 5.23 ms | 20.4 ms |
| GET /v1/ohlcv, 50 candles | 37,377 | 0.83 ms | 3.50 ms | 5.28 ms | 10.9 ms |
| GET /v1/trades, 500 trades | 23,516 | 1.22 ms | 6.04 ms | 9.00 ms | 14.3 ms |
Why it is quick.
Readers never queue for a price
The price table is swapped whole each time it changes. A request picks up the current copy without taking a lock, however busy the writers are.
Storing a trade allocates nothing
Each market keeps its latest 512 trades in a fixed ring. A new trade overwrites the oldest, so there is nothing to clean up later.
No database in the request path
SQLite is written in the background and read once at startup. No request touches the disk.
A backlog cannot stall the feed
If the workers fall behind, events are dropped and counted, not queued. The exchange connections keep reading.
Few moving parts.
- Language
- Go
- Web framework
- None, the standard library
- Live data
- In memory
- History
- SQLite, one file
- Runs as
- One container on one server