Love these weekly videos, sadly can't join the str...
# general
b
Love these weekly videos, sadly can't join the stream due to the timezone difference but these are really good resources to have. Been thinking about EventBridge vs Step functions for orchestrating a simple async process for uploading and parsing files of different formats in to a unified format that's eventually written to a DB. Anyone got any thoughts on which way to go? Or maybe there's another pattern people use for this sort of thing?
f
Hey @Brinsley, I probably need more context to make a better call, but EventBridge seems to be the better fit here.
User makes a call to upload a file -> fire an event -> api returns
And u have an event subscriber that go ahead and does the parsing.
b
Appreciate you weighing in. I had a chat with my team earlier and ended up leaning more towards the Step Functions as there's a lot of baked in error handling, retries, etc... which this particular service will need to have implemented. Annoyingly we need to push data to S3 due to potential file size concerns, otherwise I would've swayed more in favour of EventBridge using the outbox transaction pattern. Still would need to roll our own retries/error handling solution but I guess I'll play aroud with something in that area at another point 😂