In order to bring an ever-improving end-user experience and a conversion rate increase to our clients, we have started, at altima°, rolling up Redis caching services to our customers. In this article, we’ll be covering our deployment of Redis services to one of our high traffic clients, whose website has been tuned by our team with a set of blazing fast enhancements. These optimizations targ
In order to bring an ever-improving end-user experience and a conversion rate increase to our clients, we have started, at altima°, rolling up Redis caching services to our customers. In this article, we’ll be covering our deployment of Redis services to one of our high traffic clients, whose website has been tuned by our team with a set of blazing fast enhancements. These optimizations target an enhancement in SEO rankings and user experience through faster response time, leading to higher conversion ratios. Redis: Targeted caching Navigation menu As a website grows in features and capabilities, so does its complexity. And with complexity comes the need for optimizations. In today’s showcase, issues arose after we implemented a fully dynamic navigation menu, to be shown on every page of the website. This feature brings a lot of value but has a real performance cost. Our developer tools are always watching performance metrics When our teams noticed this new cost, we ran some benchmark and reduced the code footprint to the maximum. When that did not prove sufficient, we turned to another solution. A new hope: Redis cache! That solution was to implement a cache feature. Caching is a well known and effective way to further optimize a complex system, which cannot be trimmed down anymore. Cache strategies At altima°, we offer different caching solutions, backed by many different technologies. The most common strategies include using nginx/varnish HTML caching and redis template/database caching. All of them take responsibility of different parts of the webpage’s lifecycle. Typical caching strategies in the webpage lifecycle The best results usually come from a combination of these strategies. In our use case, the complexity is more precisely situated in one unique place, which will allow us to make a surgical focus on the template layer. Results In the end, we get the best of both worlds: high value-added features without any performance costs. Some number crunching has allowed us to measure the extend of the positive impact, as seen below. Numbers On a cache hit, the number of queries for the menu is down to the initial value, a perfect 0! The time for page generation has also greatly improved, as our benchmark shows. Benchmarking allows us be sure our improvements worked and pat ourselves on the back Depending on the pages and the traffic load, we register an improvement between grossly 40 to 60%. Our main benchmark on the home registered a 58% improvement, shown in the previous image. What’s next? We now have a working caching system and a proof of its efficiency. It is an easily implementable tool that has the potential to cache from 50% to 90% of the displayed data being cache-able. We strive and are proud to bring all such improvements to serve the best experience to the end customer and increase conversion rates for our clients.  
In order to bring an ever-improving end-user experience and a conversion rate increase to our clients, we have started, at altima°, rolling up Redis caching services to our customers. In this article, we’ll be covering our deployment of Redis services to one of our high traffic clients, whose website has been tuned by our team with a set of blazing fast enhancements. These optimizations targ
In order to bring an ever-improving end-user experience and a conversion rate increase to our clients, we have started, at altima°, rolling up Redis caching services to our customers. In this article, we’ll be covering our deployment of Redis services to one of our high traffic clients, whose website has been tuned by our team with a set of blazing fast enhancements. These optimizations target an enhancement in SEO rankings and user experience through faster response time, leading to higher conversion ratios. Redis: Targeted caching Navigation menu As a website grows in features and capabilities, so does its complexity. And with complexity comes the need for optimizations. In today’s showcase, issues arose after we implemented a fully dynamic navigation menu, to be shown on every page of the website. This feature brings a lot of value but has a real performance cost. Our developer tools are always watching performance metrics When our teams noticed this new cost, we ran some benchmark and reduced the code footprint to the maximum. When that did not prove sufficient, we turned to another solution. A new hope: Redis cache! That solution was to implement a cache feature. Caching is a well known and effective way to further optimize a complex system, which cannot be trimmed down anymore. Cache strategies At altima°, we offer different caching solutions, backed by many different technologies. The most common strategies include using nginx/varnish HTML caching and redis template/database caching. All of them take responsibility of different parts of the webpage’s lifecycle. Typical caching strategies in the webpage lifecycle The best results usually come from a combination of these strategies. In our use case, the complexity is more precisely situated in one unique place, which will allow us to make a surgical focus on the template layer. Results In the end, we get the best of both worlds: high value-added features without any performance costs. Some number crunching has allowed us to measure the extend of the positive impact, as seen below. Numbers On a cache hit, the number of queries for the menu is down to the initial value, a perfect 0! The time for page generation has also greatly improved, as our benchmark shows. Benchmarking allows us be sure our improvements worked and pat ourselves on the back Depending on the pages and the traffic load, we register an improvement between grossly 40 to 60%. Our main benchmark on the home registered a 58% improvement, shown in the previous image. What’s next? We now have a working caching system and a proof of its efficiency. It is an easily implementable tool that has the potential to cache from 50% to 90% of the displayed data being cache-able. We strive and are proud to bring all such improvements to serve the best experience to the end customer and increase conversion rates for our clients.