Rails 6.1 was released as a stable build not so long ago. One of the features I was interested in is the support for sharding.
In this video I take my first look at it.
00:00 Introduction
01:00 Setup
02:30 What is Sharding?
06:00 Configure and Create the DBs
08:35 Put data in the database
09:10 Create a model
09:50 Migrate & Seed data
11:40 Setup ApplicationRecord
14:00 Use a shard
17:00 Advanced shard selection
19:30 Wrap up
You can read about what sharding is here: https://www.digitalocean.com/community/tutorials/understanding-database-sharding
Some people online just talk – I just do. One of my major SaaS products out there is Zonmaster.com (https://public.zonmaster.com) THE AutoResponder and Customer Management tool for Amazon Sellers. Join over 17,000 other Amazon Sellers and sign up today!
Looking for great hosting? I’ve been using DigitalOcean for 7 years and they have never let me down. Amazing.
Check them out here https://m.do.co/c/f1c6edf8597f and get $100(!!!) free credits towards the cost of servers.
#techEntrepreneur #RubyOnRails #softwareDevelopment