views:

31

answers:

0

Hi all, For a personal project ive created an asynchronous TCP socket server that has two types of clients, listeners and senders. Sending clients are iphones and write data about 5 times per second, which is then relayed to listening clients.

This has worked fine so far, being fast and efficient, but for scalability and stability im thinking about moving to a tried and tested webserver and using something like persistent http connections or BOSH to deal with the large amount to data received from sending clients. I know there are many more options as well (Perhaps servlets, although Im not very familiar with them).

Before I choose any approach though Id like to know if anyone has any similar experience and what the advantages or disadvantages of any one approach are?

Thanks.