Enviar pesquisa
Carregar
Redis to the Rescue?
•
2 gostaram
•
976 visualizações
Tim Lossen
Seguir
Negócios
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 27
Baixar agora
Baixar para ler offline
Recomendados
Redis to the Rescue?
Redis to the Rescue?
Tim Lossen
Redis vs Hazelcast
Redis vs Hazelcast
Abhishek Bhardwaj
Web session replication with Hazelcast
Web session replication with Hazelcast
Emrah Kocaman
Week3 lecture
Week3 lecture
Shaikha AlQaydi
The benefits of using an APM solution while performance testing
The benefits of using an APM solution while performance testing
DevOpsGroup
Redis cluster
Redis cluster
iammutex
Distributed applications using Hazelcast
Distributed applications using Hazelcast
Taras Matyashovsky
Redis in Practice
Redis in Practice
Noah Davis
Recomendados
Redis to the Rescue?
Redis to the Rescue?
Tim Lossen
Redis vs Hazelcast
Redis vs Hazelcast
Abhishek Bhardwaj
Web session replication with Hazelcast
Web session replication with Hazelcast
Emrah Kocaman
Week3 lecture
Week3 lecture
Shaikha AlQaydi
The benefits of using an APM solution while performance testing
The benefits of using an APM solution while performance testing
DevOpsGroup
Redis cluster
Redis cluster
iammutex
Distributed applications using Hazelcast
Distributed applications using Hazelcast
Taras Matyashovsky
Redis in Practice
Redis in Practice
Noah Davis
Apocalypse Later
Apocalypse Later
Tim Lossen
Embracing Failure
Embracing Failure
Tim Lossen
Embracing Failure
Embracing Failure
Tim Lossen
Enemy of the State?
Enemy of the State?
Tim Lossen
Beyond Devops
Beyond Devops
Tim Lossen
All Your Core Are Belong To Us
All Your Core Are Belong To Us
Tim Lossen
Podularity FTW!
Podularity FTW!
Tim Lossen
Cubic Foot Gardening
Cubic Foot Gardening
Tim Lossen
Dashboard Mania
Dashboard Mania
Tim Lossen
Event-Stream Processing with Kafka
Event-Stream Processing with Kafka
Tim Lossen
Into the Void
Into the Void
Tim Lossen
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Tim Lossen
Dashboard Mania
Dashboard Mania
Tim Lossen
JRuby vs. Rubinius
JRuby vs. Rubinius
Tim Lossen
The Smallest Cluster in the World
The Smallest Cluster in the World
Tim Lossen
Announcing Euruko 2011
Announcing Euruko 2011
Tim Lossen
Memory: The New Disk
Memory: The New Disk
Tim Lossen
Key-Value-Stores -- The Key to Scaling?
Key-Value-Stores -- The Key to Scaling?
Tim Lossen
Cassandra vs. Redis
Cassandra vs. Redis
Tim Lossen
An Introduction to Membase
An Introduction to Membase
Tim Lossen
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communications
karancommunications
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
dollysharma2066
Mais conteúdo relacionado
Mais de Tim Lossen
Apocalypse Later
Apocalypse Later
Tim Lossen
Embracing Failure
Embracing Failure
Tim Lossen
Embracing Failure
Embracing Failure
Tim Lossen
Enemy of the State?
Enemy of the State?
Tim Lossen
Beyond Devops
Beyond Devops
Tim Lossen
All Your Core Are Belong To Us
All Your Core Are Belong To Us
Tim Lossen
Podularity FTW!
Podularity FTW!
Tim Lossen
Cubic Foot Gardening
Cubic Foot Gardening
Tim Lossen
Dashboard Mania
Dashboard Mania
Tim Lossen
Event-Stream Processing with Kafka
Event-Stream Processing with Kafka
Tim Lossen
Into the Void
Into the Void
Tim Lossen
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Tim Lossen
Dashboard Mania
Dashboard Mania
Tim Lossen
JRuby vs. Rubinius
JRuby vs. Rubinius
Tim Lossen
The Smallest Cluster in the World
The Smallest Cluster in the World
Tim Lossen
Announcing Euruko 2011
Announcing Euruko 2011
Tim Lossen
Memory: The New Disk
Memory: The New Disk
Tim Lossen
Key-Value-Stores -- The Key to Scaling?
Key-Value-Stores -- The Key to Scaling?
Tim Lossen
Cassandra vs. Redis
Cassandra vs. Redis
Tim Lossen
An Introduction to Membase
An Introduction to Membase
Tim Lossen
Mais de Tim Lossen
(20)
Apocalypse Later
Apocalypse Later
Embracing Failure
Embracing Failure
Embracing Failure
Embracing Failure
Enemy of the State?
Enemy of the State?
Beyond Devops
Beyond Devops
All Your Core Are Belong To Us
All Your Core Are Belong To Us
Podularity FTW!
Podularity FTW!
Cubic Foot Gardening
Cubic Foot Gardening
Dashboard Mania
Dashboard Mania
Event-Stream Processing with Kafka
Event-Stream Processing with Kafka
Into the Void
Into the Void
Treasure Island -- Concurrency in JRuby
Treasure Island -- Concurrency in JRuby
Dashboard Mania
Dashboard Mania
JRuby vs. Rubinius
JRuby vs. Rubinius
The Smallest Cluster in the World
The Smallest Cluster in the World
Announcing Euruko 2011
Announcing Euruko 2011
Memory: The New Disk
Memory: The New Disk
Key-Value-Stores -- The Key to Scaling?
Key-Value-Stores -- The Key to Scaling?
Cassandra vs. Redis
Cassandra vs. Redis
An Introduction to Membase
An Introduction to Membase
Último
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communications
karancommunications
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
dollysharma2066
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdf
Paul Menig
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Dipal Arora
Call Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine Service
ritikaroy0888
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Delhi Call girls
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Admir Softic
Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023
Neil Kimberley
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 May
NZSG
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
lizamodels9
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
rajveerescorts2022
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
lizamodels9
John Halpern sued for sexual assault.pdf
John Halpern sued for sexual assault.pdf
AmzadHosen3
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
priyanshujha201
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Dave Litwiller
HONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael Hawkins
Michael W. Hawkins
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSM
Ravindra Nath Shukla
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League City
Eric T. Tung
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptx
Andy Lambert
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
amitlee9823
Último
(20)
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communications
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdf
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine Service
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 May
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
👉Chandigarh Call Girls 👉9878799926👉Just Call👉Chandigarh Call Girl In Chandiga...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
John Halpern sued for sexual assault.pdf
John Halpern sued for sexual assault.pdf
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
HONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael Hawkins
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSM
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League City
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptx
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Redis to the Rescue?
1.
Redis to the
Rescue? Berlin Buzzwords 2011-06-07
2.
Who • Tim Lossen
/ @tlossen • backend developer at wooga • Berlin, Germany
3.
4.
apps.facebook.com/happy-hospital
5.
Goals • 1 million
players per day (“DAU = daily active users”)
6.
Goals • 1 million
players per day (“DAU = daily active users”) • small production cluster - less operational overhead - cheaper
7.
Architecture
8.
9.
Data Model • user
= single Redis hash - each entity stored in hash field (serialized to JSON) • custom Ruby mapping layer (“Remodel”)
10.
{“level”: 4, 1220032045
u1 “xp”: 241} u1_pets [“p7”, “p8”] {“pet_type”: p7 “Cat”} {“pet_type”: p8 “Dog”} {“level”: 1, 1234599660 u1 “xp”: 22} u1_pets [“p3”] ... ...
11.
{“level”: 4, 1220032045
u1 “xp”: 241} u1_pets [“p7”, “p8”] {“pet_type”: p7 “Cat”} {“pet_type”: p8 “Dog”} {“level”: 1, 1234599660 u1 “xp”: 22} u1_pets [“p3”] ... ...
12.
Setup A (July
2010)
13.
Setup B (Nov
2010)
14.
Setup B (Dec
2010)
15.
Analysis • Redis virtual
memory not compatible with: - persistence - replication
16.
Setup B’ (Dec
2010)
17.
Setup C (Dec
2010)
18.
Setup D (May
2011)
19.
Status • peak traffic:
- 3000 requests/s - 35000 Redis operations/s • average backend response time: - 10 ms
20.
appdata.com
21.
Goals • 1 million
DAU • small production cluster
22.
Production Cluster
Text (1x intel core i7 X980, 6 cores, 24 gig ram)
23.
Goals • 1 million
DAU • small production cluster
24.
Redis Highlights • high
sustained throughput / performance • very stable • active & helpful community
25.
Redis Gotchas • memory
consumption - fragmentation! • durability
26.
Q&A
27.
redis.io github.com/tlossen/remodel wooga.com/jobs
Baixar agora