Infinispan as an Open Source cache layer for CMS
![](/assets/images/blog/authors/rigazilla.jpg)
Infinispan as an Open Source cache layer for CMS
Those of you who are dealing with content management systems (CMS) know very well the importance of an efficient cache layer, especially when performance matters.
In this regard, the Infinispan team wants to shine a spotlight on what we have done with the Infinispan 15 release to extend our compatibility with the Redis RESP protocol.
We already generally spoke about this in a previous post, but here we want to focus on this specific field of application: CMS cache layer.
We prefer to show rather than describe, so a couple of demos have been developed to show how easy it is to move from Redis, or other RESP databases, to an open source solution like Infinispan. As you will see it’s easy as just changing the cache db endpoint.
Demos
Demos are available at https://github.com/rigazilla/demo-infinispan-php-resp and can be run on linux (bash) systems with git and docker.
At the moment Drupal and Wordpress have been considered, but the procedure can be easily extended to every application which rely on the RESP protocol.
Both demos work the same way and you really just need to follow the project README:
-
a
demo-start.sh
commmand-
starts a CMS infrastructure with docker compose
-
starts both Redis and Infinispan
-
configure the CMS to use Redis
-
-
a
switch-to-infinispan.sh
command-
changes the cache endpoint from Redis to Infinispan at runtime
-
-
a
demo-stop.sh
command-
stops and cleanup everything
-
As you can guess all the effort has been put to allow you to try this feature as easily as possible (We know you’re lazy, hackers!)
Hope you enjoy this new possibility we provided for you with Infinispan 15.
Let us know your feedback and…
happy coding!
The Infinispan Team
Get it, Use it, Ask us!
We’re hard at work on new features, improvements and fixes, so watch this space for more announcements!Please, download and test the latest release.
The source code is hosted on GitHub. If you need to report a bug or request a new feature, look for a similar one on our JIRA issues tracker. If you don’t find any, create a new issue.
If you have questions, are experiencing a bug or want advice on using Infinispan, you can use GitHub discussions. We will do our best to answer you as soon as we can.
The Infinispan community uses Zulip for real-time communications. Join us using either a web-browser or a dedicated application on the Infinispan chat.