Redis Cluster Setup on Local

Step 1: Download the latest version from the following link and extract the files.https://redis.io/downloadNOTE: If the latest version creates any issues please download the version 5.0.8Step 2: Go to the redis folder (cd redis-6.0.8/) and run the 'make' command. If there is a issue running make command, run 'make test' instead.Step 3: Navigate to utils/create-cluster/ .As All cluster … Continue reading Redis Cluster Setup on Local

Implement parallel calls in Spring

https://dzone.com/articles/spring-boot-creating-asynchronous-methods-using-as https://www.javadevjournal.com/spring-boot/spring-async-annotation/ https://engineering.zalando.com/posts/2019/04/how-to-set-an-ideal-thread-pool-size.html https://stackoverflow.com/questions/43874079/how-to-decide-on-the-threadpooltaskexecutor-pools-and-queue-sizes https://engineering.zalando.com/posts/2019/04/how-to-set-an-ideal-thread-pool-size.html https://www.javadevjournal.com/spring-boot/spring-async-annotation/

NodeRED usage for MQTT client and server simulation

About Node-RED is a programming tool for wiring together hardware devices, APIs and online services in new and interesting ways. It provides a browser-based editor that makes it easy to wire together flows using the wide range of nodes in the palette that can be deployed to its runtime in a single-click. Usage To simulate … Continue reading NodeRED usage for MQTT client and server simulation

Code Review Best Practices

1. Expectation From Developer from code perspective: Scope and size. Changes should have a narrow, well-defined, self-contained scope.Only submit complete, self-reviewed (by diff), and self-tested PRsRefactoring changes should not alter behavior; conversely, behavior-changing changes should avoid refactoring and code formatting changes.Commit messages: Try to describe both what the commit changes and how it does 2. Expectation From code Reviewer:  As a … Continue reading Code Review Best Practices

Developer tools

Sonarqube/sonarlint: code quality along with Jacco code coverage reportwireshark: visualise network packetsvisual studio: to test performance of applicationZabbix: to monitor the server health and cpu usesKibana: to check centralised logs of multiple instancesPinpoint: application monitoring tool to check application threads and time taken in an API.Vault: to store credentials like db,awsJenkins: to build and deployment … Continue reading Developer tools