Mathias Paulenko
Software Engineer & Founder of StackPractices
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)
Repository Pattern
Abstract data access logic behind a clean interface. An architectural design pattern for testable,...
Local LLM Deployment: Ollama, vLLM & llama.cpp
Deploy large language models locally and on-premise. Covers Ollama, vLLM, llama.cpp, quantization,...
Complete Guide to GraphQL Caching
Cache GraphQL responses at every layer: CDN, gateway, DataLoader, persisted queries, and...
gRPC API with Protocol Buffers
Implement a gRPC API with Protocol Buffers. Covers service definition, code generation,...
Idempotent API Endpoints
How to design and implement idempotent API endpoints that safely handle retries, duplicate...
Docker Basics
How to containerize an application, write a Dockerfile, and run containers with Docker Compose.
Docker Network Isolation and Inter-Container Security
Secure inter-container communication with custom Docker networks, network segmentation, and access...
Export Data to CSV and Excel Files
How to export structured data to CSV and Excel files efficiently.
Repository Pattern with TypeScript Generics
Implement a type-safe repository pattern in TypeScript that decouples data access logic from domain...
Circuit Breaker with Monitoring
How to expose circuit breaker state as metrics for observability. Covers Prometheus integration,...
Domain-Driven Design (DDD): A Practical Guide
Learn DDD fundamentals: bounded contexts, entities, value objects, aggregates, and how to model...
Vertical Slice Architecture: Feature-First Organization
A practical guide to Vertical Slice Architecture: organize code by feature instead of technical...
RabbitMQ Architecture: Exchanges, Queues and Clustering
Design and operate RabbitMQ for reliable messaging. Covers exchanges, queues, bindings, routing...
Implement Soft Deletes in Databases with Python, JS and Java
Learn to implement soft deletes in databases. Practical examples in Python, JavaScript, and Java...
Traffic Mirroring for Production Testing
Mirror production traffic to staging environments for realistic testing, shadow deployments, and...
Manage Application Secrets with HashiCorp Vault and Python
Store, retrieve, and rotate application secrets securely using HashiCorp Vault with Python hvac...
Async Generator Pattern for Lazy Streaming
Stream data lazily with async generators. Yield values one at a time as they become available,...
Build gRPC Services in TypeScript with Protocol Buffers
Build production-ready gRPC services in TypeScript using Protocol Buffers. Covers unary, streaming,...
Schedule and Monitor DAGs with Apache Airflow
Define, schedule, and monitor Airflow DAGs with operators, sensors, XCom, task dependencies, and...
Message Processing Idempotency
Make message processing idempotent so duplicate deliveries don't trigger side effects in...
How to Hash Passwords Securely (Python, JavaScript, Java)
Learn how to hash and verify passwords with bcrypt, Argon2, and PBKDF2. Practical examples in...
Convert CSV to JSON
Turn CSV files into structured JSON using Python, JavaScript, and Java. Pick the right library for...
Deep Clone in JavaScript: structuredClone vs lodash vs JSON
Compare deep clone methods in JavaScript, Python and Java. Create independent copies of objects and...
How to Use Elasticsearch Aggregations (With Examples)
Use Elasticsearch aggregations for faceted search, metrics, and time-series analytics. Step-by-step...