Show HN: Serverless doc writing app built using Cloudflare Workers and KV Store
telex.blog
telex.blog
I hear a lot of complaints about serverless for performance and cost but I think this is exactly what Serverless is meant to do - Reduce upfront cost for low traffic and remove the barrier of managing infrastructure.
Many app welcome the benefits despite the tradeoffs.
Also I saw kv has a 10s possible eventual consistency for writes, did you bump into this at all? (This is what's stopping me using it for crud apps)
People have certainly done auth with Workers and KV before. https://liftcodeplay.com/2018/10/16/pushing-my-api-to-the-ed... and https://gist.github.com/bcnzer/04620abc992da72f83f6f1c61d71c... are two examples I've seen using JWT. We added expirations to KV to handle these sorts of use cases. I don't have a pre-built firebase example handy, but I think this should work pretty well. You'd store the ID and refresh tokens in KV, and then use those when talking to Firebase. Sounds about right. Feel free to reach out if you give it a shot and run into issues: sklabnik@cloudflare.com
(I know Lambda can also be accessed via the SDK)
Is there a plan to change the 30 worker limit?
It seems to limit the system to small/medium projects only when you can only have 30 workers and every worker can only have 1MB scripts.
I mean, they don't even offer to pay for more. They just tall about some nebulous enterprise option on the "limits" page.