Hello,
great job so far with your jsonrpcpp.
It's easy to use. One thing that came to me while using it was, that trying to use it with a server with
lots of parallel jsonrpc calls, the parser callbacks cannot be used in a multi-threaded environment because they lack synchronisation with the manipulation of the callback container. So if the callback library is changing, while there is heavy load on the line, this could cause some unexpected behaviour. Would be nice, if you might integrate this in a future release.
A second thing that would be nice to have is a callback wrapper for responses on the client side, to support asynchronous call handling.
I wrapped both of those things arround from outside so far.
If you need any assistance I'd be glad to help with a fork.
Best regards and keep going.
Hello,
great job so far with your jsonrpcpp.
It's easy to use. One thing that came to me while using it was, that trying to use it with a server with
lots of parallel jsonrpc calls, the parser callbacks cannot be used in a multi-threaded environment because they lack synchronisation with the manipulation of the callback container. So if the callback library is changing, while there is heavy load on the line, this could cause some unexpected behaviour. Would be nice, if you might integrate this in a future release.
A second thing that would be nice to have is a callback wrapper for responses on the client side, to support asynchronous call handling.
I wrapped both of those things arround from outside so far.
If you need any assistance I'd be glad to help with a fork.
Best regards and keep going.