3 ms·
This stuff is hard and we're all still figuring it out. Just recently we realized we built a monolith because we weren't paying enough attention to whether all
by tmclaugh 9y ago
This stuff is hard and we're all still figuring it out. Just recently we realized we built a monolith because we weren't paying enough attention to whether all the features should be a part of a single system. We're going to revisit that.
Don't look at your function as an app, it's an function and the best functions do a single thing. The definition of a single thing depends on the scale of view you're taking. But that may help you to realize your functions shouldn't be very complex and possibly small enough to test more easily.
However, that results in increased system complexity as you start adding SNS topics, SQS queues, DynamoDB tables, and all sorts of event triggers. Something I've adopted is using draw.io (others use Lucid Chart) to draw out the system logic. Maybe this helps?
https://www.draw.io/ https://www.draw.io/
https://www.lucidchart.com/ https://www.lucidchart.com/
Maybe this makes the confusion worse?