MirahLabs Engineering Blog
Technical insights, tutorials, and architectures written by our design and backend engineers.
Secrets Management in CI/CD: HashiCorp Vault and GitHub Actions
Hardcoded secrets in code or CI logs are a leading cause of security breaches. Learn how to use HashiCorp Vault and GitHub's secrets engine to manage credentials securely.
The Outbox Pattern: Guaranteeing Eventual Consistency in Distributed Systems
Updating a database and publishing an event to a message broker in a single action often leads to race conditions. Use the Outbox Pattern to guarantee dual-write consistency.
Advanced Python Generators: Coroutines, Subgenerators, and yield from
Generators are more than lazy lists. Master coroutine communication, two-way data streaming, and delegation using the `yield from` expression.
Creating and Managing Technical Debt in Early-Stage Startups
Technical debt is not always bad. Learn how to leverage 'intentional tech debt' to launch products faster, and design a system to pay it down before it slows development.
Domain-Driven Design: Bounded Contexts and Aggregates in Practice
Domain-Driven Design aligns software models with business domains. Learn how Bounded Contexts, Aggregates, and Domain Events work together to build maintainable enterprise systems.