summaryrefslogtreecommitdiff
path: root/src/server/Client.zig
Commit message (Collapse)AuthorAge
* RestructuringRobby Zambito2026-01-06
| | | | Add a bunch of tests for the client
* Use client allocator to own incoming messages to a clientRobby Zambito2026-01-06
|
* Simplified queue accessRobby Zambito2026-01-05
| | | | | | Also correctly move resetting the task to the end instead of defer. We don't want to reset the task in the case of an error, so shouldn't use defer.
* Add Payload typeRobby Zambito2026-01-05
| | | | | stores short message buffers in a colocated array, overflowing to an allocated slice when needed.
* Using separate queue for high throughput messagesRobby Zambito2026-01-04
|
* Probe for optimal network buffer size.Robby Zambito2026-01-04
| | | | | | | | | We want to match the underlying system socket buffer. Filling this buffer minimizes the number of syscalls we do. Larger would be a waste. Also changed parser to use enums that more closely match the NATS message types.
* holy moly goes way fast!!!Robby Zambito2026-01-03
| | | | like 150 mbps now
* Organize thingsRobby Zambito2026-01-03
Making it easier to use the server as a library