13
Site: http://lab.ovea.com/ Blog: http://blog.mycila.com Mail: [email protected] redis.io Mathieu Carbou, 01/12/2011 https://github.com/Ovea/conf-redis montreal-jug.org

Redis Introduction

Embed Size (px)

DESCRIPTION

Montreal JUG, 1st December 2011

Citation preview

Page 1: Redis Introduction

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

Page 2: Redis Introduction

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

Page 3: Redis Introduction

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

Page 4: Redis Introduction

Site: http://lab.ovea.com/Blog: http://blog.mycila.comMail: [email protected]

1. Scripting support (LUA)2. Clustering3. Server events

Coming soon...

Page 5: Redis Introduction

Site: http://lab.ovea.com/Blog: http://blog.mycila.comMail: [email protected]

1. GitHub2. Craigslist3. Blizzard4. Digg5. StackOverflow6. Twitter7. Flickr

Who is using...

Page 6: Redis Introduction

Site: http://lab.ovea.com/Blog: http://blog.mycila.comMail: [email protected]

1. GitHub2. Craigslist3. Blizzard4. Digg5. StackOverflow6. Twitter7. Flickr

Who is using...

Page 7: Redis Introduction

Site: http://lab.ovea.com/Blog: http://blog.mycila.comMail: [email protected]

1. Storage2. Caching3. Clustering4. Messaging system5. Synchronization6. ...

For what ?

Page 8: Redis Introduction

Site: http://lab.ovea.com/Blog: http://blog.mycila.comMail: [email protected]

http://try.redis-db.com/

Tutorial

Page 9: Redis Introduction

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

Page 10: Redis Introduction

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

Page 11: Redis Introduction

Site: http://lab.ovea.com/Blog: http://blog.mycila.comMail: [email protected]

1. Transactions2. Pooling3. Pipelining4. Publish/Subscribe5. Sharding6. Scripting

Features

Page 12: Redis Introduction

Site: http://lab.ovea.com/Blog: http://blog.mycila.comMail: [email protected]

Jetty Session clustering

https://github.com/Ovea/jetty-session-redis/

Use Cases

Page 13: Redis Introduction

Site: http://lab.ovea.com/Blog: http://blog.mycila.comMail: [email protected]

redis.io

QUESTIONS ?