[erlang-questions] Client to concurrently receive and sending data on TCP socket
Thu Mar 16 23:18:56 CET 2017
I am looking into building an client application which connects to an
existing server via an TCP socket. When the application has established the
socket it must keep it open, and receive and send requests (concurrently)
around 2000 Req/s.
What is the best design for such an application? Like:
- active or passive socket ?
- gen_server ?
- how many processes ?
- supervison tree ?
I have found examples of server and clients, but not an client which
concurrently sends and receives data on the socket, does there exist
anything similar applications i can look at ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions