The Night Netflix Refused to Buffer It’s 2:00 AM. You’ve told yourself “just one more episode” at least three times already. But now it’s the finale. You click Play… and it starts instantly. No spinning circle. No loading screen. Nothing. Just video. Feels normal, right? But here’s the truth: that “instant” moment is one of […]
Introduction If you’ve ever worked on an OTT application you must have heard such statements being made “The VST must be as little as possible” or “product team is observing spikes in user abandonment in cases where the VST is 2-3 seconds or more”. So, what is this VST and why should it be as […]
Introduction We often hear about service workers in the context of caching techniques, their importance in PWAs, and overall optimization. They enable us to create offline experiences within websites or applications, perform background sync activities, and create push notifications, among other features. Let us understand what service worker is and how to implement it in […]
Introduction Caching is one of the most effective techniques for improving scalability and performance in APIs. Azure API Management (APIM) applies caching to reduce backend response time, regulate traffic bursts, and reduce latency. It can assist your service to deal with spikes in traffic (such as flash sales or promotional events). To prevent too many […]
In my earlier blog on Caching: What, Why and How with Hazelcast we have discussed about the importance of software caching and how to implement it with Hazelcast. In this blog, we are going to discuss the importance of distributed caching and how to configure Hazelcast to be a full TCP/IP cluster. What is Cache clustering? A cache cluster is […]
In modern user facing and real-time applications, performance is the top concern with usually having data at its core. What if you were able to offload some work from the database and at the same time increase the performance and response times of your application? Most of the time data handling is done by relational databases […]
Hazelcast is a popular solution for In-Memory Data Grid that is often used with Databases in order to improve performance of applications, to distribute data across servers, clusters and geographies and to manage very large data sets. Here’s a quick reference to integrate hazelcast with grails . Since Hazelcast is a distributed system, we need to put serialized […]
In some cases we need mechanism to provide compilation of groovy script at runtime. But at the same time we need to make sure it doesn’t consume the JVM to perform compilation every time when we try to access that script. Hence to perform this we need to do the following task : Compile Groovy […]
Redis plugin provides a beautiful way to cache the html tags. Using this plugin we can make big savings on the time taken to render the gsp tags. [java] <redis:memoize key="someKey" expire="3600" > //Some heavy weight tags rendering // Lots of db / network operations. </redis:memoize> [/java] I found this tag extremely helpful in rendering […]