Sobes.tech
Senior

If losing multiple analytics events is acceptable — how can you do without the outbox pattern?

sobes.tech AI

Answer from AI

If losing some analytics events is acceptable, events can be sent directly to the analytics system asynchronously, without using the outbox pattern. For example, non-blocking sending through message queues or HTTP requests with error handling can be used, but without guarantees of re-sending in case of failures.

This simplifies the architecture, reduces delays and load on the database, but some events may be lost during failures or service restarts. This approach is suitable when analytics are not critical and can tolerate incomplete data.

If losing multiple analytics events is acceptable… - sobes.tech