SlideShare a Scribd company logo
Redis : Play buzz uses Redis
A little bit about myself
Chen Salomon, Data architect– c@Playbuzz.com
First developer @ Playbuzz
The guy that still wakes when shit hits the fan…
Currently leading (data) solutions
Playbuzz
3 years old
4 locations (Israel, NY, London, Hamburg)
100 employees
30 in RnD (we are still small…)
Seconds on a page
60%78%15
Source: Wall Street Journal, 2014
Changes in internet content
of internet users don’t
read entire articles
Web publishers
get
of traffic through
referrals from
Facebook on
average
User stays only
Playbuzz is the king of Engaging Content™
7,000+
publishers can’t
be wrong
Formats
Gallery QuizTriviaPersonality QuizListRevealRanked List
Countdown List
Poll
Open List
Photo Caption
Video
THE SECRET SAUCE
• Keep it simple and super slim – We always try to keep our
production with as few servers as possible
• Be lazy – We pay a lot on insert and barely work on reads
• Know your traffic
• Enabling the business to scale at minimal cost
How we do it?
• Object caching
• Production usage
• Keeping items in cache (lazy initialization) – objects (strings)
• List management as sorted sets
• Permissions are hashmaps
Where you can find Redis in our system?
• Distributed HTML Output caching
• ETL session management and enrichments
• Session parameters are objects
• IP to location (in a few seconds)
Where you can find Redis in our system?
Most recent Redis project
IP to location
• Location objects are hash-maps
• Convert IP to integers
• e.g. IP 10.0.0.138 -> 10 *(256^3) + 0 *(256^2) + 0 *(256) + 138
*(256^0) =167772298
• ZRANGEBYSCORE to find the range (position) – returns the first item
that larger than the IP.
• HGETALL for the returned position
• Challenges
• IP V6 (same idea –different multiplier)
• Empty subnets – You can’t use only lower/upper bounds
We are hiring – jobs@playbuzz.com

More Related Content

PDF
Scaling with Riak at Showyou
PDF
Modelling Data as Graphs (Neo4j)
PDF
An intro to Neo4j and some use cases (JFokus 2011)
PDF
Riak Use Cases : Dissecting The Solutions To Hard Problems
PDF
Recommendations with Neo4j (FOSDEM 2015)
PDF
Advanced Neo4j Use Cases with the GraphAware Framework
PDF
Modelling Data in Neo4j (plus a few tips)
PPT
Redis use cases
Scaling with Riak at Showyou
Modelling Data as Graphs (Neo4j)
An intro to Neo4j and some use cases (JFokus 2011)
Riak Use Cases : Dissecting The Solutions To Hard Problems
Recommendations with Neo4j (FOSDEM 2015)
Advanced Neo4j Use Cases with the GraphAware Framework
Modelling Data in Neo4j (plus a few tips)
Redis use cases

Viewers also liked (15)

PDF
Best Buy Web 2.0
PPTX
Introduction to Redis Data Structures: Sorted Sets
PDF
Redis and its many use cases
PDF
Introduction to some top Redis use cases
PPTX
The BestBuy.com Cloud Architecture
PDF
Using Redis at Facebook
PDF
Bootstrapping Recommendations with Neo4j
PPTX
Neo4j GraphTalks - Einführung in Graphdatenbanken
PPTX
Redis Use Patterns (DevconTLV June 2014)
PDF
Neo4j the Anti Crime Database
PDF
Neo4j GraphTalks Panama Papers
PDF
Intro to Neo4j and Graph Databases
PDF
Everything you always wanted to know about Redis but were afraid to ask
PDF
Neo4j - 5 cool graph examples
PDF
Graph database Use Cases
Best Buy Web 2.0
Introduction to Redis Data Structures: Sorted Sets
Redis and its many use cases
Introduction to some top Redis use cases
The BestBuy.com Cloud Architecture
Using Redis at Facebook
Bootstrapping Recommendations with Neo4j
Neo4j GraphTalks - Einführung in Graphdatenbanken
Redis Use Patterns (DevconTLV June 2014)
Neo4j the Anti Crime Database
Neo4j GraphTalks Panama Papers
Intro to Neo4j and Graph Databases
Everything you always wanted to know about Redis but were afraid to ask
Neo4j - 5 cool graph examples
Graph database Use Cases
Ad

More from Redis Labs (20)

