[Serdev] So who/what is SER for, anyway?
Martin Hoffmann
hn at nvnc.de
Fri Jan 26 11:05:45 UTC 2007
Dragos Vingarzan wrote:
>
> I haven't seen this thoroughly, but can I then exchange messages in
> memory, without having to encode/decode them? With the current
> multi-cores, it is quite often that you run multiple nodes on the same
> machine, so why not do this?
Dunno if I like this idea, but technically, SER is doing that already.
This more or less only works because the shared memory segments are
created before forking, so their addresses are the same in all
processes. If you want to use them between independent processes, you
need relative pointers with a lot of pointer arithmetics. That usually
is not unlike juggeling with knives.
Regards,
Martin
More information about the Serdev
mailing list