News for hackers. Stuff that matters.
Re:Writing a cron job microservice with Serverless and AWS L... by jedberg on Tuesday January 31, 2017 @01:53AM (#13528382)
Lambda was designed to be functions that run in response to an event. An item being put on an SQS queue is an event. The clock ticking over to the next second is an event. There is no reason why a lambda should not be triggered by these events.
Re:Writing a cron job microservice with Serverless and AWS L... by mulmen on Tuesday January 31, 2017 @02:51AM (#13528594)
Right but SQS is a pull model so it doesn't generate events. You can use SNS events to trigger a Lambda and tell it that something was added to an SQS queue or S3 or Dynamo or whatever.