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 <ambra...@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 capnproto+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/capnproto/ca16c240-365a-4f53-ab73-552b175a444eo%40googlegroups.com > <https://groups.google.com/d/msgid/capnproto/ca16c240-365a-4f53-ab73-552b175a444eo%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/capnproto/CAJouXQ%3DEukjqMUWXq6RBuVhzED7xJ20R2J_Mms%3DQX3S%2Bh6PeKA%40mail.gmail.com.