Skip to content

Engineering Cheatsheets

Technical cheatsheets for senior software engineers and architects. Focused on real-world implementation patterns, not theory.

Payment Integration (KSA)

Complete integration guides for Saudi payment systems: HyperPay gateway and SADAD EBPP. Includes Java/Spring Boot examples, security patterns, and production checklists.

Database Migrations

Flyway production patterns: zero-downtime deployments, backward-compatible migrations, CI/CD integration, and troubleshooting failed deployments.

Spring Batch

Chunk processing, partitioning, error handling, and scaling patterns for high-volume batch jobs. Includes Java config examples and performance tuning.

Apache Kafka

Architecture deep-dive: ISR mechanics, KRaft vs Zookeeper, delivery semantics, security layers, and production monitoring.

These are the reference documents I wish I had when implementing these systems in production. Each guide covers:

  • Architecture fundamentals — Understand the why, not just the how
  • Production patterns — What works at scale, what breaks
  • Security considerations — PCI-DSS, TLS, authentication, authorization
  • Troubleshooting — Common failure modes and recovery strategies
  • Code examples — Copy-paste ready Java/Spring Boot implementations

I’m a senior software engineer focused on payment systems, data engineering, and distributed systems in the GCC region. These guides consolidate lessons learned from production implementations.

Found an error or outdated information? These guides live on GitHub:

All content is versioned and timestamped. Last updated dates appear on each guide.


Kafka Guide

751 lines of Kafka architecture

Flyway Guide

Zero-downtime migrations

Spring Batch

Batch processing patterns

HyperPay

Payment gateway integration

SADAD

Saudi EBPP integration