I haven't used sockjs, but from what I can see: Simpleio doesn't implements all the transports, it does xhr polling only. Client of simpleio is tiny compared to any other implementation. This leads to simplicity and ease of implementing in different languages, f.e. native ios/android clinets are in work.
The price of not using websockets is not big for normal applications, where delivery speed +- 500 ms does not matter, because to reduce reconnects amount I multiplex messages per default for 500ms on the client and server. This can be adjusted of course, I still don't think the reconnect overhead is sooo huge, because of keep alive. So the best thing about simpleio: 1. tiny codebase 2. robust connection, which works EVERYWHERE 3. reliable delivery by design Not the goals are: - super message protocols - super fast data transfer - support for every possible transport protocols Simpleio usecases are: - chats - notifications from server to client Not simpleio usecases: - superfast transfering of huge volumes of data - low latency realtime communication like for realtime games (f.e. something like NFS ...) Am 08.07.2013 um 18:04 schrieb Eric Mill <[email protected]>: > Hi Oleg, > > Could you describe how simpleio would be preferable to using sockjs? It was > also borne out of frustration with socket.io, and I've had a great experience > with it. > > -- Eric > > > On Mon, Jul 8, 2013 at 9:27 AM, Oleg Slobodskoi <[email protected]> > wrote: > Forgot to mention, that in-memory and mongodb storage adapters are already in > the package. > > > Am 08.07.2013 um 15:01 schrieb Oleg Slobodskoi <[email protected]>: > >> Hello there :) >> >> I have recently started a new project after lots of frustration with >> socketio. Simpleio is not a full replacement of all the features of >> socketio, but its actually everything one might need to create chatty like >> messaging on any hosting using a long polling which works everywhere. Most >> important design goals are: >> support for router/balancer without sticky sessions (f.e. Heroku) >> optimized for horizontal scaling >> reliable message delivery (built-in delivery confirmation) >> multiplexing on the server and client >> lightweight client (appr. 2.5 kb minified and gzipped) >> simple client spec, which can be implemented easily in any language >> Native clients for anroid and ios are will be usable in some weeks. >> >> Best, >> Oleg >> >> http://github.com/kof/simpleio >> >> >> >> -- >> -- >> Job Board: http://jobs.nodejs.org/ >> Posting guidelines: >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> You received this message because you are subscribed to the Google >> Groups "nodejs" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/nodejs?hl=en?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "nodejs" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> > > > -- > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > -- > konklone.com | @konklone > > -- > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
