If you want something robust I'd recommend something like http-kit or Netty on the backend + using websockets (and a shim) directly on the frontend, or possibly browserchannel if you need to worry about firewalls and ancient browsers.
Socket.IO is a moving target intended for a single audience (not multiplatform). It's not going to win you more than you'll pay in bugs and performance issues in the long run. On Tuesday, July 16, 2013 10:07:34 PM UTC-7, Sean Corfield wrote: > > At work we're starting down the path of building a new piece of > functionality based on WebSockets and the external team we're working > with is a Node.js shop so their go to solution is Socket.IO and > they've produced a very nice front end in CoffeeScript and a prototype > back end on Node.js. > > I'd really like to have our back end on the JVM, of course, and so I'd > like to find a JVM-based Socket.IO solution that I use from/with > Clojure... > > This seems like a reasonable option: > > https://github.com/mrniko/netty-socketio > > A little bit of experimentation with lein-try (Thank you Ryan!) shows > that it's pretty easy to get a basic server up and running in the REPL > - and I was able to get several of their demos running unchanged > against Clojure, instead of their Java applications, so that was > promising. > > Are there other folks out there doing Socket.IO stuff with Clojure? > What approaches have you taken? > > Obviously, we could run Node.js and have it hit a Clojure-based REST > API to do the integration, and that might be less pain long term > but... > -- > Sean A Corfield -- (904) 302-SEAN > An Architect's View -- http://corfield.org/ > World Singles, LLC. -- http://worldsingles.com/ > > "Perfection is the enemy of the good." > -- Gustave Flaubert, French realist novelist (1821-1880) > -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.