-
Notifications
You must be signed in to change notification settings - Fork 890
Design Principles
mjpt777 edited this page Nov 2, 2014
·
20 revisions
To achieve low-latency with minimal variance, while achieving high throughput, it is important to define a set of design principles that guide the development. When a trade off is required then the design principles help guide the decision in choosing between competing alternatives.
Many design principles come to bear on any implementation. Not all design principles require trade-offs but many do. The following set of design principles are key to the design of Aeron and the likely to drive most trade-offs.
- Apply Smart Batching in the message path
- Strict Separation of Concerns
- Garbage free in steady state running
- Wait-free algorithms in the message path
- Avoid unnecessary data copies
- Respect the Single Writer Principle
- Prefer unshared state
- No exceptional cases in the message path
- Non-blocking IO in the message path
Stuff
Stuff
Stuff
Stuff
Stuff
Stuff
Stuff
Stuff
Stuff