by vbsteven · 8y ago · 0 comments
Instead of doing the simple thing and running a server process that periodically checks some queue for tasks to execute, this "scheme" involves triggering a lambda function every minute, to do some IO operations on a distributed file store where the execution date metadata is embedded in the filenames to see if there is some task to execute. If there is, some more distributed IO operations are required to move the file to another part of the distributed file storage, where some listener will notice a new file was added and trigger the actual lambda function with the task-specific code...
But hey, you're not running any servers yourself...
As far as using a queue, lambda also supports triggering based on a queue.
Waking on items in queue would be better, though, and AWS has it built-in; the authors just did not use it for some reason.