genql VS query-counter

Compare genql vs query-counter and see what are their differences.

genql

Type safe TypeScript client for any GraphQL API (by remorses)

query-counter

SQLAlchemy model N+1 debugger! (by tatari-tv)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
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
genql query-counter
5 1
847 13
- -
7.9 0.0
about 2 months ago 11 months ago
TypeScript Python
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.

genql

Posts with mentions or reviews of genql. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-05.

query-counter

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.

What are some alternatives?

When comparing genql and query-counter you can also consider the following projects:

trustfall - A query engine for any combination of data sources. Query your files and APIs as if they were databases!

join-monster - A GraphQL to SQL query execution layer for query planning and batch data fetching.

restQL-core - Microservice query language

foundation - GraphQL Foundation Charter and Legal Documents

pycon-graphql

objection-filter - Filter objection.js models over HTTP using complex search queries

Hasura - Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.

graphql-cached-get

ent - An entity framework for Go

postgrest - REST API for any Postgres database