3
Most read
6
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

PPT
A galina vermelha(figuras datashow)
PPT
PDF
Lucifer luciferax vi (1)
PPS
A Conversão de Zaqueu (Projeto "Construindo uma vida")
PPTX
Palavras dificeis da Biblia
DOC
Barbara cartland a caminho do exilio
PPTX
What's new with enterprise Redis - Leena Joshi, Redis Labs
PPTX
RedisConf17 - Redis Enterprise: Continuous Availability, Unlimited Scaling, S...
A galina vermelha(figuras datashow)
Lucifer luciferax vi (1)
A Conversão de Zaqueu (Projeto "Construindo uma vida")
Palavras dificeis da Biblia
Barbara cartland a caminho do exilio
What's new with enterprise Redis - Leena Joshi, Redis Labs
RedisConf17 - Redis Enterprise: Continuous Availability, Unlimited Scaling, S...

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

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...
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!
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...
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
FASHION-DRIVEN TEXTILES AS A CRYSTAL OF A NEW STREAM FOR STAKEHOLDER CAPITALI...
PPTX
CRM(Customer Relationship Managmnet) Presentation
PDF
ELLIE29.pdfWETWETAWTAWETAETAETERTRTERTER
PDF
NewMind AI Journal Monthly Chronicles - August 2025
PPTX
Slides World Game (s) Great Redesign Eco Economic Epochs.pptx
PPTX
AQUEEL MUSHTAQUE FAKIH COMPUTER CENTER .
PDF
Be ready for tomorrow’s needs with a longer-lasting, higher-performing PC
PDF
Domain-specific knowledge and context in large language models: challenges, c...
PDF
“Introduction to Designing with AI Agents,” a Presentation from Amazon Web Se...
PDF
Altius execution marketplace concept.pdf
PPTX
Build automations faster and more reliably with UiPath ScreenPlay
PPTX
Report in SIP_Distance_Learning_Technology_Impact.pptx
PDF
Human Computer Interaction Miterm Lesson
PDF
Examining Bias in AI Generated News Content.pdf
PPTX
maintenance powerrpoint for adaprive and preventive
PPTX
From Curiosity to ROI — Cost-Benefit Analysis of Agentic Automation [3/6]
PDF
Ebook - The Future of AI A Comprehensive Guide.pdf
PDF
EIS-Webinar-Regulated-Industries-2025-08.pdf
PDF
State of AI in Business 2025 - MIT NANDA
PDF
ment.tech-Siri Delay Opens AI Startup Opportunity in 2025.pdf
FASHION-DRIVEN TEXTILES AS A CRYSTAL OF A NEW STREAM FOR STAKEHOLDER CAPITALI...
CRM(Customer Relationship Managmnet) Presentation
ELLIE29.pdfWETWETAWTAWETAETAETERTRTERTER
NewMind AI Journal Monthly Chronicles - August 2025
Slides World Game (s) Great Redesign Eco Economic Epochs.pptx
AQUEEL MUSHTAQUE FAKIH COMPUTER CENTER .
Be ready for tomorrow’s needs with a longer-lasting, higher-performing PC
Domain-specific knowledge and context in large language models: challenges, c...
“Introduction to Designing with AI Agents,” a Presentation from Amazon Web Se...
Altius execution marketplace concept.pdf
Build automations faster and more reliably with UiPath ScreenPlay
Report in SIP_Distance_Learning_Technology_Impact.pptx
Human Computer Interaction Miterm Lesson
Examining Bias in AI Generated News Content.pdf
maintenance powerrpoint for adaprive and preventive
From Curiosity to ROI — Cost-Benefit Analysis of Agentic Automation [3/6]
Ebook - The Future of AI A Comprehensive Guide.pdf
EIS-Webinar-Regulated-Industries-2025-08.pdf
State of AI in Business 2025 - MIT NANDA
ment.tech-Siri Delay Opens AI Startup Opportunity in 2025.pdf

RedisConf18 - Migrating from Coherence to Redis