acts_as_nosql
Allows to treat JSON fields of postgres and mysql as real fields (by monade)
pluck_in_batches
A faster alternative to the custom use of `in_batches` with `pluck` (by fatkodima)
acts_as_nosql | pluck_in_batches | |
---|---|---|
2 | 2 | |
35 | 134 | |
- | - | |
5.2 | 5.6 | |
4 months ago | 7 months ago | |
Ruby | Ruby | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
acts_as_nosql
Posts with mentions or reviews of acts_as_nosql.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-09.
-
Just released acts_as_nosql, a gem to manage JSON fields as proper database fields
In CI, I hadn't yet time to make run the tests on all combination of DB engines / SO / ruby versions, since I had trouble to make SQLite work properly on latest version with Github Actions. At the moment, PostgreSQL is tested on ubuntu, SQLite is tested on macOS. https://github.com/monade/acts_as_nosql/blob/master/.github/workflows/test.yml
pluck_in_batches
Posts with mentions or reviews of pluck_in_batches.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-07.
-
Everyday performance rules for Ruby on Rails developers
And for an example with generating CSV with pluck, https://github.com/fatkodima/pluck_in_batches can be utilized to make it faster.
-
Announcing pluck_in_batches - a new gem providing a faster alternative to the custom use of `in_batches` with `pluck`
I released a new gem (https://github.com/fatkodima/pluck_in_batches) - a faster alternative to the custom use of in_batches with pluck. It performs half of the number of SQL queries, allocates up to half of the memory and is up to 2x faster (or more, depending on how far is your database from the application) than the available alternative:
What are some alternatives?
When comparing acts_as_nosql and pluck_in_batches you can also consider the following projects:
Lol DBA - lol_dba is a small package of rake tasks that scan your application models and displays a list of columns that probably should be indexed. Also, it can generate .sql migration scripts.
premailer-rails - CSS styled emails without the hassle.
Ruby on Rails - Ruby on Rails
online_migrations - Catch unsafe PostgreSQL migrations in development and run them easier in production (code helpers for table/column renaming, changing column type, adding columns with default, background migrations, etc).
fast_count - Quickly get a count estimation for large tables (>99% of accuracy for PostgreSQL).