yrift / jwebsocket

Automatically exported from code.google.com/p/jwebsocket
0 stars 0 forks source link

Server Side Session Table #26

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
We want to have a server side session table to which a client can re-connect in 
case of a connection loss or auto-reconnect after e.g. a proxy or LB idle 
timeout.

Original issue reported on code.google.com by fivefeetfurther@gmail.com on 19 Jul 2010 at 11:48

GoogleCodeExporter commented 8 years ago
This targetted to v0.11.

Original comment by fivefeetfurther@gmail.com on 19 Jul 2010 at 11:49

GoogleCodeExporter commented 8 years ago

Original comment by fivefeetfurther@gmail.com on 14 Oct 2010 at 2:30

GoogleCodeExporter commented 8 years ago
i added the interface called Store, with current implenation JDBCStore that 
stores the key/value pair in the MySQL database where key being the session id 
and value being the JSON format data. 

jWebSocket components either session mgmt, plugins, servers, channels etc.. can 
use this Store interface implementation or write custom implementation. 

the use of key-value pair system is favored for scalability reasons. Also the 
current JDBCStore implementation expects the table used to have 3 colums
1. key
2. value
3. applicationName (session - for session mgmt, channels- channel mgmt) etc..

Original comment by mailtopu...@gmail.com on 19 Oct 2010 at 12:33