although it's cliche
(in the way that senior engineers should have known),
still worth jotting down a note here.
Design Principle
- Clear separation of concerns
- Garbage free in steady state running
- Lock-free, wait-free, and copy-free in data structures in the message path
- Repsect the Single Writer Principle
- Major data structures are not shared
- Don't burden the main path with exceptional cases
- Non-blocking in the message path
Succint into 3 things:
- System Architecture
- Data structures
- Protocols of interactions
Data structures:
- Map
- IPC Ring Buffers
- IPC Broadcast Buffers
- ITC Queues
- Dynamic Arrays
- Log Buffers
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.