SlideShare a Scribd company logo
Introducing the Anypoint
Connector for Redis
• REmote DIctionary Server (REDIS) is an open source, in-memory data
structure store which was created by Salvatore Sanfilippo in 2009 for
real-time web analytics. This open source project had been sponsored
by VMware and Pivotal Software, and since June 2015, has been
sponsored by Redis Labs. According to Redis Day TLV 2016, Redis has
gained lots of adoption in thousands of companies including
American Express, Atlassian, Ariba, Facebook, Intuit, TripAdvisor,
Twitter, and Verizon.
• You can use Redis to cache a user profile, create a leaderboard, track
real-time activities on a website, implement a spam filtering system,
use it as a message queue, and more. At MuleSoft, we have seen
customers use Redis as a cache storage layer while using MongoDB as
a persistent message storage layer, to process huge amounts of
payroll and employee data with Redis Cluster, and as a NoSQL
database. To support the growing number of customers leveraging
Redis, we are thrilled to release the Anypoint Connector for Redis
today.
• Here is a quick example of how to use the Redis
Connector, compatible with Redis 2.8, 3.0 and
3.2. This demo app allows you to test basic
operations of Redis Connector. The app consists
of two flows; the first flow shows 12 different
operations which will be triggered by your choice,
the second flow shows you a web page where
you can pick an operation.
Let’s configure this Redis Connector first. Go to
Global Elements, and find “Redis.” After selecting
“Redis,” click on “Edit”.
Introducing the anypoint connector for redis
• In the Redis: Configuration, you can specify the configuration of your
Redis server. You could directly add your Redis Server information in
the configuration, but I recommend that you use the properties file to
add your configuration information. Since I’m running a Redis Server
locally on my Mac, the configuration of my Redis Server I will use
looks like this:
• config.host=localhost
• config.connectionTimeout=60000
• config.port=6379
• After you complete the configuration for your Redis environment, run
the app. When you open up a browser and hit localhost:8081, your
browser will show the following page.
Introducing the anypoint connector for redis
• Since implementing a leaderboard is one of main use cases, I’d like to
show an example of using a sorted set. When you scroll down on the
webpage, you will see the following page.
Introducing the anypoint connector for redis
• I added the following data to a sorted set called “Max the Mule.”
• Key Value Score
• Max the Mule Nathan 50
• Max the Mule Anton 70
• Max the Mule Ashley 110
• Max the Mule Alex 150
• I’m only interested in those who scored higher than 100, so when I put the
following information in “Get range by score”, Redis will show only Ashley
and Alex who scored more than 100.
Introducing the anypoint connector for redis
• For new users, try the above example to get started, and for others,
please share with us how you are planning to use the Redis
Connector! Also, explore the Anypoint Exchange to see other
resources you can leverage today.

More Related Content

PDF
Rails 6.0 new features
PPTX
SPSDC - To the Cloud! Using IaaS as a Hosting Provider for SharePoint
PPTX
Sitecore Knowledge Transfer 2018 day-1
PPTX
Create a blueprint of your Farm using PowerShell with Corey Burke
PPT
SQL Azure Dec Update
PPT
Windows Azure Platform in 30mins by ericnel
PPTX
Windows Azure Platform in 30mins by ericnel
DOC
Arquitectura utfsm arquitectura sismoresistente, rene tobar lab dos
Rails 6.0 new features
SPSDC - To the Cloud! Using IaaS as a Hosting Provider for SharePoint
Sitecore Knowledge Transfer 2018 day-1
Create a blueprint of your Farm using PowerShell with Corey Burke
SQL Azure Dec Update
Windows Azure Platform in 30mins by ericnel
Windows Azure Platform in 30mins by ericnel
Arquitectura utfsm arquitectura sismoresistente, rene tobar lab dos

Viewers also liked (9)

DOC
TOPOGRAFIA UTFSM Procedimiento
PPTX
Cuento imagenes para niños
PPTX
Caza del tesoro y wedquest
DOC
bob cover letter
PPTX
Ppt sponsors toa16
DOCX
resume 6.2015 new
PPTX
Caza del tesoro y wedquest
PPTX
Virus y antivirus
PPTX
Arte y tecnología
TOPOGRAFIA UTFSM Procedimiento
Cuento imagenes para niños
Caza del tesoro y wedquest
bob cover letter
Ppt sponsors toa16
resume 6.2015 new
Caza del tesoro y wedquest
Virus y antivirus
Arte y tecnología
Ad

More from Son Nguyen (20)

