Does encore.ts work in cloudflare workers? #1533
alexkreidler
started this conversation in
General
Replies: 3 comments 1 reply
|
Anyone? :) |
0 replies
|
You can’t currently deploy Encore onto Cloudflare Workers as Encore is designed more for use cases where you want to interact with actual infrastructure, like SQL databases, caching, pub/sub, etc. And in this case, running your compute closer to the database inside an actual cloud provider region is generally much more performant. However, Encore + Cloudflare still work great together, by having Cloudflare running in front to give you the Auto-CDN capabilities. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The benchmarking blog post compares it against express and Hono (which is specifically designed for edge function environments). Wondering if the Rust/native module aspect of encore.ts allows it to deploy on edge function platforms like Workers, Lambda@Edge etc.
All reactions