Go to file
Seth Call 6f3eb7bf77 * updating ruby version 2013-08-18 02:57:25 +00:00
bin * fixing startup of websocket-gatceway 2013-03-14 23:54:20 -05:00
config * increased messaging for leave/join situations and reconnect support for VRFS-484 2013-08-07 10:38:35 -05:00
features * initial commit of websocket gateway. login working, still working on login to jam session 2012-08-16 22:22:31 -05:00
lib * null music session bug messing up production 2013-08-07 12:36:47 -05:00
log * VRFS-190; gitignore/remove accidentally added log files 2013-01-05 02:40:05 -06:00
script/package * -f so no error if not present 2013-01-16 22:51:04 -06:00
spec * increased messaging for leave/join situations and reconnect support for VRFS-484 2013-08-07 10:38:35 -05:00
.gitignore * VRFS-190; gitignore/remove accidentally added log files 2013-01-05 02:40:05 -06:00
.pg_migrate * websocket gateway allows login to server and to session 2012-08-23 21:46:58 -05:00
.ruby-gemset * websocket-gateway to use ruby 2.0.0 2013-05-30 21:00:12 -05:00
.ruby-version * updating ruby version 2013-08-18 02:57:25 +00:00
Gemfile * VRFS-424 pointing to int.jamkazam.com for gem server 2013-07-19 16:39:29 -05:00
Guardfile * initial commit of websocket gateway. login working, still working on login to jam session 2012-08-16 22:22:31 -05:00
README.md * login and login_jam_session working with tests. logging cleaned up 2012-08-26 13:42:22 -05:00
Rakefile * initial commit of websocket gateway. login working, still working on login to jam session 2012-08-16 22:22:31 -05:00
build * remove vendor/bundle 2013-01-14 00:03:46 -06:00
jam_websockets.gemspec * initial commit of websocket gateway. login working, still working on login to jam session 2012-08-16 22:22:31 -05:00
jenkins * fixing to make arch sniff 2013-07-19 20:45:59 -05:00
migrate.sh * websocket gateway allows login to server and to session 2012-08-23 21:46:58 -05:00

README.md

TODO & DESIGN LIMITATIONS

  • !!!! lock up multi-threaded unsafe data structures

  • The rabbitmq connection isn't pooled. Throughput limitation (but could be resolved by just starting more instances of JamWebsocket behind Haproxy)

  • The database connection isn't pooled. Throughput limitation (but could be resolved by just starting more instances of JamWebsocket behind Haproxy)

  • We make just one user topic registration and session registration for all users/sessions. If ever we had 10 of servers, it could be wasteful. It just depends on how fast the bogus messaging can be ignored

  • The database connection is pooled.

  • The user model is stored in memory, meaning periodically it should be reloaded from the database (in case a user was marked inactive and you want them knocked out of the system)

  • The user could easily join to multiple sessions. Currently, though, the ClientContext object only tracks one jam session topic subscription. This is minimial to change.

  • peek logic not implemented on server for protoc messages; this could be done to save cost of deserialization and serialization for session/user directed messages