Software Interview toolkit for Engineering manager, Engineering Director, VP of Engineering and Architect. Cloud, Java based question and answers.
Testcontainers is a very elegant, clean library to write Unit and Integration tests using docker containers, which provides almost real stacks for testing Java Spring applications.
CI/CD is now an integral part of the software development as we need to release changes to the market very frequently. For the implementation of the CI/CD, Jenkins is the most used software and has various plug-ins and large community support. Jenkins is a Java-based server for build, test and deploy applications automatically, this can […]
For creating a Redis cluster using this guide make sure you have Ubuntu running on VirtualBox and docker is installed and up. You can check this using the following command. This should display information about installed docker otherwise you need to install it. A Redis cache cluster can be created in several ways and here […]
Cassandra DB is one of the leading NoSQL database system as it can be very easily configured in scalable cluster in bot on-prime and cloud environment. Most of the leading cloud providers now providing it as managed or serverless service. It is a column based NoSQL and provides very fast write operation. Cassandra has drivers […]
In this post, I am going to show you, how you can configure a simple Cassandra cluster using VirtualBox and Ubuntu server on Windows 10. You can easily learn the basics of the Cassandra cluster and use this setup for your learning and development purpose. For this, you first need to install and set up […]
Apache Cassandra is a fault-tolerant, highly scalable, very reliable, and performant NoSql database system. It is free open-source, fully developed using java can run on any JVM-based system. Installation of the Cassandra database is very straightforward. One can just download unzip precompiled binaries and run if they have all the prerequisites to run them. For […]
AWS provides Java SDK to make requests to Amazon Web services. Using SDK we can make requests and perform the different operations of AWS services. We need to provide AWS credentials while making requests, by default SDK tries to use the default credentials configured on the host. There are various ways to provide credentials to […]
While working with arrays or lists or any other collection in java, many times we need to sort elements. For primitives and strings, it can be straightforward. But for customer objects, we need to write Comparator or implement a Comparable interface. If you are dealing with objects without Comparable interface or you need to perform […]
Using core java we can search an element in an array in many ways. For searching in arrays of primitive or Objects, some methods are common for both and some can be used with in primitive type arrays. 1- For me most efficient method is using Arrays.binarySeach method. It provides an overloaded version for all […]