<div dir="ltr">i`m new to erlang but as far as i know you can`t share a socket in multiple process or threads<div>so you can accept and get raw data in single server and do processing in a server pool or something like that</div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, Aug 27, 2016 at 8:35 PM Arshad Ansari <<a href="mailto:arshadansari27@gmail.com">arshadansari27@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello there,<div><br></div><div>This is a generic question that I have regarding the ability of gen_server to handle requests concurrently. Does gen_server create a separate process per request (even when for each request coming from same socket connection) or does it create separate process per socket connection? If it is latter then there will be a single process responsible for handling large number of messaging coming from single socket. In that case, how to make sure that that single process can handle a very high load coming from a single connection?</div><div><br></div><div>I hope my question is clear!</div><div><br></div><div>Regards,</div><div>Arshad</div></div>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div>