Daniel Shaw
8cab86af1c
Fixes #520 . Updates to latest node_redis.
2011-10-15 11:43:48 -07:00
Daniel Shaw
c6b3549b61
Minimal RedisClient configs.
2011-09-12 00:20:40 -07:00
Daniel Shaw
1fa158c663
Merge with learnboost/master
2011-08-03 13:22:36 -07:00
Daniel Shaw
dfebed6c2f
Fix typo. Also mentioned in @dluxemburg's #341 .
2011-07-12 02:56:48 -07:00
Arnout Kazemier
167da44211
Fixes #333
2011-07-04 22:51:00 +02:00
Guillermo Rauch
f9c210c11c
Added expiration support to RedisStore.Client#destroy through EXPIRE command.
2011-06-29 11:37:58 -03:00
Guillermo Rauch
06421dd008
Added expiration support to MemoryStore.Client#destroy.
2011-06-29 11:37:26 -03:00
Guillermo Rauch
af7c7141f0
Changed; for consistency across stores, undefined becomes null.
2011-06-29 11:36:14 -03:00
Guillermo Rauch
2fd38866d2
Finished redis store
2011-06-29 07:53:51 -03:00
Guillermo Rauch
4398271ff5
Added MemoryClient#has, MemoryClient#del
...
Refactored MemoryClient#destroy
2011-06-29 07:51:54 -03:00
Guillermo Rauch
a2f8fb4970
Implemented RedisStore.Client#get and RedisStore.Client#set
2011-06-27 16:21:32 -03:00
Guillermo Rauch
a4ef10d6a2
Added missing redis require.
2011-06-27 16:14:47 -03:00
Guillermo Rauch
91e43064f3
Added Redis store.
...
- Simply leverages pub/sub for nodes communication
- Makes sure own node doesn't consume its own messages
- Optionally uses msgpack to encode data for higher speed than JSON
- Opens two connections per node (one in pub/sub mode, one for normal redis)
2011-06-27 15:55:33 -03:00
Guillermo Rauch
0b75d09090
Refactored Memory.Client
2011-06-27 15:42:49 -03:00
Guillermo Rauch
95e787dcc5
Removed all transport-specific methods from Memory store
...
Added publish/subscribe placeholders that basically do nothing.
2011-06-27 15:40:32 -03:00
Arnout Kazemier
041b5655f9
Delete they client instead of setting it to null. And make sure the client exists
...
before we do .disconnect
2011-06-22 22:43:39 +02:00
Guillermo Rauch
b16d8e96b1
Make MemoryStore#set fn parameter optional.
2011-06-16 11:10:47 -03:00
Guillermo Rauch
32cd5d7d55
Fixed ugly hack.
2011-06-12 07:58:05 -03:00
Guillermo Rauch
19a0fb6912
Always store consumer function.
2011-06-11 18:24:08 -03:00
Guillermo Rauch
be8e6ab05e
Make sure to auto-join client to '' when handshaking.
...
Renamed internal clients dictionary to clientsMap to avoid collisions with
Store#clients.
2011-05-24 23:26:32 -07:00
Guillermo Rauch
07f5d1ff64
Added MemoryStore#clients.
...
Added MemoryStore#join.
Added MemoryStore#leave.
2011-05-21 20:57:41 -07:00
Guillermo Rauch
7f788e1404
Fixed; added callback support to MemoryStore#publish.
2011-05-18 20:37:24 -07:00
Guillermo Rauch
f65d381961
Changed; hide away message publishing behind message, hearbeat methods added to
...
the Store.
Added support for reason passing in the store callbacks.
2011-05-17 16:08:13 -07:00
Guillermo Rauch
5e61a3bd5a
Changed; publish the disconnect event after the disconnect-force internal event.
2011-05-16 19:43:08 -07:00
Guillermo Rauch
4f23e97310
Changed; make sure to clean up client prior to emission of disconnection events.
2011-05-14 19:22:06 -07:00
Guillermo Rauch
eb77c5e01a
Added disconnction handler in Memory store.
2011-05-08 20:35:22 -07:00
Guillermo Rauch
8cd476295a
Added Store disconnect method
2011-05-07 18:24:29 -07:00
Guillermo Rauch
c2d0774d46
Removed const (slow)
2011-05-06 15:12:51 -07:00
Guillermo Rauch
1514af064f
Socket.IO 0.7-pre
2011-05-05 08:49:40 -07:00