PPTX
Your new maven friend – the mule maven
PPTX
Soa governance for the modern business
PPTX
Quality sdk for your apis in minutes!
PPTX
Maven tools & archetypes
PPTX
Let api change your relationship with your doctor
PPTX
Increase revenue and reinvigorate your business with api
PPTX
How to – wrap soap web service around a database
PPTX
How to – rest api proxy to soap webservice
PPTX
Anypoint runtime manager v1
PPTX
A good api strategy can help turn your
PPTX
10 steps to design and build the perfect
PPTX
What is the difference between using private flow
PPTX
Troubleshooting mule
PPTX
Running mule as worker role on azure
PPTX
Real time data processing with anypoint connector for kafka
PPTX
Performance tuning in mule
PPTX
Mule intelli j tips
PPTX
How to – data integrity checks in batch processing
PPTX
How soa paved the way for cloud
PPTX
Mq user and role access
Your new maven friend – the mule maven
Soa governance for the modern business
Quality sdk for your apis in minutes!
Maven tools & archetypes
Let api change your relationship with your doctor
Increase revenue and reinvigorate your business with api
How to – wrap soap web service around a database
How to – rest api proxy to soap webservice
Anypoint runtime manager v1
A good api strategy can help turn your
10 steps to design and build the perfect
What is the difference between using private flow
Troubleshooting mule
Running mule as worker role on azure
Real time data processing with anypoint connector for kafka
Performance tuning in mule
Mule intelli j tips
How to – data integrity checks in batch processing
How soa paved the way for cloud
Mq user and role access
Ad

Recently uploaded (20)

PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Modernizing your data center with Dell and AMD
PDF
Electronic commerce courselecture one. Pdf
PPT
Teaching material agriculture food technology
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
A Presentation on Artificial Intelligence
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
KodekX | Application Modernization Development
PPTX
Cloud computing and distributed systems.
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
NewMind AI Monthly Chronicles - July 2025
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Encapsulation_ Review paper, used for researhc scholars
The Rise and Fall of 3GPP – Time for a Sabbatical?
Modernizing your data center with Dell and AMD
Electronic commerce courselecture one. Pdf
Teaching material agriculture food technology
Chapter 3 Spatial Domain Image Processing.pdf
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
A Presentation on Artificial Intelligence
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
KodekX | Application Modernization Development
Cloud computing and distributed systems.
Understanding_Digital_Forensics_Presentation.pptx
Machine learning based COVID-19 study performance prediction
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
20250228 LYD VKU AI Blended-Learning.pptx
NewMind AI Monthly Chronicles - July 2025

Introducing the anypoint connector for redis

  • 2. • REmote DIctionary Server (REDIS) is an open source, in-memory data structure store which was created by Salvatore Sanfilippo in 2009 for real-time web analytics. This open source project had been sponsored by VMware and Pivotal Software, and since June 2015, has been sponsored by Redis Labs. According to Redis Day TLV 2016, Redis has gained lots of adoption in thousands of companies including American Express, Atlassian, Ariba, Facebook, Intuit, TripAdvisor, Twitter, and Verizon.
  • 3. • You can use Redis to cache a user profile, create a leaderboard, track real-time activities on a website, implement a spam filtering system, use it as a message queue, and more. At MuleSoft, we have seen customers use Redis as a cache storage layer while using MongoDB as a persistent message storage layer, to process huge amounts of payroll and employee data with Redis Cluster, and as a NoSQL database. To support the growing number of customers leveraging Redis, we are thrilled to release the Anypoint Connector for Redis today.
  • 4. • Here is a quick example of how to use the Redis Connector, compatible with Redis 2.8, 3.0 and 3.2. This demo app allows you to test basic operations of Redis Connector. The app consists of two flows; the first flow shows 12 different operations which will be triggered by your choice, the second flow shows you a web page where you can pick an operation.
  • 5. Let’s configure this Redis Connector first. Go to Global Elements, and find “Redis.” After selecting “Redis,” click on “Edit”.
  • 7. • In the Redis: Configuration, you can specify the configuration of your Redis server. You could directly add your Redis Server information in the configuration, but I recommend that you use the properties file to add your configuration information. Since I’m running a Redis Server locally on my Mac, the configuration of my Redis Server I will use looks like this:
  • 8. • config.host=localhost • config.connectionTimeout=60000 • config.port=6379 • After you complete the configuration for your Redis environment, run the app. When you open up a browser and hit localhost:8081, your browser will show the following page.
  • 10. • Since implementing a leaderboard is one of main use cases, I’d like to show an example of using a sorted set. When you scroll down on the webpage, you will see the following page.
  • 12. • I added the following data to a sorted set called “Max the Mule.” • Key Value Score • Max the Mule Nathan 50 • Max the Mule Anton 70 • Max the Mule Ashley 110 • Max the Mule Alex 150 • I’m only interested in those who scored higher than 100, so when I put the following information in “Get range by score”, Redis will show only Ashley and Alex who scored more than 100.
  • 14. • For new users, try the above example to get started, and for others, please share with us how you are planning to use the Redis Connector! Also, explore the Anypoint Exchange to see other resources you can leverage today.