Hacker News new | ask | show | jobs
by heavenlyblue 2863 days ago
>> Zproc uses a Server, which is responsible for storing and communicating the state. >> >> This isolates our resource (state), eliminating the need for locks.

So you've just invented a new name for a coordinator process and called it a new fashion in computation?

2 comments

No, he's reinvented multiprocessing... pickling data structures across multiple processes.

Just without the 'niceties'.

You're probably right, but see my comment above: not only is MP possibly superior at being a picking/arbitrating server, but it also supports taking advantage of copy-on-write semantics on Unix-ish systems to transfer memory to children at startup in constant time with no pickling/unpickling necessary.
I agree, multiprocessing will be more performant than ZProc, much more thought has gone into it than the simple 0mq wrapper that is ZProc.
Exactly.
Great, now just "stating" how things work is equivalent to inventing them!