An ArrayPtr is just a pointer and a size. I don't know what you mean about making it point to Redis, which I thought was a database.
You can do writable mmap(), but it's tricky. You need to implement a custom subclass of MessageBuilder. See the comments in capnp/message.h for details. Note, though, that writable mmap() has an inherent problem that you can't perform atomic updates, which is usually important for any kind of database scenario. The membrane stuff is an object-capability design pattern used with RPC. It's probably not what you're looking for. -Kenton On Fri, Nov 30, 2018 at 1:36 AM <ralph.ba...@gmail.com> wrote: > Can't I just override ArrayPtr to acheive exactly that? When I look at the > public functionality of ArrayPtr I should be able to redirect writes/reads > to redis. > What is this membrane stuff, it is used for RPC but sound like > encapsulating interfaces for translation. > > BR > > -- > 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. > Visit this group at https://groups.google.com/group/capnproto. > -- 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. Visit this group at https://groups.google.com/group/capnproto.