Re:Launch HN: Batch (YC S20) – Replays for event-driven systems
by ponker on Monday August 17, 2020 @06:24PM
(#24192954)
Thanks. So an event that goes in would be something like, “user logged in,” and services that care about that data would be...? Sorry still having some trouble understanding it.
[ Parent
| on HN ]
Re:Launch HN: Batch (YC S20) – Replays for event-driven systems
by newtoyou on Monday August 17, 2020 @07:22PM
(#24193466)
Pretty much. A good example might be an online store. Let's say one of your internal services deals with notifying UPS, FedEx, or DHL to pick up and deliver a package from your warehouse and ship to a customer. You could use something like Kafka to store messages about delivers which your internal service will pickup and process and then notify the delivery companies API.
Something like Batch could be helpful in this situation. For example, let's say a dev makes a deploy that breaks only the FedEx delivery notification or the FedEx API breaks in a way your were not expecting. Once the issue is fixed on the dev side or FEDEX side you could use Batch to search for all FEDEX delivers that were handled improperly during the time frame of the issue. This way you are not randomly resending messages to all your delivery companies for an issue that was only related to one vendor.
Re:Launch HN: Batch (YC S20) – Replays for event-driven systems
by ponker on Monday August 17, 2020 @11:49PM
(#24195055)
makes sense, thanks. How would this be better than the logs you'd get from each service?
Re:Launch HN: Batch (YC S20) – Replays for event-driven systems
by michaelvmata on Monday August 17, 2020 @07:32PM
(#24193534)
You might have an achievement service. It watches for logins and grants a user an achievement after logging in for N consecutive days. Your authentication code need not know that an achievement service exists.