Skip to content

Staffix documentation

Start with the quickstart: it runs in one command and is the shortest path to a working session. Then come back here.

Guides

guide what it answers
Examples What does a working Staffix program look like, and which one do I copy from?
Threading model Which thread runs my code, what may I share, and how do I get work off the message path?
Configuring a session How do I declare a session, wire it to the engine's parts, and make it behave the way my counterparty expects?
Session settings stores Where are my session settings kept, and how do I load them from YAML, the classpath or the environment?
Decoding a message How do I read an inbound message, and why does Staffix only decode the fields I asked for?
Decoding in depth Why decoding works this way, what a header field costs, and what do I use when typed bindings are not enough?
FIX versions and dictionaries Which package do I depend on, how do I run several FIX versions at once, and how do I generate one from a counterparty's dictionary?
Stores and loggers Where do my messages get persisted and logged, and how do I keep that off the latency path?
Tuning the async queue Where do I put the async store's and logger's queue, should it use huge pages, and what do the pretouch, batching and reader settings change?
Tuning for latency What do I actually change to get the numbers in Performance, and what does each one cost?
Efficient identifier usage How do I mint and decode ids without allocating, and do I want a UUID or a Snowflake?
Monitoring How do I get metrics, traces and dashboards without putting them on the message path?
Session plugins How do I attach my own behaviour to every message (stamp a field, audit, measure) without touching the application?
Network monitoring How long is the line to my counterparty, and do our clocks agree?
Alerting How do I get told when a session is down, a store falls behind, or my own condition goes wrong?
High availability How do I run a follower engine that takes over my sessions when the leader fails, and what does my counterparty see?
Runtime administration How do I log a session on, reset a sequence number, or reload settings on a running engine, over the protocol I actually use?
Spring Boot How do I declare the whole engine in application.properties?
Performance What are the measured latency and allocation figures, and how is that latency achieved?
Compared to other FIX engines How does Staffix differ from QuickFIX/J and Artio, and when should I pick one of them instead?