[AWS] AWS.Server.Push Preventing lockups?

Joseph Montanez jmontanez at gorilla3d.com
Sun Aug 7 09:38:34 CEST 2011


If I use Send_To and try to send to a disconnected client, my task
locks up. This is also true when the server has a high load of fickle
clients or when you have a client with a bad disconnect. This is
probably more of an Ada problem then AWS, but I am not sure how to
solve this. My guess would be, to add a SELECT to allow a timeout,
which I tried but it didn't seem to work. In the end I would like the
prevent aws from becoming locked.

The code I am using is based on the WS demo and my modified code is
located at https://github.com/gorilla3d/ada-comet-chat

I've been using wget to open the connections to the push server. While
they all spawn (using mash.sh) and then using killall -9 wget to get
the server to lockup.

-- 
Joseph Montanez
Web Developer
Gorilla3D
Design, Develop, Deploy


More information about the AWS mailing list