unlinker has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to understand implementations/options for server-side Websocket endpoints - particularly in perl using PSGI/Plack and I have a question: Why are all server-side websocket implementations based around event-driven PSGI servers (Twiggy, Tatsumaki..etc.)?
I get that websocket communication is asynchronous, but a non-event driven PSGI server (say Starman) could spawn an asynchronous listener to handle the websocket side of things. I have seen (but not understood) PHP implementations of Websocket servers, so why cant the same be done with PSGI without having to change the server to an event driven one?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Server-side Websocket implementations in non-event driven HTTP Server Environments
by Corion (Patriarch) on Jun 08, 2013 at 19:27 UTC | |
by unlinker (Monk) on Jun 09, 2013 at 02:44 UTC | |
by Corion (Patriarch) on Jun 09, 2013 at 06:57 UTC | |
Re: Server-side Websocket implementations in non-event driven HTTP Server Environments
by Anonymous Monk on Jun 08, 2013 at 22:57 UTC |
Back to
Seekers of Perl Wisdom