4 ms·
There is a great authentication boilerplate that is set up for AWS. It might not be so hard to extend it for other platforms. Here is a blog post I did showin
by jchanimal 9y ago
There is a great authentication boilerplate that is set up for AWS. It might not be so hard to extend it for other platforms. Here is a blog post I did showing how to use the boiler plate with FaunaDB for authentication and authorization.
https://serverless.com/blog/faunadb-serverless-authentication/ https://serverless.com/blog/faunadb-serverless-authenticatio...
- 21 9y agoThanks, this is the kind of stuff I was looking for. BTW, I looked a bit at FaunaDB pricing. If I understood corectly, 1 mil requests costs $10. In Cosmos DB, also if I understood corectly, 1 month of 400 req/second, so 400 x 86400 x 30 ~= 1 billion requests costs $25. I don't know much about FaunaDB, and very likely you can't compare things the way I did, for once, Cosmos DB has separate storage costs which seems included in FaunaDB, spikes in usage require extra provisioning in Cosmos, but it's still a 3 orders of magnitude pricing difference. I'm not saying you're not worth it.
- jchanimal 9y agoThe big question is whether you have traffic that is steady state or spiky. Steady state traffic is more economical to service with FaunaDB Enterprise on your "own" hardware. But then it is not fully managed. That said, our goal is never to have a customer turn away because of price, so reach out at chris@fauna.com and I can take a look at your numbers more closely.