Live data from Hacker News

Show HN: Jiter – Just in Time Webhooks

jiter.dev

11–20 of 47 posts

Re: Show HN: Jiter – Just in Time Webhooks

#11

Please do not interpret this comment as negative in any way - I am sincerely trying to understand what this does. Instead of setting up cronjobs on a machine I own, this allows me to set up a cronjob on jiter servers to make a callback to my server? Who is your target user? I am happy to run cronjobs or systemd timers on servers that I or my team control. And for execution in environments like GitHub Actions or AWS L…

FWIW my engineering org built a service that pretty much does what Jiter offers because we need to do things like schedule messages to be sent in the future.

> And for execution in environments like GitHub Actions or AWS Lambda, they all have functionality to trigger execution with a timer.

We use it for triggering things dynamically within services. For example, when someone books a flight we need to send a follow-up email X amount of time later. Building a scheduler into the service that handles booking the flight might make sense, but what happens when we need to do the same thing for someone booking a hotel or car rental? Instead we just have a service that stores all of the messages it needs to send in the future and has a tight reconciliation loop to send out those webhooks.

> This introduces added complexity of maintaining a webhook receiver and having to deal with the rather complex failure modes of webhooks.

If you only need to do it once, sure. If you standardize the behavior/API then it reduces complexity a ton.

Re: Show HN: Jiter – Just in Time Webhooks

#12

Please do not interpret this comment as negative in any way - I am sincerely trying to understand what this does. Instead of setting up cronjobs on a machine I own, this allows me to set up a cronjob on jiter servers to make a callback to my server? Who is your target user? I am happy to run cronjobs or systemd timers on servers that I or my team control. And for execution in environments like GitHub Actions or AWS L…

No post body was provided.

Re: Show HN: Jiter – Just in Time Webhooks

#13

Please do not interpret this comment as negative in any way - I am sincerely trying to understand what this does. Instead of setting up cronjobs on a machine I own, this allows me to set up a cronjob on jiter servers to make a callback to my server? Who is your target user? I am happy to run cronjobs or systemd timers on servers that I or my team control. And for execution in environments like GitHub Actions or AWS L…

Hey there! I'm another dev from the Jiter team.

Awesome feedback and thanks for taking the time to challenge us! Sorry in advance for the wall of text, but you asked some great questions.

It sounds like you’re probably a bit outside our target market because you sound comfortable building a scalable solution of your own. However, our target user is either unwilling to build their own or they don’t have the skillset to efficiently build and maintain a separate cron app/server.

As for other execution environments, those definitely have options for scheduling things and setting up recurring events, but you have limited flexibility and things like Type Safety can be quite the burden because they're disparate from your core app. (And while I totally agree GitHub Actions is an option, that doesn't sound fun at all haha). However, what they don't have is flexibility around the "when"...

For example, let's say you want to check to see if a user has performed XYZ action within their first 72 hours after signup. You could setup a cron job to fire once daily to simply poll ALL new users, lock those rows, and join with other tables to see if they're relevant for a follow-up email OR you could setup a Jiter event to target that specific user at exactly 72 hours after their signup. The result is distributed, small queries delivered just in time. The payload contains exactly the information you need to handle that one action and you spread your DB queries out over time to minimize larger impact to a decent chunk of your table.

I agree about the complexity of maintaining the webhook, but hopefully that logic is super focused and ideally you'd use different routes/handlers for different events so each is small and maintainable.

Great feedback all around and I'm curious to see if you have a follow up on any of that!

TL;DR - We're not for everyone, but we think we offer a convenient solution for those looking for flexibility and for those without the skillset to roll their own.

Re: Show HN: Jiter – Just in Time Webhooks

#14
post #7

Hey HN! Today we are launching Jiter, a service that lets you schedule callbacks and receive webhook events when you are ready for them. We got really annoyed by having to manage cron jobs in our application when the vast majority of the functionality that we needed was to be reminded that an event was supposed to happen in the future. Jiter makes this simple since all you need to provide is an ISO timestamp, a strin…

It looks interesting but even after signing up I cannot find any documentation aside from the basic code snippets. An example of what I would like to know is: what if things go wrong, will there be retries?

Our team is definitely working on better docs, this is purely an MVP.

