Code Monk

Tech forum for Java, algorithms & data-structures, Hibernate, RESTful API, Spring framework, Microservices architecture, Interview questions, Python, SDET, Machine learning, DevOps.

Custom TTL for Spring data Redis Cache

Carvia Tech | June 29, 2020 | 2 min read | 249 views

Spring Boot 2.2 provides options to customize Redis Cache using RedisCacheManagerBuilderCustomizer enabling us to set custom value for TTL (time-to-live) for each of the cache.

Read Article

Scp to send & receive files on unix

Carvia Tech | June 19, 2020 | 1 min read | 24 views

Scp is widely used unix utility to send and receive files from remote server in a secure fashion. It support password based authentication as well as password less RSA based authentication mechanism.

Read Article

Submit Form with Java 11 HttpClient - Kotlin

Carvia Tech | June 10, 2020 | 2 min read | 0 views

In this article we will show how to submit a URL encoded form using Java 11 HttpClient Api in sync as well as async fully non-blocking mode using Kotlin.

Read Article

Spring Data ElasticSearch using HTTPS and Basic Auth

Carvia Tech | June 09, 2020 | 1 min read | 0 views

In this article we will configure Spring Data Elastic Search RestHighLevelClient using SSL and Basic Authentication.

Read Article

Install ElasticSearch 7 on Ubuntu 18.04

Carvia Tech | May 17, 2020 | 3 min read | 141 views

In this tutorial, we will show you how to install single node cluster of ElasticSearch 7.7 on Ubuntu 20.04 LTS and manage it with systemctl.

Read Article

Create permanent swap space in Centos 7

Carvia Tech | May 08, 2020 | 2 min read | 22 views

In this article, we will add file system based additional memory on Centos 7 operating system using swap file.

Read Article

h2load for REST API benchmarking

Carvia Tech | May 03, 2020 | 3 min read | 567 views

h2load is a benchmarking tool for HTTP/2 and HTTP/1 with support for SSL/TLS. h2load uses non-blocking IO for making concurrent calls to target GET/POST endpoint.

Read Article

Configure Logging in gunicorn based application in docker container

Carvia Tech | April 26, 2020 | 2 min read | 105 views

In this tutorial you will learn how to add logging in flask application running on gunicorn server in docker

Read Article

Migrating Spring Boot tests from Junit 4 to Junit 5

Carvia Tech | April 05, 2020 | 2 min read | 4,537 views | java junit

In this tutorial we will learn to migrate existing Junit 4 testcases in Spring Boot 2.2.0 to Junit 5.

Read Article

Install Erlang and Rabbitmq on Ubuntu 18

Carvia Tech | March 15, 2020 | 2 min read | 196 views

This article will walk you through Erlang and RabbitMQ installation on Ubuntu 18.04 bionic server.

Read Article

This website uses cookies to ensure you get the best experience on our website. more info