DataLoader is a generic utility to be used as part of your application's data fetching layer to provide a consistent API over various backends and reduce requests to those backends via batching and caching.
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.
The best way to build a modern backend + admin UI. No black magic, all TypeScript, and fully open-source, Payload is both an app framework and a headless CMS.
First up, we want to hear from you! If you haven't yet, make your voice and vote known on our Roadmap GitHub Discussion.
Appwrite - The open-source backend cloud platform. Add Auth, Databases, Functions, and Storage to your product and build any application at any scale while using your preferred coding languages and tools.
Seeking advice on the best headless CMS for an expanding news site
3 projects | /r/nextjs | 3 May 2023
Any recommendations for a multi-project/client CMS?
3 projects | /r/reactjs | 8 Jan 2023
Speed test - Payload vs. Directus vs. Strapi
4 projects | dev.to | 28 Sep 2022
Looking for Headless CMS with components
2 projects | /r/webdev | 15 Aug 2022
Top CMS for my gatsby website?
2 projects | /r/gatsbyjs | 13 Jul 2022