Comments (3)
Same here, did you find a solution yet?
from next-payload-demo.
Wellllll, that warning message is on our radar to fix, but I think it's not exactly legit. If you look at the handler code for those endpoints, they clearly do send responses. We should have answers for this shortly.
I think the slowness you're seeing in dev is a result of each endpoint having to compile in dev mode, and in prod, it's a result of serverless cold starts. I think we can also improve a bit of the cold start issue, but not sure how much we can do about the dev endpoints needing to compile.
Regardless, I will post back with a bit more info here in a bit!
from next-payload-demo.
Hey @culicom and @samtietjen we've just looked into this extensively and were able to fix the warnings, but there are still cold start times to deal with.
There's little we can do at this point unfortunately as it seems like slow cold starts are a pretty common issue with Vercel API routes in general. We will be moving to edge functions as soon as we can, but for now, if slow starts are a concern, we'd suggest Payload Cloud instead.
Does that make sense?
from next-payload-demo.
Related Issues (12)
- Issue with login when deployed to AWS Lambda using SST HOT 1
- Using routes in app directory
- Cold Start Performance
- Triple duplicate of Autosaves & a toast warning that may be related
- CORS error when trying to fetch from different IP HOT 1
- Integration with t3 stack HOT 1
- TypeError: tag[primaryAttributeKey].toLowerCase is not a function HOT 1
- Usage of vercel cache HOT 1
- Error on Vercel HOT 2
- Deploy with docker compose
- [BUG] All layouts disappear from view when adding new layouts to existing page HOT 3
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 next-payload-demo.