News for hackers. Stuff that matters.
Re:Serverless, Inc. lands $10M Series A to build serverless ... by jchrisa on Monday July 30, 2018 @12:25PM (#17645636)
My employer offers FaunaDB with a pay-per-request pricing model. To bypass cold-start lambda issues, I code the app to talk directly to the database. For certain richer functions I might invoke a Lambda, but for basic crud operations the database access control does the trick. And no cold-start issue.

Here's the data model part of my todo app if you want to see queries in the app: https://github.com/fauna/todomvc-fauna-spa/blob/master/src/T...

Re:Serverless, Inc. lands $10M Series A to build serverless ... by joecot on Monday July 30, 2018 @01:02PM (#17645986)
AWS also has NoSQL cloud solutions, particularly DynamoDB, and maybe SimpleDB if you want to risk building on a someday deprecated service.

Those options work fine, if you were OK with using a NoSQL DB. But what if you wanted to use an actual relational database? For that you pretty much need Lambda in VPC, and it's not really usable because of the cold start issue.

At some point Amazon will release Aurora Serverless[1], giving a serverless option for an on demand relational database. Will that work somehow with Lambda without needing VPC, therefore defeating the cold start issue? What cold start issues we'll it have itself? I guess we'll wait and see for now.

1. https://aws.amazon.com/rds/aurora/serverless/

Re:Serverless, Inc. lands $10M Series A to build serverless ... by cmjqol on Monday July 30, 2018 @12:41PM (#17645776)
> My employer offers FaunaDB with a pay-per-request pricing model.

Tried FaunaDB few month ago the latency was beyond 200ms for a simple a read , and beyond 600ms for an insert.

Would not recommend it at this point.

Re:Serverless, Inc. lands $10M Series A to build serverless ... by jchrisa on Monday July 30, 2018 @02:42PM (#17646870)
We don’t expect you to see that lag. Other users don’t see it or haven’t reported it. What region are you accessing in and how did you generate the result?