Code Monk

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

Install ElasticSearch 7 on Ubuntu 18.04

Carvia Tech | May 17, 2020 | 3 min read | 72 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

Custom TTL for Spring data Redis Cache

Carvia Tech | May 15, 2020 | 2 min read | 23 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

Create permanent swap space in Centos 7

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

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

Read Article

Spring Data ElasticSearch using HTTPS and Basic Auth

Carvia Tech | May 06, 2020 | 1 min read | 0 views

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

Read Article

h2load for REST API benchmarking

Carvia Tech | May 03, 2020 | 3 min read | 508 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 | 31 views

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

Read Article

Scp to send & receive files on unix

Carvia Tech | April 13, 2020 | 1 min read | 13 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

Migrating Spring Boot tests from Junit 4 to Junit 5

Carvia Tech | April 05, 2020 | 2 min read | 3,833 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 | 88 views

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

Read Article

Get distinct words from a given file in Java

Carvia Tech | February 13, 2020 | 2 min read | 155 views

Using HashSet data-structure we will extract distinct words from a given file. Java 11 and Kotlin solutions will be provided for this coding problem.

Read Article

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