summaryrefslogtreecommitdiff
path: root/src/server/message_parser.zig
Commit message (Collapse)AuthorAge
* Optimize PUB and HPUB parsingRobby Zambito2026-01-05
| | | | | | | This will try to take better advantage of the buffered reading. Instead of pushing one byte at a time to the array list for each section, find the end index for each section, then alloc the arraylist and copy the data into it all at once.
* Update tests to work againRobby Zambito2026-01-05
|
* 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.
* cleanup importsRobby Zambito2026-01-03
|
* Fix parse errors, ownership errors.Robby Zambito2026-01-03
|
* Restructuring parserRobby Zambito2026-01-03
| | | | Adding tests fore everything
* Subject validationRobby Zambito2026-01-02
|
* Remove unnecessary explicit enumRobby Zambito2026-01-02
| | | | This can be computed (as it is now)
* Fix possible race conditionRobby Zambito2026-01-02
| | | | | | | since the queue was being set in an async task and we were then calling send asserting that the queue was set, we could have triggered a panic. didn't run into it but seemed likely to cause issues in the future. also compute the buffer size for operators at comptime.
* Add branch hints for high performance messaging.Robby Zambito2026-01-02
|
* Fix connect parsingRobby Zambito2026-01-02
|
* Don't assume capacityRobby Zambito2026-01-02
|
* remove debug logRobby Zambito2026-01-02
|
* Rework pub and hpub parseRobby Zambito2026-01-02
| | | | support hpub in general, and properly support reply subjects
* (no commit message)Robby Zambito2026-01-02
|
* Much better cleanup, still fast B)Robby Zambito2026-01-02
|
* Cleanup on errorRobby Zambito2026-01-02
|
* reorganize but crashingRobby Zambito2026-01-02
| | | | | not sure why, seems like i'm using the right allocators everywhere? need to take another pass at this later.
* Remove dead commentsRobby Zambito2026-01-01
|
* gracefully exitRobby Zambito2026-01-01
| | | | | simplify code clean up dead code
* Reorganized thingsRobby Zambito2026-01-01
|
* Simplified a ton of things and cleaned up ownershipRobby Zambito2026-01-01
|
* some cleanup and freeingRobby Zambito2026-01-01
|
* Rename assert to expectRobby Zambito2026-01-01
| | | | Assert implies panic, expect implies error
* Fix sub parse bugRobby Zambito2025-12-31
| | | | | Was accidentally consuming one more byte than I was expecting when reaching the end of the second term. This was causing the parser to work properly in the case that a queue group was specified, but failing and consuming the next message (usually a PING) as the SID.
* Parsing cleanupRobby Zambito2025-12-29
|
* publish worksRobby Zambito2025-12-29
| | | | starting to use errors instead of unreachable for stream parsing
* (no commit message)Robby Zambito2025-12-29
|
* made some progress on subscriptionsRobby Zambito2025-12-10
|
* Made progress, but not perfect.Robby Zambito2025-12-08
| | | | | the message isn't crossing container boundaries, but it works in the test!
* (no commit message)Robby Zambito2025-12-06
|
* (no commit message)Robby Zambito2025-12-02
|
* (no commit message)Robby Zambito2025-12-02
|
* Can handle PUBRobby Zambito2025-11-25
|
* (no commit message)Robby Zambito2025-11-23
|
* (no commit message)Robby Zambito2025-11-21
|
* Process pubRobby Zambito2025-11-19
|
* Parse connect properlyRobby Zambito2025-11-19
|
* (no commit message)Robby Zambito2025-11-19