django-auto-prefetching

Automatic prefetching for Django (by GeeWee)

Django-auto-prefetching Alternatives

Similar projects and alternatives to django-auto-prefetching

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better django-auto-prefetching alternative or higher similarity.

django-auto-prefetching reviews and mentions

Posts with mentions or reviews of django-auto-prefetching. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-26.
  • Ban 1+N in Django
    10 projects | news.ycombinator.com | 26 Mar 2023
    Shameless plug - I ran into this while developing REST interfaces with Django and built django-auto-prefetching: https://github.com/GeeWee/django-auto-prefetching

    It essentially travels your DRF serializer tree and builds an auto-prefetched query automatically without you needing to do any work.

    Back when I still worked actively on it, I wanted to monkey-patch models to track whether or not n+1 was happening, and if it was, automatically do pre-fetching, so instead of an n+1 problem you'd end up with just a "3-4 queries when it could've been 1" problem - which is much more palatable. Never got around to that part though.

Stats

Basic django-auto-prefetching repo stats
1
227
4.6
5 months ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com