Upload
mathieu-carbou
View
8.839
Download
2
Embed Size (px)
DESCRIPTION
Montreal JUG, 1st December 2011
Citation preview
Site: http://lab.ovea.com/Blog: http://blog.mycila.comMail: [email protected]
redis.io
Mathieu Carbou, 01/12/2011
https://github.com/Ovea/conf-redis
montreal-jug.org
Site: http://lab.ovea.com/Blog: http://blog.mycila.comMail: [email protected]
1. No-SQL DB2. key-value3. Client-server4. Many languages5. Performance !6. Easy to use !
Overview
Site: http://lab.ovea.com/Blog: http://blog.mycila.comMail: [email protected]
1. Data structures2. Atomic ops3. Replication4. Persistence / Volatile5. Pipelining6. Publish / Subscribe7. Bytes / Characters8. Debug
Features
Site: http://lab.ovea.com/Blog: http://blog.mycila.comMail: [email protected]
1. Scripting support (LUA)2. Clustering3. Server events
Coming soon...
Site: http://lab.ovea.com/Blog: http://blog.mycila.comMail: [email protected]
1. GitHub2. Craigslist3. Blizzard4. Digg5. StackOverflow6. Twitter7. Flickr
Who is using...
Site: http://lab.ovea.com/Blog: http://blog.mycila.comMail: [email protected]
1. GitHub2. Craigslist3. Blizzard4. Digg5. StackOverflow6. Twitter7. Flickr
Who is using...
Site: http://lab.ovea.com/Blog: http://blog.mycila.comMail: [email protected]
1. Storage2. Caching3. Clustering4. Messaging system5. Synchronization6. ...
For what ?
Site: http://lab.ovea.com/Blog: http://blog.mycila.comMail: [email protected]
http://try.redis-db.com/
Tutorial
Site: http://lab.ovea.com/Blog: http://blog.mycila.comMail: [email protected]
1. redis-server2. redis-cli3. Full list: http://redis.io/4. Useful: redis-cli monitor
Commands
Site: http://lab.ovea.com/Blog: http://blog.mycila.comMail: [email protected]
https://github.com/xetorthio/jedis
<dependency> <groupId>redis.clients</groupId> <artifactId>jedis</artifactId> <version>2.0.0</version></dependency>
jedis
Site: http://lab.ovea.com/Blog: http://blog.mycila.comMail: [email protected]
1. Transactions2. Pooling3. Pipelining4. Publish/Subscribe5. Sharding6. Scripting
Features
Site: http://lab.ovea.com/Blog: http://blog.mycila.comMail: [email protected]
Jetty Session clustering
https://github.com/Ovea/jetty-session-redis/
Use Cases