Distributed System

Understanding Transactional Outbox Pattern

Introduction: Microservices have become the standard in software development, offering benefits such as scalability, rapid deployments, smaller codebases, and low coupling. However, there’s a common pitfall: the risk of unintentionally creating a distributed monolithic architecture, where the failure of one service can impact others. To address this, we need a robust communication strategy that ensures…

Tech

How to install lazydocker in MacOS

Docker has revolutionized the way we deploy and manage applications, but sometimes navigating through Docker commands and container status can be overwhelming. Enter LazyDocker – a terminal-based UI for Docker that simplifies the Docker experience. In this guide, we’ll walk you through the installation process of LazyDocker on your system. What is LazyDocker? LazyDocker is…

Scala

Configuring Heap Size for sbt: A Complete Guide

The Simple Build Tool (sbt) is an essential tool for building, testing, and running Scala and Java projects. To ensure that sbt performs optimally and doesn’t run into memory-related issues, it’s crucial to configure the heap size properly. In this guide, we’ll explore the steps to configure the heap size for sbt, both for macOS,…

Tech

TIL – Understanding the ‘pipefail’ Option in Bash

In Bash, the ‘pipefail’ option is a powerful tool for controlling pipeline behavior. It helps ensure that pipelines provide accurate error handling and exit statuses. In this guide, we’ll explore ‘pipefail,’ its importance, and practical examples of its usage. What is ‘pipefail’? In Bash, pipelines usually return the exit status of the last command in…

Tech

A Comprehensive Guide to the Linux ‘set’ Command

The ‘set’ command is used to modify shell options and positional parameters. These options influence the behavior of the shell, affecting how it interprets and executes commands. When you use the ‘set’ command, it can change various aspects of your shell environment. This includes toggling options, managing positional parameters, and customizing the shell’s behavior. Basic…

Tech

Configuring and Managing Cron Jobs on macOS

Cron is a time-based job scheduler in Unix-like operating systems, including macOS. It allows you to automate tasks by running scripts or commands at specified intervals. This blog will guide you through configuring and managing cron jobs on macOS. What Are Cron Jobs? Cron jobs are scheduled tasks that run automatically at predefined times or…

Tech

Finding the Size of Files in macOS

When you’re using a macOS-based system, knowing how to find the size of files is essential for managing your storage efficiently. Whether you’re trying to free up disk space or ensure your files are organized, macOS provides several ways to determine the size of files and directories. In this blog, we’ll explore various methods to…

Pages