If you can tolerate the overhead of JNI it sounds like zeromq (zeromq.org) 
might fit the bill: though as far as i know there is no built in back 
pressure other than a high watermark on queued messages for a socket. 


On Friday, March 30, 2018 at 9:55:23 AM UTC+1, Roman Leventov wrote:
>
> I think about the possibility of building an asynchronous application with 
> back pressure where some upstream operators are in Java and some downstream 
> ones are in C++. For this purpose, some queues would be needed to pass the 
> data between Java and C++ layers. It seems that porting JCTools's bounded 
> array queues to off-heap should be doable, but I couldn't find existing 
> prototypes or discussions of such thing so maybe I overlook some inherent 
> complications with this idea.
>
> Did anybody think about something like this or has implemented in 
> proprietary systems?
>

-- 
You received this message because you are subscribed to the Google Groups 
"mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to