[ABTEST-132] Group up user timeline events and send them in a batch Created: 07/Jan/20  Updated: 26/Aug/22

Status: Open
Project: A/B Testing
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Story Priority: Neutral
Reporter: Ilgun Ilgun Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
depends upon ABTEST-99 Research options to reduce AWS cost Open
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Epic Link: ABn Later
Team: AuthorX

 Description   

Currently, we send events on every request to the public instance meaning that one user visiting a page creates an event and that is being sent right away to the external storage. However, those events can generate a lot of cost and we have the potential to send them in a batch. The external storage system we use (S3), charges us by the size of the data and per request meaning that if we manage to group those events together and send them in a batch, we have a lot of potential to reduce the cost of the system.

 

AC

  • Use workflow to schedule sending events in a batch to S3
  • Group those events together and make sure you do not lose them if something goes wrong

Generated at Sun Feb 11 22:53:11 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.