Live data from Hacker News

Show HN: Posthook – Job Scheduling as a Service

posthook.io

71–76 of 76 posts

Re: Show HN: Posthook – Job Scheduling as a Service

#71
post #49

Just curious, why would I use this instead of Sidekiq, Celery or any other job / background worker service that runs along side my app? Almost all popular job processing libraries in all major frameworks support executing 1 off tasks with robust retry policies and even support recurring tasks. The operational complexity is really just running the sidekiq or celery command in another Docker container or if you don't u…

> How much would it cost to do 3 million requests a month?

Hey! Coincidentally at the same time as the OP, I just built a recurring task hook as a service, and I can do 1 request every second (2.6 million per month) for USD$26

You can see that pricing if you plug your requirement (or if you're just curious) into the console[1]. That console is for buying once-off timers.

But I've also made a free API key for people on HN to try out using the API[2]. (those free demo jobs will be capped at 2 weeks no matter what duration is requested tho, and I might end up capping individual timers a certain amount as well, but not yet).

There's also a console for trying out this free API key (which doesn't including pricing/cost info)[3], and I just put this free demo on Show HN[4].

[1] https://pocketwatch.xyz [2] https://dosyago-corp.github.io/pocketwatch-api/ [3] https://api.pocketwatch.xyz/fancy.html [4] https://news.ycombinator.com/item?id=17353486

Re: Show HN: Posthook – Job Scheduling as a Service

#72
post #36

How do you compare/compete against something like Azure Scheduler which gives you 500 jobs with unlimited executions (max 1 per minute) for $14/month. The Azure service also supports logging (60 days), retry options, and advanced recurrence schedules (every other Tue, etc.)?

Hey. That's interesting. I'll answer as well since coincidentally at same time as OP I just built a recurring webhook scheduler[1].

That Azure pricing is very competitive / cheap! That's 22 million requests per month for USD 14.

1 timer on my service can do max request 1 per second (2.6 million per month) and that 1 timer would cost $26.

On my biggest plan you can get 4000 timers and 100 million requests per month for $495.

Still Azure is beating my prices by about 10 times. But they can't do second resolution (yet?), so they're still only a "distributed cron".

Re: Show HN: Posthook – Job Scheduling as a Service

#73

This is a good niche with the rise of serverless as there isn't a super simple way to do this if you want to hit some job every so often. You could set a header key that all requests require and bam, you got security for an ongoing task. I use kue.js myself with jobs for node and glue stuff together with redis across servers but serverless seems like it could work for a lot of use cases coupled with this idea with le…

Thanks sebringj! I agree and the rise of serverless was definitely one of the motivating factors to me building this service. Security is handled through signing the payload that includes a timestamp with an HMAC to prevent replay attacks as well.

i wonder how you ensure its 24-7 reliable? i am definitely interested in using it

Re: Show HN: Posthook – Job Scheduling as a Service

#75

Earlier quoted context omitted.

Thanks sebringj! I agree and the rise of serverless was definitely one of the motivating factors to me building this service. Security is handled through signing the payload that includes a timestamp with an HMAC to prevent replay attacks as well.

i wonder how you ensure its 24-7 reliable? i am definitely interested in using it

ah ok -> https://aws.amazon.com/batch/ that's probably how
Post reply on HN