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
reduce the latency of events to db (by removing wait time)
increase the efficiency/capacity of the listener by better CPU use
Currently we insert events by events sequentially and wait between insertions.
Steps:
Enable parallelism between IO & events preparation: while a insert in DB is in progress, we can deserialize and prepare the nexts events
as long as the ongoing insert is not finished we prepare the events (this can be handle by the insert function)
Enable batch: next time we contact the DB for insertion , we can batch the ready prepared events for a batch INSERT
Enable multiple insert: same but we accept a bounded number (e.g. 2 or 3) of multiple INSERT are ongoing. e.g. if a number of minimum events are ready and an insertion slot is ready than we insert
The text was updated successfully, but these errors were encountered:
Goal:
Currently we insert events by events sequentially and wait between insertions.
Steps:
Enable batch: next time we contact the DB for insertion , we can batch the ready prepared events for a batch INSERT
Enable multiple insert: same but we accept a bounded number (e.g. 2 or 3) of multiple INSERT are ongoing. e.g. if a number of minimum events are ready and an insertion slot is ready than we insert
The text was updated successfully, but these errors were encountered: