Engineering notes
Notes from building Salesforce event-delivery infrastructure: the Pub/Sub API in production, BEAM operations, and delivery-guarantee design. New posts in the feed.
Jul 28, 2026 · Engineering Team
Six things nobody tells you about the Salesforce Pub/Sub API
Silent event loss from reading a stream in the wrong process, connections that die without a word, a replay-ID error message that says "valid", and three more failure modes we hit running CDC subscriptions in production.
Jul 28, 2026 · Engineering Team
How a gRPC client leak crashed our BEAM: a literal_alloc post-mortem
grpc-elixir parks every channel — including a ~600KB cacerts blob — in :persistent_term and never erases it. Under reconnect churn that exhausts the BEAM's literal area and aborts the VM. Root cause, the erase-then-resurrect race, and the fix.