[erlang-questions] How many processes is suit to one service in OTP system

Rapsey rapsey@REDACTED
Thu Mar 5 13:14:26 CET 2009


A process can receive and handle only one message at a time.


Sergej

On Thu, Mar 5, 2009 at 12:31 PM, fei wang <fei@REDACTED> wrote:

> Problem is I don't know whether it is sense....
> In fact I thing this problem is due to I don't know the message receiving
> in an erlang process is whether blocking or none-blocking.
> If it is none-blocking, two processes will do the same works as one.
>
> 2009/3/5 Rapsey <rapsey@REDACTED>
>
> If it makes sense, why not.
>>
>>
>> Sergej
>>
>> 2009/3/5 fei wang <fei@REDACTED>
>>
>>>  In an OTP application, if a service module will be  called  for a large
>>> times in a short term. Should I make one or more copy of the process, let
>>> them do one same thing?
>>>
>>> --
>>> --
>>>
>>> ---------------
>>>>>> 礼!
>>>
>>>
>>> 王飞
>>>
>>> _______________________________________________
>>> erlang-questions mailing list
>>> erlang-questions@REDACTED
>>> http://www.erlang.org/mailman/listinfo/erlang-questions
>>>
>>
>>
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://www.erlang.org/mailman/listinfo/erlang-questions
>>
>
>
>
> --
> --
>
> ---------------
>> 礼!
>
>
> 王飞
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20090305/ff22cd78/attachment.htm>


More information about the erlang-questions mailing list