SlideShare a Scribd company logo
3
Most read
5
Most read
7
Most read
Migrating from Coherence to
Redis
Balaji Mariyappan – Sr. Solutions Engineer
Vivek Rajput – DevOps Engineer
Disclaimer
The information contained in this presentation & expressed by the
speakers are solely based on rci.com application experiences and
practices
www.rci.com - Leader in vacation exchange
What RCI uses for caching & session-store?
RCI.com web application serves members for booking the resort using
self-service and guided portals.
Web session
management
24 GB
Service-level
caching
64 GB
What
Why
2
How
3
What
1
Coherence to Redis
Migration
Cost
Licensing
Complexity
Performance
Monitoring
Agility
Redis Architecture
Redis configuration
Testing Harness
Coherence infrastructure
What
Durability
Availability
Scalability
Client
Load
Balancer
Coherence
Proxy
Coherence
Proxy
Coherence
Proxy
Coherence
Cache nodes
Coherence
Cache nodes
Coherence
Cache nodes
Coherence
Cache nodes
Web Clients
What
Near Cache
Local Cache
Dist Cache
Remote Cache
Replicated Cache
RD
Cache
Bucket
RD
2HR
Cache
SP 1
Hour
Cache
Bucket
Cache buckets
What
session-cache-config.xml
Complexities and choices
• Cluster implementation
• Connection options
• Multiple cache storage types
• JVM Config / dependencies
• Automation issues
Why
Licensing & other factors
On-Premise
Oracle Licenses (1)
Why
AWS/Azure/Google cloud
Oracle Licenses (2)
• Licensing disparity
• Scalability restrictions
• Cache eviction controls
• Operational overhead
• Testing limitation
• Performance
• Monitoring
Redis Architecture
How
Web Session
clients
Load
Balancer
Master
(Slot: 0-16384)
Slave
(Slot: 0-16384)
Redis-Sentinel
Redis-Sentinel
Future Architecture
Redis Cluster
Client
Load
Balancer
Master 1
(Active)
(Slot: 0-8000)
Slave 1
(Passive)
(Slot: 0-8000)
Redis-Sentinel
Redis-Sentinel
Master 2
(Active)
(Slot: 8001-16384)
Slave 2
(Passive)
(Slot: 8001-16384)
Redis-Sentinel
Redis-Sentinel
How
Redis Configuration – Redis.conf
• ################# NETWORK ####################
• bind x.x.x.x
• port 6379
• protected-mode yes
• ################# REPLICATION #################
• slaveof <masterip> <masterport>
• ################### LIMITS ####################
• maxclients 10000
• maxmemory <bytes>
• maxmemory-policy LRU
How
Redis Configuration – Redisson.json
{
"singleServerConfig":{
"address": "redis://xx.xx.xx.xx:6379"
},
"codec":{
"class":"org.redisson.codec.FstCodec"
}
}
How
Other Configurations
Server.xml (Server-side)
<Context crossContext="true" path="/" docBase="/opt/tomcat8/apache-tomcat-8.5.24/applications/rcio-login.war"
sessionCookiePath="/" sessionCookieName="JSESSIONID">
<Manager className="org.redisson.tomcat.RedissonSessionManager"
configPath="${catalina.base}/redisson.json" readMode="REDIS"/>
</Context>
Cache.properties (application-side)
# SPRING CACHE (CacheProperties)
spring.cache.cache-names=typeAheadCache, googleCache
spring.cache.redis.cache-null-values=true # Allow caching null values.
spring.cache.redis.key-prefix= # Key prefix.
spring.cache.redis.time-to-live=900000ms # Entry expiration. By default the entries never expire.
spring.cache.redis.use-key-prefix=true # Whether to use the key prefix when writing to Redis.
spring.cache.type= # Cache type. By default, auto-detected according to the environment.
How
Demo
• Server.xml configuration
• Redisson.json configuration
• Session key-store and validation
How
Lessons learnt
• Supportability of Redis client for different application server
• Redis learning curve & Configuration
• Elimination of cluster
• JVM tuning issues
• Voiding various Cache types
• Better health-check configuration
How
Thank you

