Vineet Gopal from Benchling writes an interesting post about their approach to running migrations on highly-contested databases in production. A new concept for me was that they automatically retry migrations that fail due to lock timeouts. This reduces the number of failed deployments and manual intervention steps.
In this post Paweł Dąbrowski shows how to leverage Ruby’s value equality (
===) method, and overriding the default functionality in custom exceptions. The results is cleaner exception handling code.
Alvise Susmel writes in detail how to use Phoenix Chat PubSub implementation using the
pg2 library. The result a distributed, multi-node chat service that does not have an external dependency to a separate system (like Redis).