StackPractices

Mathias Paulenko

Software Engineer & Founder of StackPractices

Mathias Paulenko

Mathias Paulenko

Software Engineer

Software engineer with 12+ years of experience building production systems across Python, JavaScript, React, and DevOps. I have contributed to enterprise projects spanning CI/CD pipelines, API design, cloud infrastructure, and full-stack development.

StackPractices is my personal project, born from a simple belief: great documentation should be copy-paste ready. Every recipe, pattern, and guide on this site is designed to save you time and help you ship faster.

Published Works (1008)

intermediate

Repository Pattern

Abstract data access logic behind a clean interface. An architectural design pattern for testable,...

advanced

Local LLM Deployment: Ollama, vLLM & llama.cpp

Deploy large language models locally and on-premise. Covers Ollama, vLLM, llama.cpp, quantization,...

local-llm ai ollama vllm
advanced

Complete Guide to GraphQL Caching

Cache GraphQL responses at every layer: CDN, gateway, DataLoader, persisted queries, and...

intermediate

gRPC API with Protocol Buffers

Implement a gRPC API with Protocol Buffers. Covers service definition, code generation,...

intermediate

Idempotent API Endpoints

How to design and implement idempotent API endpoints that safely handle retries, duplicate...

beginner

Docker Basics

How to containerize an application, write a Dockerfile, and run containers with Docker Compose.

intermediate

Docker Network Isolation and Inter-Container Security

Secure inter-container communication with custom Docker networks, network segmentation, and access...

beginner

Export Data to CSV and Excel Files

How to export structured data to CSV and Excel files efficiently.

intermediate

Repository Pattern with TypeScript Generics

Implement a type-safe repository pattern in TypeScript that decouples data access logic from domain...

advanced

Circuit Breaker with Monitoring

How to expose circuit breaker state as metrics for observability. Covers Prometheus integration,...

advanced

Domain-Driven Design (DDD): A Practical Guide

Learn DDD fundamentals: bounded contexts, entities, value objects, aggregates, and how to model...

intermediate

Vertical Slice Architecture: Feature-First Organization

A practical guide to Vertical Slice Architecture: organize code by feature instead of technical...

advanced

RabbitMQ Architecture: Exchanges, Queues and Clustering

Design and operate RabbitMQ for reliable messaging. Covers exchanges, queues, bindings, routing...

beginner

Implement Soft Deletes in Databases with Python, JS and Java

Learn to implement soft deletes in databases. Practical examples in Python, JavaScript, and Java...

intermediate

Traffic Mirroring for Production Testing

Mirror production traffic to staging environments for realistic testing, shadow deployments, and...

advanced

Manage Application Secrets with HashiCorp Vault and Python

Store, retrieve, and rotate application secrets securely using HashiCorp Vault with Python hvac...

intermediate

Async Generator Pattern for Lazy Streaming

Stream data lazily with async generators. Yield values one at a time as they become available,...

intermediate

Build gRPC Services in TypeScript with Protocol Buffers

Build production-ready gRPC services in TypeScript using Protocol Buffers. Covers unary, streaming,...

advanced

Schedule and Monitor DAGs with Apache Airflow

Define, schedule, and monitor Airflow DAGs with operators, sensors, XCom, task dependencies, and...

advanced

Message Processing Idempotency

Make message processing idempotent so duplicate deliveries don't trigger side effects in...

intermediate

How to Hash Passwords Securely (Python, JavaScript, Java)

Learn how to hash and verify passwords with bcrypt, Argon2, and PBKDF2. Practical examples in...

beginner

Convert CSV to JSON

Turn CSV files into structured JSON using Python, JavaScript, and Java. Pick the right library for...

intermediate

Deep Clone in JavaScript: structuredClone vs lodash vs JSON

Compare deep clone methods in JavaScript, Python and Java. Create independent copies of objects and...

intermediate

How to Use Elasticsearch Aggregations (With Examples)

Use Elasticsearch aggregations for faceted search, metrics, and time-series analytics. Step-by-step...