query-counter

SQLAlchemy model N+1 debugger! (by tatari-tv)

Query-counter Alternatives

Similar projects and alternatives to query-counter

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

query-counter reviews and mentions

Posts with mentions or reviews of query-counter. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-06.
  • GraphQL Is a Trap?
    18 projects | news.ycombinator.com | 6 May 2022
    I just got done doing a talk on GraphQL for PyCon2022 and I do agree with some of the points here. Performance work can be tedious and is not bi-directional in the graph so the number of dataloaders can blow up making debugging hard. Identifying where n+1 queries are in the API can also be difficult, but I used this open source package to help: https://github.com/tatari-tv/query-counter. I think the article failed to mention two of the things that GraphQL does really well: dense queries and built-in pagination. You're able to do the work of many serialized REST queries in one query using the node context of the GraphQL graph structure, which is a huge win if you're hitting performance issues related to requests per second to your API. Also pagination using the cursor, before/after, etc. is very helpful and Flask_Graphene enables some slick caching there to make subsequent queries at that cursor to be extremely performant. I have code with my sample implementation which simple, but shows the power of DataLoaders: https://github.com/lame/pycon-graphql.

Stats

Basic query-counter repo stats
1
13
0.0
11 months ago

tatari-tv/query-counter is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of query-counter is Python.


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