NATS: Parser

NATS: Parser This parser is tighlty coupled to netty. Netty is optimised to minimize garbage and to reuse allocated objects/ memory. This parser tries to piggyback on that optimisation. The parser will be called after each read operation on the tcp socket and will be important for the speed of the system. Protocol NATS uses a text based protocol on top of TCP. The protocol is described here. The client will receive following operations:

Keep reading...

NATS

Reimplement NATS This project is about implementing a simple NATS client and server. The first version from Derek Collision written in ruby on a weekend was handling around 150k msg/s. I aim to achieve the same - but not in a weekend. I will use Clojure for the project and learn netty to implement the transport layer. The code is available on my github page here. Client Implement a limited NATS client.

Keep reading...