Top 10 Ruby MySQL Projects
-
Project mention: Backup: Ruby Gem for Easy full stack backup operations on Unix-like systems | news.ycombinator.com | 2022-07-30
-
Flipper is a gem that makes feature flags and different ways to toggle them available in Rails. It is highly modular. Apart from the main gem, you'll also have to pick a storage adapter — but more on that later. Let's use the ActiveRecord adapter for now.
-
Scout APM
Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
-
Project mention: I need to write a database query language. I have a blank sheet of paper. | reddit.com/r/ProgrammingLanguages | 2022-07-19
-
Advisory locking is a mechanism used to prevent concurrent execution of code without necessarily locking the database table or row. In core Ruby, this is implemented using mutex. In Rails, the Ruby gem with_advisory_lock can be used to add advisory locking (mutexes) to ActiveRecord when used with MySQL or PostgreSQL.
-
-
Project mention: Changing Tires at 100mph: A Guide to Zero Downtime Migrations | news.ycombinator.com | 2022-05-04
At least for Rails there are several gems available (ie https://github.com/WeTransfer/ghost_adapter or https://github.com/departurerb/departure) that seamlessly hook into the existing migration system and will run all eligible migrations through gh-ost or pt-osc as needed. You're right that it's not free but it isn't all that far off either.
That said, online schema migrations are a specialized tool designed for very big tables that take hours to run an ALTER TABLE on. If all your tables are small enough that alterations take less than a second or so, don't bother and just block the table for a bit. It's fine.
-
wt_activerecord_index_spy
A gem to spy queries running with Active Record and report missing indexes
As an extra tip, if you want to be even more protected against performance problems related to the database, take a look at the wt-activerecord-index-spy gem, which helps to detect queries that are not using proper indexes.
-
SonarLint
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
-
activerecord-tidb-adapter
TiDB adapter for ActiveRecord, allows the use of TiDB as a backend for ActiveRecord and Rails apps.
Project mention: Build a Rails App with TiDB and the ActiveRecord TiDB Adapter | dev.to | 2021-08-27The activerecord-tidb-adapter provides compatible patches and some tidb-specific functions, such as Sequence.
-
Project mention: Changing Tires at 100mph: A Guide to Zero Downtime Migrations | news.ycombinator.com | 2022-05-04
At least for Rails there are several gems available (ie https://github.com/WeTransfer/ghost_adapter or https://github.com/departurerb/departure) that seamlessly hook into the existing migration system and will run all eligible migrations through gh-ost or pt-osc as needed. You're right that it's not free but it isn't all that far off either.
That said, online schema migrations are a specialized tool designed for very big tables that take hours to run an ALTER TABLE on. If all your tables are small enough that alterations take less than a second or so, don't bother and just block the table for a bit. It's fine.
-
Ruby MySQL related posts
Index
What are some of the best open-source MySQL projects in Ruby? This list will help you:
Project | Stars | |
---|---|---|
1 | Backup | 4,720 |
2 | flipper | 3,006 |
3 | SearchCop | 767 |
4 | with_advisory_lock | 492 |
5 | rom-sql | 195 |
6 | departure | 121 |
7 | wt_activerecord_index_spy | 72 |
8 | activerecord-tidb-adapter | 21 |
9 | ghost_adapter | 15 |
10 | Feedka | 13 |
Are you hiring? Post a new remote job listing for free.