More Related Content

PDF
Inditex Group
PPT
Augmented Reality And Fashion
PPTX
What's new with enterprise Redis - Leena Joshi, Redis Labs
PPTX
RedisConf17 - Redis Enterprise: Continuous Availability, Unlimited Scaling, S...
PPT
New York REDIS Meetup Welcome Session
PPT
Redis vs NCache - A detailed feture level comparison
PDF
[Redis conf18] The Versatility of Redis
PDF
RedisConf18 - The Versatility of Redis - Powering our critical business using...
Inditex Group
Augmented Reality And Fashion
What's new with enterprise Redis - Leena Joshi, Redis Labs
RedisConf17 - Redis Enterprise: Continuous Availability, Unlimited Scaling, S...
New York REDIS Meetup Welcome Session
Redis vs NCache - A detailed feture level comparison
[Redis conf18] The Versatility of Redis
RedisConf18 - The Versatility of Redis - Powering our critical business using...

Similar to RedisConf18 - Migrating from Coherence to Redis (14)

PPTX
Big Data Day LA 2016/ NoSQL track - Analytics at the Speed of Light with Redi...
PDF
RedisConf18 - Redis at LINE - 25 Billion Messages Per Day
PDF
What Is Caching, and How Does Redis Improve Full Stack Developer Workflows.pdf
PPTX
Making Session Stores More Intelligent
PPTX
Redis_Labs_Redis_on_Flash_on_Power8_-_INAF_Italy_-_June_2015.pptx
PDF
Redis as a Cache Boosting Performance and Scalability
PPTX
RedisConf17 - Redis in High Traffic Adtech Stack
PDF
Secure Redis Cluster At Box: Vova Galchenko, Ravitej Sistla
PDF
Multi-Agency Multi-Media Interoperable Communication, Enabled By Redis: Paul ...
PPTX
Redis Reliability, Performance & Innovation
PPTX
Introduction to Redis and its features.pptx
PDF
CMG 2024 - Performance Testing, Profiling, and Analysis at Redis
PPTX
RedisConf17 - Building Large High Performance Redis Databases with Redis Ente...
PPTX
Add Redis to Postgres to Make Your Microservices Go Boom!
Big Data Day LA 2016/ NoSQL track - Analytics at the Speed of Light with Redi...
RedisConf18 - Redis at LINE - 25 Billion Messages Per Day
What Is Caching, and How Does Redis Improve Full Stack Developer Workflows.pdf
Making Session Stores More Intelligent
Redis_Labs_Redis_on_Flash_on_Power8_-_INAF_Italy_-_June_2015.pptx
Redis as a Cache Boosting Performance and Scalability
RedisConf17 - Redis in High Traffic Adtech Stack
Secure Redis Cluster At Box: Vova Galchenko, Ravitej Sistla
Multi-Agency Multi-Media Interoperable Communication, Enabled By Redis: Paul ...
Redis Reliability, Performance & Innovation
Introduction to Redis and its features.pptx
CMG 2024 - Performance Testing, Profiling, and Analysis at Redis
RedisConf17 - Building Large High Performance Redis Databases with Redis Ente...
Add Redis to Postgres to Make Your Microservices Go Boom!
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)

PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Encapsulation theory and applications.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
cuic standard and advanced reporting.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Machine learning based COVID-19 study performance prediction
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
Review of recent advances in non-invasive hemoglobin estimation
NewMind AI Weekly Chronicles - August'25 Week I
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Mobile App Security Testing_ A Comprehensive Guide.pdf
Encapsulation theory and applications.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
cuic standard and advanced reporting.pdf
Understanding_Digital_Forensics_Presentation.pptx
Encapsulation_ Review paper, used for researhc scholars
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
Machine learning based COVID-19 study performance prediction
MIND Revenue Release Quarter 2 2025 Press Release
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Chapter 3 Spatial Domain Image Processing.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Network Security Unit 5.pdf for BCA BBA.
Building Integrated photovoltaic BIPV_UPV.pdf
Programs and apps: productivity, graphics, security and other tools

RedisConf18 - Migrating from Coherence to Redis