You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CloudWatch has some hard limits for the PutLogEvents API. We need a clever strategy to handle these cases:
At flush time we can send the max of 1MB, the problem is these may be heavy logs so probably the queue may never catch up and we will have latencies to report metrics.
At flush time we partition the requests and begin working on them bit by bit. We need to be careful to handle throttling since there is a TPS limit that we would need to handle.
Option 2 seems way more scalable so I'd recommend going with that approach!
The text was updated successfully, but these errors were encountered:
mihilmy
changed the title
Handle log events >= 1MB or have more than 10,000 events
Handle PutLogEvents request size limits
Mar 19, 2021
CloudWatch has some hard limits for the PutLogEvents API. We need a clever strategy to handle these cases:
Option 2 seems way more scalable so I'd recommend going with that approach!
The text was updated successfully, but these errors were encountered: