4 ms·
> What event system ? how does it capture the failure mode ? I have an app that is now 4 years old, on which 6 devs are working full time, what can I do today t
by tirumaraiselvan 8y ago
> What event system ? how does it capture the failure mode ? I have an app that is now 4 years old, on which 6 devs are working full time, what can I do today to make it better in a month or two ?
Good question. Definitely the wording can be improved. Let me try to explain though.
Suppose you write a simple function which processes payment. It fails. Now you can insert a state saying failed with error code 1001. Now this insert creates an event which invokes a serverless function specifically aimed at resolving this error.
This way you have smaller cohesive functions which do "atomic" work as much as possible.
PS: Co-author here.
- fiatjaf 8y agoWhat is a "serverless function"?
- chucksmash 8y agoSomething along the lines of AWS' Lambdas
- bobwaycott 8y agoI’m guessing they mean something like AWS Lambda.