[Monetdb-developers] MapiClient asynchronous interface?

Fabian Groffen Fabian.Groffen at cwi.nl
Sun Nov 19 10:58:29 CET 2006


On 18-11-2006 19:14:31 +0100, Johann Borck wrote:
> Fabian Groffen wrote:
> >
> >
> > Ok, but in this situation, it looks to me as if you would benefit from a
> > "real" embedded version of MonetDB, where you just talk to a library
> > instead, omitting all costs of Mapi/TCP and simply stick to method calls.
> >
> Is this what's mentioned in the docs/examples as embedded mode, or even
> lower level? I thought about using it embedded, but what scared me a bit
> is that locking is turned of completely when using it this way, and so
> big transactions could make smaller ones wait. OTOH real big
> transactions are not very probable for my usecase and the embedded
> version is probably very very fast :). 

Unfortunately the current "embedded" MonetDB is nothing but a
"limited-to-one-connection" server, thus avoiding the need for locks.
It still requires Mapi TCP connections and a running daemonised server,
hence does require context switches and TCP send/receive actions.




More information about the developers-list mailing list