Request objects should have a reference to the ByteBuffer rather than getting passed a fully parsed Json object.
This improves the situation where there's a gateway service which wants to read a few fields, such as a header rather than to parse the entire message. This would significantly reduce parsing for messages.
The implementation of the route, target and token methods should use event based parsing.
Request objects should have a reference to the ByteBuffer rather than getting passed a fully parsed Json object.
This improves the situation where there's a gateway service which wants to read a few fields, such as a header rather than to parse the entire message. This would significantly reduce parsing for messages.
The implementation of the route, target and token methods should use event based parsing.
Has to be benchmarked.