Scaling connections with Ruby and MongoDB

1 · Coinbase · June 18, 2020, 4:40 p.m.
By Michael de HoogCoinbase was launched 8 years ago as a Ruby on Rails app using MongoDB as its primary data store. Today, the primary paved-road language at Coinbase is Golang, but we continue to run and maintain the original Rails monolith, deployed at large scale with data stored across many MongoDB clusters.This blog post outlines some scaling issues connecting from a Rails app to MongoDB, and how a recent change to our database connection management solved some of these issues.Global VM Loc...