Announcing pluck_in_batches - a new gem providing a faster alternative to the custom use of `in_batches` with `pluck`

This page summarizes the projects mentioned and recommended in the original post on /r/ruby

Scout Monitoring - Performance metrics and, now, Logs Management Monitoring with Scout Monitoring
Get early access to Scout Monitoring's NEW Ruby logging feature [beta] by signing up now. Start for free and enable logs to get better insights into your Rails apps.
www.scoutapm.com
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • pluck_in_batches

    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:

  • Scout Monitoring

    Performance metrics and, now, Logs Management Monitoring with Scout Monitoring. Get early access to Scout Monitoring's NEW Ruby logging feature [beta] by signing up now. Start for free and enable logs to get better insights into your Rails apps.

    Scout Monitoring logo
  • Ruby on Rails

    Ruby on Rails

    There was recently a PR into rails (https://github.com/rails/rails/pull/45414), upcoming in Rails 7.1, that already made whole table batching quite a lot faster, so I compared the performance against the Rails "main" branch.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Everyday performance rules for Ruby on Rails developers

    2 projects | /r/rails | 7 Dec 2023
  • EXISTS clause for active record

    2 projects | /r/rails | 29 Oct 2022
  • Friendly IDs for Ruby on Rails

    2 projects | dev.to | 20 Oct 2022
  • N+1 problem will never be an issue with N1Loader gem

    4 projects | /r/u_djezzzl | 22 Jan 2022
  • Rails 6.1 adds query method associated to check for the association presence

    2 projects | /r/rails | 15 Feb 2021

Did you konow that Ruby is
the 12th most popular programming language
based on number of metions?