Commit graph

14 commits

Author SHA1 Message Date
Nicholas Kariniemi
412bf29f57 Close up client channels properly on disconnect 2014-10-25 22:15:43 +03:00
Nicholas Kariniemi
5ee40a6471 Use version numbers instead of timestamps
Also:
- Don't acknowledge changes sent from the server to the client.
- Only send one message at a time to the server.

All of these changes bring this more in line with the differential sync paper.
2014-10-25 19:31:14 +03:00
Nicholas Kariniemi
58373496f0 Use transit for communication for possible speed improvements 2014-10-10 22:48:39 +03:00
Nicholas Kariniemi
b7b094b253 Refactor wip 2014-08-19 23:24:19 +03:00
Nicholas Kariniemi
becfb42627 Sync state using diffs instead of events 2014-08-10 20:55:26 +03:00
Nicholas Kariniemi
73d965f8f7 Use root URL for WebSocket connection (because Heroku) 2014-01-12 17:40:33 +02:00
Nicholas Kariniemi
d4753418ca Reconnect automatically when disconnected
- only send all server items when connecting initially
- on reconnect, send pending events (that couldn't be sent)
- rudimentary solution
2013-10-22 12:15:11 +03:00
Nicholas Kariniemi
48ccf9e447 Event to add grubs/recipes as list 2013-10-21 22:56:23 +03:00
Nicholas Kariniemi
9669f57fbb Remove disconnected clients 2013-10-09 21:57:50 +03:00
Nicholas Kariniemi
6bc7582255 Refactor server to use new core.async goodness 2013-10-01 10:53:32 +03:00
Nicholas Kariniemi
d4fbae9464 Recipes can be added 2013-10-01 10:53:31 +03:00
Nicholas Kariniemi
26035a5174 Production server 2013-08-25 00:32:56 +03:00
Nicholas Kariniemi
707fb9f22d Minor database refactoring 2013-08-18 14:13:55 +03:00
Nicholas Kariniemi
9943a58fd7 Put sources in src/clj[s], tests in test/clj[s] 2013-08-17 14:28:46 +03:00
Renamed from src-clj/grub/websocket.clj (Browse further)