graphql-batch
Spree Commerce
Our great sponsors
graphql-batch | Spree Commerce | |
---|---|---|
3 | 25 | |
1,404 | 12,640 | |
0.4% | 0.6% | |
6.2 | 8.8 | |
20 days ago | 7 days ago | |
Ruby | Ruby | |
MIT License | BSD 3-clause "New" or "Revised" License |
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.
graphql-batch
-
The GraphQL N+1 Problem and SQL Window Functions
After recognizing the problem, we brainstormed options to offload some of the work onto the database server to ultimately reduce the Rails application’s memory consumption. One particularly promising avenue involved SQL window functions. After deciding to pursue SQL window functions, we started our work by considering the WindowKeyLoader example described in the graphql-batch repository.
-
N+1 problem will never be an issue with N1Loader gem
Interesting, I've just been researching Dataloader implementations for Ruby and have between trying to decide between GraphQL::Dataloader, graphql-batch and BatchLoader. I'll give this a look as well. Can you also make API calls inside the loaders?
-
"I'm the CTO of a Growing Rails Startup" Ask Me Anything
This is mainly addressed in the last thing but we cache pretty heavily on our REST APIs and for GraphQL we use the graphql-batch gem pretty heavily. Those two things can go a long way. Make sure you're using an APM like Scout to keep an eye on things and then debug the outliers.
Spree Commerce
- Ask HN: Suggestions about platform to develop a customizable B2B marketplace
-
What is the right approach to handle an inventory system with Items and prices that may change over time? How do you adjust Item prices without affecting a past Sale that references it?
A good system to study is Spree https://github.com/spree/spree. It has an inventory and billing system and supports different adjustments and sale configurations. If you don't want to use it wholesale it's a solid Rails application that does most of what you want so you can use it as solid inspiration.
-
Self-hosted FOSS eCommerce solution suggestions
Spree Commerce: https://spreecommerce.org/
- My Open Source eCommerce List
- Laravel ECommerce Platforms
- PHP ECommerce Platforms
- Webshop preporuka za tehnologiju
-
Are there any open source Rails templates for online stores .
Maybe Spree?
-
ROR ecommerce tutorial?
I'd say Solidus and Spree are you best options rather than trying to roll out you own ecommerce solution.
-
Building and Growing Remote Teams with Ivy Evans
When I was working on that company, that mobile ordering app, Counterless, I looked a lot at codebases like Spree, the Spree Commerce codebase. And that's how I learned a lot about how do you model an order with line items and things like that? I saw some amazing things that helped me develop an understanding and save a ton of time by looking at oh, they have a state machine. What are the ways that an order transitions through all these different states as it gets processed and charged? And how do you track all of those things?
What are some alternatives?
graphql-guard - Simple authorization gem for GraphQL :lock:
Solidus - đź›’ Solidus, the open-source eCommerce framework for industry trailblazers.
graphql-client - A Ruby library for declaring, composing and executing GraphQL queries
Saleor - Saleor Core: the high performance, composable, headless commerce API.
GQLi - Ruby GraphQL Client for Humans
Active Merchant - Active Merchant is a simple payment abstraction library extracted from Shopify. The aim of the project is to feel natural to Ruby users and to abstract as many parts as possible away from the user to offer a consistent interface across all supported gateways.
moql - Mock GraphQL server for fast reliable integration tests.
vendure - A headless GraphQL commerce platform for the modern web
BatchLoader - :zap: Powerful tool for avoiding N+1 DB or HTTP queries
Bagisto - Free and open source laravel eCommerce platform
Koala - A lightweight Facebook library supporting the Graph, Marketing, and Atlas APIs, realtime updates, test users, and OAuth.
Sylius - Open Source eCommerce Framework on Symfony