paint-brush
A Dive into Active Record Connection Pools and Horizontal Sharding in a Gemby@jolyon

A Dive into Active Record Connection Pools and Horizontal Sharding in a Gem

by Jolyon Pawlyn2mJune 5th, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

The author provides this code and software “AS IS”, without any warranty of any kind, express or implied. The author is not liable for any claim, damages or other liability in connection with the software or code provided here. The solution we arrived at below has only been tested with puma. It is not always a great idea but accessing the undercover power and capabilities of Rails can make a lot of sense when the alternative is a whole lot more challenging. The solution is only a solution for active record 6.0 so we upgraded our gem to 6.1.
featured image - A Dive into Active Record Connection Pools and Horizontal Sharding in a Gem
Jolyon Pawlyn HackerNoon profile picture
Jolyon Pawlyn

Jolyon Pawlyn

@jolyon

Ruby Ruby Ruby

About @jolyon
LEARN MORE ABOUT @JOLYON'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Jolyon Pawlyn HackerNoon profile picture
Jolyon Pawlyn@jolyon
Ruby Ruby Ruby

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here