--
You received this message because you are subscribed to the Google Groups "Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capnproto+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/capnproto/ca16c240-365a-4f53-ab73-552b175a444eo%40googlegroups.com.
Hi Dmitry,You should be able to accomplish this by writing a custom implementation of VatNetwork. You can look at TwoPartyVatNetwork for an example.That said, if you're thinking about optimizations like lock-free ring buffers, you may find that the RPC system itself adds too much overhead for your use case, due to the bookkeeping it does that is primarily designed to compensate for latency over a network -- which you don't really have. It might make more sense to use Cap'n Proto's serialization layer directly and implement your own work queue around that.-Kenton
On Wed, Jul 1, 2020 at 11:47 AM Ambrase <ambr...@gmail.com> wrote:
Is it possible to use Capnproto RPC messaging to deliver function calls through lockfree ring buffer between threads?--There are 2 ring buffers (client -> server, server->client, 1 to many scenarios are also possible).I'm thinking about how to use capnproto RPC messaging to pack a call to an object's interface from another thread and pass it through this interthread transport.Any ideas or examples of how to approach this? Or Capnproto isn't suitable for such a task?Many thanks
You received this message because you are subscribed to the Google Groups "Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capn...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to capnproto+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/capnproto/fccb2c61-8094-4858-97ae-7235b194ff19o%40googlegroups.com.