Mirexa wiki
Mirexa stores market data — candles (OHLCV bars) and ticks (individual trades) — for trading and research. It takes data live as it arrives, keeps it durable before acknowledging it, serves it back per stream with low latency, pushes it to subscribers, accepts corrections and history back-fills, tracks gaps against each market's trading calendar, derives longer bars from shorter ones, and runs on one node or as a replicated cluster.
This wiki documents what the system does, how it does it and why. Every page names the source files it was checked against and the tests that prove its claims, so any statement here can be followed to its evidence.
Where to start
| If you want to… | Read |
|---|---|
| Understand what Mirexa is and how it thinks about data | What Mirexa is, then the rest of Concepts |
| Get a node running and write your first candles | Quickstart |
| Program against it from Go or Python | Writing data, Reading data, Go SDK, Python SDK |
| Run it in production | Operations, starting with Running a node and the configuration reference |
| Run a cluster | Cluster architecture, then Operating a cluster |
| Know what an acknowledgement really promises | Durability and acknowledgements |
| Write a client in another language | Wire protocol and Error codes |
| Understand or change the engine | Internals, starting with The write path |
| Know why it was built this way, and what it does not do | Design decisions, Known limitations |
Sections
- Concepts — streams, records, gaps and calendars, corrections, derived streams, durability.
- Guides — task-oriented walkthroughs: writing, reading, subscribing, bulk loading, filling gaps, deriving bars.
- Operations — installing, configuring, deploying, securing, monitoring and recovering a node.
- Cluster — partitions, the control plane, replication, moving data, failover, membership, reconciliation.
- Internals — the write-ahead log, hot cache, chunk format, indexes, read path, recovery, materialization.
- Reference — the wire protocol, error codes, permissions, SDKs, command-line tools, APIs, metrics, file formats, glossary.
- Design — the decisions behind the system, its known limitations, and the literature it draws on.
The full page tree is in SUMMARY.md. Terms are defined in the glossary.
How this wiki is kept true
The pages are Markdown in the repository under docs/wiki/, and the website is built
from the same files. Writing for the wiki sets the rules: claims are
verified against source, each page lists its sources and the tests behind it, and a change
to the code updates the page that describes it in the same commit.
wiki_test.go checks the mechanics on every test run — every
page is in the navigation tree, every link and anchor resolves, every footnote is defined,
and every test a page cites exists.