Published in Geek Culture·PinnedYourkit Remote Java Application Profiling with DockerProfiling java application always has been tricky for me. Profiling local java application is easy comparing with profiling remote java application. Few days back I was searching ways to profile remote java application and have taken quite time to figure out how to do that without additional extra cost to…Java4 min read
Published in Geek Culture·Dec 12, 2021Jayway Jsonpath can consume most of your service CPU, If you are using it in wrong way.I have been fortunate enough to work on service optimisation tasks and in optimisation journey have solved few issues that I think has major role in optimising our service. One of these issue is CPU consumption by Jayway Jsonpath library. Jayway Jsonpath library were using most of service CPU and…Jayway2 min read
Published in Geek Culture·Oct 4, 2021Reducing service latency with aggressive cache reload.We built a new service. Service has many scenarios where your service needs to make a remote request to fulfill its requirement. Perhaps these calls are to another service, some other third-party service OR your service database. …Caching Data3 min read
Published in Geek Culture·Sep 5, 2021Distributed Lock Using Redis And JavaLast year I got chance to work on distributed locking. With the distributed locking we have solved problem of refreshing Redis cache from multiple service instance. Let’s discuss first what we cache and how multiple instances were trying to reload cache at the same time. Our microservice act as a…Distributed Systems4 min read
Published in Geek Culture·Aug 23, 2021Ways to delete multiple keys from Redis cache.Redis cache key can be deleted in two ways. With Keys Command Keys command will scan all the keys present in the Redis data base with matching pattern that is provided as input in single go. Scanning all the keys in the production Redis will take time if you have millions of keys…Redis3 min read
Published in Geek Culture·Aug 5, 2021API Monitoring Dashboard using Graylog.APIs is a language for a microservice. They are essentially the only elements that are accessible to other teams. API response time and the consistency of the API are two major SLA defined by each team. API monitoring is an essential part of microservice monitoring. API monitoring has different forms…Api Development5 min read