lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sun, Dec 12, 2010 at 3:56 PM, Arseny Vakhrushev
<arseny.vakhrushev@gmail.com> wrote:
>
> On 2010-11-12, at 01:16, Peter Sommerfeld wrote:
>
>> Arseny Vakhrushev wrote:
>>> The only concern I have is that, according to my tests, internal communication between LuaJIT threads within a process is slightly faster than communication between processes.
>>
>> Can you provide some rough numbers about the differences ?
>> No details needed, just the range.
>>
> The rough number is about 10x, more or less. For example, the system handles 200 thousand small internal RPCs comparing to 20 thousand external RPCs over the network on an average desktop.


I thought the choice was between inter-thread and inter-process communications.

this sounds like the exact purpose of ZeroMQ, which lets you use the
same API for intra process, inter-process and inter-host message
passing.


-- 
Javier