1984
  • tags
  • deviantArt gallery downloader
  • iTunes app price tracker
    Winston Smith

    Winston Smith

    Ruby programmer. Watching by the Big Brother.

    • Oceania
    • Website
    • Email
    • GitHub
    • Stack Overflow

    Notes about Rails 7 load_async

    1 minute read

    Use it before time consuming behaviors. Don’t try to load_async everything

    Scenarios

    • Slow queries
    • 3rd party HTTP requests

    Cons

    • Extra db connections usage

    Reference

    The In-depth Guide to ActiveRecord load_async in Rails 7

    Tags: activerecord, rails

    Updated: March 09, 2022

    Share on

    Previous Next

    You May Also Enjoy

    Backend Developer Using ChatGPT for Frontend Example

    2023-07-06 | Thank you, Mr ChatGPT

    pg 15 and gem pg Can’t find the ‘libpq-fe.h header

    2023-04-27 | The --with-pg-config option in gem install is the key

    Setup Rails 5 Webpacker on silicon MacBook

    2022-06-17 | The new MacBook seems to hate the legacy project LOL

    Fixing circular argument reference warning

    2022-06-15 | It’s about ‘keyword arguments’

    Clicky
    • Follow:
    • GitHub
    • Feed
    © 2023 Winston Smith. Powered by Jekyll & Minimal Mistakes.