Securing the Monolith: CSRF, Redis, and the Driver Lifecycle
2025-12-16From fixing critical security holes to architecting the driver signup flow. A deep dive into CSRF in Dream, Azure Redis, and the importance of building a mental model.
Welcome to my blog, where I share thoughts, tutorials, and insights on software engineering, functional programming, and industry trends.
From fixing critical security holes to architecting the driver signup flow. A deep dive into CSRF in Dream, Azure Redis, and the importance of building a mental model.
Complete guide to deploying OCaml containers to Azure App Service with SSH access, database migrations, and PostgreSQL extension management. From Docker multi-stage builds to production user creation.
Implementing secure session utilities, upgrading WebAuthn flows with better logging.
Building a complete WebAuthn/Passkeys authentication system in OCaml: from bytea binary storage challenges to Base64 encoding layers, model validation, and repository patterns.
Complete guide to implementing OpenTelemetry in OCaml with Dream Framework, including Azure Monitor integration, environment-specific configuration, and production-ready tracing middleware.
A weekend sprint documenting the evolution from basic OCaml models to comprehensive validation infrastructure with field enhancements, time utilities, and cryptographic security improvements for the Chaufr MVP
Building a comprehensive database testing suite for Chaufr: integration tests, transaction verification, migration rollback testing, connection pool stress tests, and performance benchmarks using Alcotest, Lwt, and Caqti
Implemented a production-minded database migration system for Chaufr: CLI, tracking, checksum validation, rollback, and safe SQL execution.
A comprehensive sprint retrospective documenting the implementation of a near-production-ready database and service layer using OCaml, Caqti, UUID v7, and standardized error handling for the Chaufr MVP
A practical, production-focused walkthrough of building a PostgreSQL connection pool in OCaml using Caqti_lwt_unix, with health checks, graceful shutdown, and Dream integration
A comprehensive guide to deploying OCaml applications on Azure App Service using Azure Container Registry - from authentication challenges to production success
How I built a fully automated OCaml solution pipeline for Advent of Code with input downloading, solution running, and automatic submission
A beginner's guide to functional programming with OCaml
Missing a specific topic? Have a question? Let me know!