4 ms·
if only i could run django on cloudflare workers guess i could run it on a dedicated server would be nice if we can get django and liveview working without a
by agentifysh 10mo ago
if only i could run django on cloudflare workers
guess i could run it on a dedicated server
would be nice if we can get django and liveview working without a server
- leobuskin 10mo agoyou can do it on wasmer's workers, their last wasm/python approach is pretty solid (compatibility, performance). it's sad to say, but after 4 years of "beta" Python support on CF workers - it's still ugly. I dunno who was responsible for such a neglect, but even with the last changes - total fiasco
- gscho 10mo agoWhy is it “ugly”?
- evilmonkey19 10mo agoI wish we could host Django apps with the tasks and everything on Cloudflare workers. Also it would be nice to have a DB like SQLite within Cloudflare.
- yoavm 10mo agoCloudflare D1 is SQLite within Cloudflare.
- BiteCode_dev 10mo agoWhy, because it's free?
- isodev 10mo agoBunny has very solid edge runtime if you manage to squeeze it into wasm or “magic containers” so it’s just a pod https://bunny.net/cdn-lp https://bunny.net/cdn-lp
- slig 10mo agoShould be possible with this, no? https://developers.cloudflare.com/containers/ https://developers.cloudflare.com/containers/
- fulafel 10mo agoThey just announced many improvements to Python workers earlier this month: https://blog.cloudflare.com/python-workers-advancements/ https://blog.cloudflare.com/python-workers-advancements/ https://github.com/G4brym/django-cf https://github.com/G4brym/django-cf has a template (among other things) to get started Another option is the containers stuff mentioned in sibling comment but it's not so FaaS.
- _boffin_ 10mo agoWe ran Django on AWS Lambas years ago. Wasn’t fun and caused headaches, but worked