PPTX
Redis Day Bangalore 2020 - Session state caching with redis
PPTX
Protecting Your API with Redis by Jane Paek - Redis Day Seattle 2020
PPTX
The Happy Marriage of Redis and Protobuf by Scott Haines of Twilio - Redis Da...
PPTX
SQL, Redis and Kubernetes by Paul Stanton of Windocks - Redis Day Seattle 2020
PPTX
Rust and Redis - Solving Problems for Kubernetes by Ravi Jagannathan of VMwar...
PPTX
Redis for Data Science and Engineering by Dmitry Polyakovsky of Oracle
PPTX
Practical Use Cases for ACLs in Redis 6 by Jamie Scott - Redis Day Seattle 2020
PPTX
Moving Beyond Cache by Yiftach Shoolman Redis Labs - Redis Day Seattle 2020
PPTX
Leveraging Redis for System Monitoring by Adam McCormick of SBG - Redis Day S...
PPTX
JSON in Redis - When to use RedisJSON by Jay Won of Coupang - Redis Day Seatt...
PPTX
Highly Available Persistent Session Management Service by Mohamed Elmergawi o...
PPTX
Anatomy of a Redis Command by Madelyn Olson of Amazon Web Services - Redis Da...
PPTX
Building a Multi-dimensional Analytics Engine with RedisGraph by Matthew Goos...
PPTX
RediSearch 1.6 by Pieter Cailliau - Redis Day Bangalore 2020
PPTX
RedisGraph 2.0 by Pieter Cailliau - Redis Day Bangalore 2020
PPTX
RedisTimeSeries 1.2 by Pieter Cailliau - Redis Day Bangalore 2020
PPTX
RedisAI 0.9 by Sherin Thomas of Tensorwerk - Redis Day Bangalore 2020
PPTX
Rate-Limiting 30 Million requests by Vijay Lakshminarayanan and Girish Koundi...
PDF
Three Pillars of Observability by Rajalakshmi Raji Srinivasan of Site24x7 Zoh...
PPTX
Solving Complex Scaling Problems by Prashant Kumar and Abhishek Jain of Myntr...
Redis Day Bangalore 2020 - Session state caching with redis
Protecting Your API with Redis by Jane Paek - Redis Day Seattle 2020
The Happy Marriage of Redis and Protobuf by Scott Haines of Twilio - Redis Da...
SQL, Redis and Kubernetes by Paul Stanton of Windocks - Redis Day Seattle 2020
Rust and Redis - Solving Problems for Kubernetes by Ravi Jagannathan of VMwar...
Redis for Data Science and Engineering by Dmitry Polyakovsky of Oracle
Practical Use Cases for ACLs in Redis 6 by Jamie Scott - Redis Day Seattle 2020
Moving Beyond Cache by Yiftach Shoolman Redis Labs - Redis Day Seattle 2020
Leveraging Redis for System Monitoring by Adam McCormick of SBG - Redis Day S...
JSON in Redis - When to use RedisJSON by Jay Won of Coupang - Redis Day Seatt...
Highly Available Persistent Session Management Service by Mohamed Elmergawi o...
Anatomy of a Redis Command by Madelyn Olson of Amazon Web Services - Redis Da...
Building a Multi-dimensional Analytics Engine with RedisGraph by Matthew Goos...
RediSearch 1.6 by Pieter Cailliau - Redis Day Bangalore 2020
RedisGraph 2.0 by Pieter Cailliau - Redis Day Bangalore 2020
RedisTimeSeries 1.2 by Pieter Cailliau - Redis Day Bangalore 2020
RedisAI 0.9 by Sherin Thomas of Tensorwerk - Redis Day Bangalore 2020
Rate-Limiting 30 Million requests by Vijay Lakshminarayanan and Girish Koundi...
Three Pillars of Observability by Rajalakshmi Raji Srinivasan of Site24x7 Zoh...
Solving Complex Scaling Problems by Prashant Kumar and Abhishek Jain of Myntr...
Ad

Recently uploaded (20)

PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Empathic Computing: Creating Shared Understanding
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Approach and Philosophy of On baking technology
PDF
Machine learning based COVID-19 study performance prediction
PDF
Advanced IT Governance
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPT
Teaching material agriculture food technology
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
Cloud computing and distributed systems.
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Empathic Computing: Creating Shared Understanding
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Per capita expenditure prediction using model stacking based on satellite ima...
Unlocking AI with Model Context Protocol (MCP)
Review of recent advances in non-invasive hemoglobin estimation
Approach and Philosophy of On baking technology
Machine learning based COVID-19 study performance prediction
Advanced IT Governance
NewMind AI Monthly Chronicles - July 2025
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Teaching material agriculture food technology
MYSQL Presentation for SQL database connectivity
Spectral efficient network and resource selection model in 5G networks
Understanding_Digital_Forensics_Presentation.pptx
Cloud computing and distributed systems.
Dropbox Q2 2025 Financial Results & Investor Presentation
Chapter 3 Spatial Domain Image Processing.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy

Redis : Play buzz uses Redis

  • 2. A little bit about myself Chen Salomon, Data architect– c@Playbuzz.com First developer @ Playbuzz The guy that still wakes when shit hits the fan… Currently leading (data) solutions
  • 3. Playbuzz 3 years old 4 locations (Israel, NY, London, Hamburg) 100 employees 30 in RnD (we are still small…)
  • 4. Seconds on a page 60%78%15 Source: Wall Street Journal, 2014 Changes in internet content of internet users don’t read entire articles Web publishers get of traffic through referrals from Facebook on average User stays only
  • 5. Playbuzz is the king of Engaging Content™ 7,000+ publishers can’t be wrong
  • 6. Formats Gallery QuizTriviaPersonality QuizListRevealRanked List Countdown List Poll Open List Photo Caption Video
  • 8. • Keep it simple and super slim – We always try to keep our production with as few servers as possible • Be lazy – We pay a lot on insert and barely work on reads • Know your traffic • Enabling the business to scale at minimal cost How we do it?
  • 9. • Object caching • Production usage • Keeping items in cache (lazy initialization) – objects (strings) • List management as sorted sets • Permissions are hashmaps Where you can find Redis in our system?
  • 10. • Distributed HTML Output caching • ETL session management and enrichments • Session parameters are objects • IP to location (in a few seconds) Where you can find Redis in our system?
  • 11. Most recent Redis project IP to location • Location objects are hash-maps • Convert IP to integers • e.g. IP 10.0.0.138 -> 10 *(256^3) + 0 *(256^2) + 0 *(256) + 138 *(256^0) =167772298 • ZRANGEBYSCORE to find the range (position) – returns the first item that larger than the IP. • HGETALL for the returned position • Challenges • IP V6 (same idea –different multiplier) • Empty subnets – You can’t use only lower/upper bounds
  • 12. We are hiring – jobs@playbuzz.com