If you're interested in using it, join our Discord and we'll do everything we can to make the platform work for your use case!

https://discord.gg/NPC6GBDBXp

Re: Show HN: Jiter – Just in Time Webhooks

#16
post #5

Hey HN! Today we are launching Jiter, a service that lets you schedule callbacks and receive webhook events when you are ready for them. We got really annoyed by having to manage cron jobs in our application when the vast majority of the functionality that we needed was to be reminded that an event was supposed to happen in the future. Jiter makes this simple since all you need to provide is an ISO timestamp, a strin…

From the homepage and the examples after signing up, I don't get if you are able to create one event which would be recurring and trigger a webhook every week/month/year etc. or is that not possible yet?

In addition to what Jose posted above, we also want to encourage users to use the existing functionality as a trigger for setting up recurring handlers.

For example, if you receive an event to your webhook and you want that webhook to fire again at the same time tomorrow, make a new call to Jiter and create a new event when you receive the first event and you can chain them together. Hopefully by end of day today we'll be able to include the original scheduledTime in the webhook body so you can use that as the base for the new event (e.g., createNewEvent(body.scheduledTime + twentyFourHours)

And as Jose said, we definitely plan to make recurring events possible in the immediate future too!

Thanks for the feedback/interest!!!

Re: Show HN: Jiter – Just in Time Webhooks

#17

Love the irony that while the product is trying to "Make cron jobs a thing of the past", it probably runs with one polling the scheduled messages every second to send them JIT

Hey, we're trying to make them a thing of the past for *YOU* XD

Hopefully you won't ever have to write them again because we're falling on the sword for you.

Re: Show HN: Jiter – Just in Time Webhooks

#18
post #13

Please do not interpret this comment as negative in any way - I am sincerely trying to understand what this does. Instead of setting up cronjobs on a machine I own, this allows me to set up a cronjob on jiter servers to make a callback to my server? Who is your target user? I am happy to run cronjobs or systemd timers on servers that I or my team control. And for execution in environments like GitHub Actions or AWS L…

Hey there! I'm another dev from the Jiter team. Awesome feedback and thanks for taking the time to challenge us! Sorry in advance for the wall of text, but you asked some great questions. It sounds like you’re probably a bit outside our target market because you sound comfortable building a scalable solution of your own. However, our target user is either unwilling to build their own or they don’t have the skillset t…

Actually, I hadn't considered that signup use case at all. Good point. It could be a useful way of offloading heavy data processing to Jiter.

It would be useful to see on your website what the webhook request from Jiter.dev would look like. How does the receiver know that the webhook came from Jiter with no tampering by a middleman? Is there a signature that the user could verify? (Slack does this well on their webhooks.)

Congratulations on the launch, and I wish you the best!

Re: Show HN: Jiter – Just in Time Webhooks

#19
post #13

Earlier quoted context omitted.

Hey there! I'm another dev from the Jiter team. Awesome feedback and thanks for taking the time to challenge us! Sorry in advance for the wall of text, but you asked some great questions. It sounds like you’re probably a bit outside our target market because you sound comfortable building a scalable solution of your own. However, our target user is either unwilling to build their own or they don’t have the skillset t…

Actually, I hadn't considered that signup use case at all. Good point. It could be a useful way of offloading heavy data processing to Jiter. It would be useful to see on your website what the webhook request from Jiter.dev would look like. How does the receiver know that the webhook came from Jiter with no tampering by a middleman? Is there a signature that the user could verify? (Slack does this well on their webho…

Yea we think it's a solid use case (mostly because we had that problem ourselves with a previous product haha)

And another great question! We use signing secrets to create a signature so you can validate that the request from us is authentic.

And thanks! This is just the beginning for us, so hopefully you give us a chance and sign up so we can notify you as we release new features!

Re: Show HN: Jiter – Just in Time Webhooks

#20
Congratulations on the launch, it's something I've been meaning to build for a while, and was actually chatting with @onassar about it (also on this thread) when he built his. It's very much useful, don't let people discourage you just because it's not useful for them. :P

Btw, if you are ever tired with managing your own webhook infra, we[1] do webhook sending as a service, and we have also open-sourced the core tech[2] in case you find it useful.

[1] https://www.svix.com

[2] https://github.com/svix/svix-webhooks

Post reply on HN