Comments (2)
Hello,
I've subscribed to a supabase pro plan and the issue is still the same.
I've compared to a postgresql instance on railway and I've come to the conclusion that Supabase is actually the bottleneck as the experience with postgresql turns out to be significantly better
I've contacted the supabase team to find the origin of the issue.
Thanks
from nextjs-starter-medusa.
Hey @Saadchr,
Have you tried running everything locally (Next.js server, Medusa server with npx medusa develop
, redis-server, postgres db)? Generally speaking, this should result in faster performance the your are showing in your video, depending on your machine ofc.
I have no experience working with Supabase, so I don't know if that could be the bottleneck.
The demo stack is:
- Storefront: Vercel (pro plan)
- Medusa Server: Heroku (Basic dyno)(incl Postgres Standard-0 and Redis Premium-0)
On a side note, the middleware.ts in the current version is a bit buggy. I'm working on a better version and some cache improvements, which might benefit your case. But even then, the performance in your video is slower than what it should be.
from nextjs-starter-medusa.
Related Issues (20)
- Issue with storefront CSS/styling HOT 1
- <meta name="robots" content="noindex"/> is being added to all the pages HOT 9
- zero-decimal currencies are beeing divided by 100 HOT 1
- Fails to compile, cant deploy to Vercel either HOT 1
- Unable to Build storefront HOT 3
- Out of Stock inventory throws 400 but isn't handled gracefully on StoreFront
- Cart Page was loading very slow
- Desktop search broken in Safari HOT 2
- Phone number not found in context during checkout.
- Demo page not working HOT 4
- Too Many Redirects 307 HOT 6
- How do you keep your store up-to-date with this starter? HOT 6
- Undefined tailwind classes HOT 1
- Clicking on checkout btn on cart page -> Error: Could not find Elements context; You need to wrap the part of your app that mounts <CardElement> in an <Elements> provider. HOT 18
- You cannot complete a cart without a payment session
- Products that are out of stock do not show up as such. HOT 1
- Dark mode incompatibility HOT 15
- Deployment on Vercel results in net::ERR_TOO_MANY_REDIRECTS error HOT 8
- calculatePrice for dynamic shipping cost no longer working HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextjs-starter-medusa.