Greetings,

You probably reached end of the internet.

Horizontal Scaling

Scale pragmatically. Understand your data, choose technologies wisely, and design for future growth without overengineering. Keep services stateless, use NoSQL only when truly needed, and prioritize solving current problems while preparing for future scaling. The goal is to delay scaling as long as possible while staying ready for when it becomes necessary.

July 22, 2024

Kafka Oversimplified Concepts

Important concepts in simplified manner, so you know what to expect

April 16, 2022

Replication Flow

TBD: diagram 1. Create replication slot This way, you preserve WAL (new changes) from being deleted. This would also create a snapshot of a current state. Snapshot can be exported, or reused in current transaction. 2. Import existing data. In replication only changes are streamed. Current state needs to be backuped manually. Physical replication: There is a mechanism to make a backup of a running server, called “base backup”. You need to specify snapshot name, to avoid data races....

April 6, 2022

What is Postgres Write-Ahead Log

Write-Ahead Log docs As it states in name, it’s log that’s written BEFORE any actual changes are made. The most important thing, WAL can be replayed and will always give same result. Being compact binary representation of operations and minimal data used in them, gives us few functions: Ability to restore after crash Replicate data by transfering log segments and replaying them in replica nodes. Replacing multiple random writes with single sequential write....

April 6, 2022

Building multiarch docker images for Go

How to build small multiarch image using Github Workflow

April 5, 2022

Move Resources Between Different TF States

Copy-paste example of terraform states manipulation.

December 6, 2021

Postgres and Elasticsearch Realtime Sync

The power of sequential WAL decoding.

November 22, 2021

Cozy And Efficient Tech Interview

What if candidate is smarter than you?.. How to check knowledge and experience within few hours?..

November 21, 2021

GPG Hardware Key and Git Signing

Weird behavior when usign subkeys. The mistery of exclamation mark.

November 21, 2021