News for hackers. Stuff that matters.
Re:Serverless, Inc. lands $10M Series A to build serverless ... by all_blue_chucks on Monday July 30, 2018 @01:24PM (#17646208)
> How, for example, do you connect to a Postgres database from Lambda/Cloud Functions?

Exactly the same way you would with an EC2 instance...

Re:Serverless, Inc. lands $10M Series A to build serverless ... by tango12 on Monday July 30, 2018 @01:41PM (#17646347)
Might not be that easy because only postgres can take a few hundreds of connections which won't work out if you have a few thousands of serverless functions? No persistent connection pools.
Re:Serverless, Inc. lands $10M Series A to build serverless ... by somebodythere on Monday July 30, 2018 @01:42PM (#17646363)
Well, just put the connection logic outside of the main handler so it's shared between invocations!

Wait, oops, you have state now.

Re:Serverless, Inc. lands $10M Series A to build serverless ... by rhlsthrm on Monday July 30, 2018 @08:04PM (#17649405)
Realistically could you do this with Redis or something similar? Not sure about security implications of this though...
Re:Serverless, Inc. lands $10M Series A to build serverless ... by GordonS on Monday July 30, 2018 @01:53PM (#17646482)
How do you handle database connection pooling?