skip to content
clipboard

Posts

  • Circuit Breaker Pattern

    How the circuit breaker pattern stops one slow service from taking down the rest: states, thresholds and libraries.
  • CQRS: Command Query Responsibility Segregation

    Separate read and write models to scale and optimise each side, and the trade-offs that come with eventual consistency.
  • DynamoDB: GSI vs LSI

    Global vs local secondary indexes: key differences, query scope, creation timing, consistency and cost.
  • Encoding vs Encryption vs Tokenization

    Three often confused techniques: encoding is about format, encryption about confidentiality, tokenization about substitution.
  • AWS Lambda Performance Best Practices

    Cold start remedies, memory and runtime choices, async processing, batching and layers to make Lambda faster and cheaper.
  • Transactional Outbox Pattern

    Publish events reliably by writing them to an outbox table in the same transaction as your data, then relaying them.
  • Storing Passwords Securely with Argon2id

    Argon2id parameters, bcrypt as a fallback, schemas for MySQL and DynamoDB, and a security checklist for password storage.
  • Pessimistic vs Optimistic Locking

    Two ways to handle concurrent updates: lock rows up front, or detect conflicts at write time.
  • Proxy vs Reverse Proxy

    The difference between forward and reverse proxies, their use cases, and implementations such as Nginx, ALB and CloudFront.
  • Publish-Subscribe Pattern

    Decouple producers and consumers with topics and brokers, delivery guarantees, and when to pick Kafka, Redis, RabbitMQ or SNS.

Browse the full archive →