Re:The Serverless Revolution Will Make Us All Developers
by alexasmyths on Tuesday October 03, 2017 @01:17PM
(#15394067)
That's helpful, thanks, but none of those are full solutions.
Even if they are accessible via a javascript api, we need them accessible via regular HTTP for so many reasons.
'Periodic invocations' my gosh man, that seems like a big hack, requiring yet another service.
I get that there is /tmp - but it's not guaranteed to be persistent. I wish it were.
Anyhow - my main point is ... Lambda's don't seem to be designed for us in mind :)
Thanks for the pointer on S3FS, I will definitely check that out.
You can call AWS Lambdas directly through the AWS SDK (or dozens of other event sources like SQS, Timers, etc.)
+ Allow us to keep them 'hot' so latency is low.
You can keep lambdas "hot" with periodic invocations, it's not standardized, but it's a thing
+ Give us a way to access some kind of persistent file storage with 'fs'.
There's also access to 500mb of data on /tmp. It's not always cleared after each invocation of your function, especially if it's invoked multiple times in succession, so you can use it as a "scratchpad" that provides some soft caching under high load.
S3FS works if you just want to expose S3 through an 'fs' interface.