dataloader
Directus
dataloader | Directus | |
---|---|---|
47 | 208 | |
12,642 | 25,517 | |
0.3% | 1.3% | |
3.1 | 9.9 | |
about 1 month ago | 1 day ago | |
JavaScript | TypeScript | |
MIT License | GNU General Public License v3.0 or later |
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.
dataloader
-
Delving into the Black Magic of GraphQL DataLoader! ๐โจ
When I began working with GraphQL, I had concerns about the N+1 query problem. In my research, I came across the DataLoader pattern and its implementation on GitHub. While I explored various examples of its usage, I still struggled to grasp how it operates internally. Join me in delving a bit deeper into GraphQL DataLoader! :)
-
How to use DataLoader with Mercurius GraphQL
DataLoader: it is the standard solution to N+1 problem.
-
Best Practices in Testing GraphQL APIs
Additionally, you can use DataLoader or similar tools to optimize data fetching and avoid over-fetching or under-fetching data. Ultimately, performance and load tests ensure that your GraphQL API delivers optimal performance, meets response time expectations, and provides a smooth experience for users, even under heavy loads.
-
Migrating Netflix to GraphQL Safely
The most common practice is to turn N+1 into 1+1 using dataloaders (https://github.com/graphql/dataloader for JS, there are equivalents for most implementations). The N resolvers invoke a single batched loader which receives a list of keys and returns a list of values.
-
SQL vs. NoSQL - cutting through the Tech Twitter noise
Let's take Payload, for example. Surprise, surprise. We have a relationship field, and it can store IDs to other related documents which are seamlessly merged in when you retrieve documents from the DB. We leverage the dataloader pattern to batch together all "populations" required for a given query, returning them all super fast and with as few separate queries to the DB as possible. We actually even outperform SQL-based frameworks quite a bit. In a purely relational test, we were 3x faster than Directus and 7x faster than Strapi while both were running Postgres, and we were on MongoDB.
- NoSQL vs. SQL - cutting through the Tech Twitter noise with a real-world use case
-
We Ditched REST and Went with GraphQL: Hereโs Why
Also, have a look at Facebook's Dataloader[0].
[0] https://github.com/graphql/dataloader
-
Implementing logger with metadata
In the next article, I'm going to implement a GraphQL server with dataloader using the tools we introduced.
-
Typesafe, (almost) Zero Cost Dependency Injection in TypeScript
The one example of using Scoped dependency that comes to my mind, it's HTTP request level caching for libs like dataloader.
-
GraphQL Trades Complexity
you would fetch these 1000 rows via dataloader that batches all requests for this relation to a single query... solving the n+1 issue
Directus
-
How to Deploy Directus as a Backend-as-a-Service (BaaS) on Koyeb
Directus is an open data platform built to serve as a headless CMS, API, or Backend-as-a-Service (BaaS) for other applications. It is designed to make data accessible to people of all technical levels and to make it easy to build data-centric applications. Directus is extensible and can be integrated with many different frontend technologies to create stable, well-structured development and user experiences.
-
Headless CMS: Directus vs Payload vs Strapi in 2024
As of April 2024, Directus' GitHub repository has accumulated 25.2k stars and 3.5k forks, showcasing its active community. The project has secured $8+ million in funding, further fueling its growth and development.
- Our repo hit a milestone today with 25k GH stars
-
Form to DB
I don't know, it's something I've wanted many times.
Recently I discovered https://directus.io/ which comes pretty close and it's open source.
-
Open-Source Headless CMS in 2024
Directus: The Shape-Shifting Maverick
-
A Year of Self-Hosting: 6 Open-Source Projects That Surprised Me in 2023
The Backend to Build Anything or Everything | Directus
-
Best "Excel-as-a-database" alternative?
today I discovered https://directus.io/
-
Ikr
You could try https://www.airtable.com/ (check the prices) or https://directus.io/ (check the prices) or hire someone :)
-
Prismic.io is increasing our price by *1900%* over Christmas
I using Directus CMS on several projects with pretty complicated flows, api extensions etc. probably there will be some work if you move. I liked Directus is because it's standard SQL I can always move my DB and documents to another solution. I don't use their hosted solution but they have an unlimited offering for $100 / month.
-
Looking for a (primarily) WYSIWYG platform to build a MySQL interface.
Have you looked at Directus? Iโm not sure exactly what your needs are (sorry if Iโve misunderstood). I used it for my most recent project as the backend for data entry/queries/administration. It supports MySQL, but admins donโt need to know anything about SQL to do complex queries/filters/CSV exports from the Directus UI.
What are some alternatives?
Redis - Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.
supabase - The open source Firebase alternative.
react-relay - Relay is a JavaScript framework for building data-driven React applications.
Strapi - ๐ Strapi is the leading open-source headless CMS. Itโs 100% JavaScript/TypeScript, fully customizable and developer-first.
Knex - A query builder for PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3 and Oracle, designed to be flexible, portable, and fun to use.
Appwrite - Your backend, minus the hassle.
jest - Delightful JavaScript Testing.
budibase - Budibase is an open-source low code platform that helps you build internal tools in minutes ๐
Sequelize - Feature-rich ORM for modern Node.js and TypeScript, it supports PostgreSQL (with JSON and JSONB support), MySQL, MariaDB, SQLite, MS SQL Server, Snowflake, Oracle DB (v6), DB2 and DB2 for IBM i.
KeystoneJS - The most powerful headless CMS for Node.js โ built with GraphQL and React
gRPC - The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
nocodb - ๐ฅ ๐ฅ ๐ฅ Open Source Airtable Alternative