codingchili / chili-core

Reactive framework for creating transport & storage-transparent microservices with Vert.x
https://codingchili.github.io/chili-core/
MIT License
14 stars 5 forks source link

event based parsing for route(), target() and token() #256

Open codingchili opened 4 years ago

codingchili commented 4 years ago

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.