News for hackers. Stuff that matters.
Re:Show HN: Posthook – Job Scheduling as a Service by mcintyre1994 on Tuesday June 19, 2018 @12:00PM (#17347875)
Neat! We've been doing something like this at work, and another simple solution (curious if your Google cloud infrastructure is built on something similar) is Azure Service Bus queues with a function app trigger.

Unlike AWS SQS, Azure SB queues can have items scheduled to be queued at an arbitrary time, see https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure..... SQS can only delay up to 15 minutes, so you have to implement your own hack to schedule for later than that.

And also unlike SQS, they can trigger a function so you don't have to deal with the logic to listen yourself - or even the transactional message handling, if the function fails the message is automatically re-queued.

Re:Show HN: Posthook – Job Scheduling as a Service by PretzelFisch on Wednesday June 20, 2018 @12:07AM (#17352512)
Aws just announced "ECS Daemon Scheduling" https://aws.amazon.com/about-aws/whats-new/2018/06/amazon-ec... It sounds promising.
Re:Show HN: Posthook – Job Scheduling as a Service by cgenuity on Tuesday June 19, 2018 @12:23PM (#17348052)
Thanks! I do heavily use Google Cloud Pub/Sub but it does not support scheduling items so I only schedule items when they are due for processing.
Re:Show HN: Posthook – Job Scheduling as a Service by navinsylvester on Wednesday June 20, 2018 @12:40AM (#17352621)
Wouldn't it be good to have your own pub/sub mechanism instead of relying on a third party like gce for a critical component. Take for example - https://github.com/grpc/grpc/issues/13327. It took them fair amount of time to fix that issue.
Re:Show HN: Posthook – Job Scheduling as a Service by ben509 on Tuesday June 19, 2018 @03:15PM (#17349490)
Interesting... AWS leaked that subscriptions to SQS are in the works, but it's good to see that Azure has that already.
Re:Show HN: Posthook – Job Scheduling as a Service by jwilsco on Tuesday June 19, 2018 @07:31PM (#17351156)
> AWS leaked that subscriptions to SQS are in the works

Interesting, where did you hear that?