Docker

How to configure and set expire in Redis cache using Spring Boot?

Introduction We have different cache techniques in this software industry. We will have a small talk about Redis Cache. We use cache service to improve the API response means we save the response in the cache for a duration and response is sent back from cache instead of real service/databases. Reduces the backend API calls / Database calls. Reduces loads on the blackened server. Let’s Try: Let’s Start on Redis container part.  We can run a Redis docker container in…

0
Read More

How to do operation on existing Docker container and run commands?

A Docker container is a light weighted software package which can operate independently. i.e. It has its all required dependencies to run an application works like an independent system. Sometimes we need to work on the running container to debug and analyze the outputs. We can do it very easily. Let’s do it. Lets pull a image from DockerHub . Let pull a redis docker image. We can run this image with below command: check the container is up and…

0
Read More