-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add generator back pressure mechanism in collector. Defer the
state machine dequeue when the database queue crosses a threshold so that no more entries are enqueued to the database queue. Similarly defer the session reader when the state machine queue crosses a threshold so that no more events are enqueued to the state machine queue. Deferring the session reader should lead to the socket transmit buffer on the generator getting full and build up of the transmit sandesh queue and eventually drop of the sandesh messages there. Closes-Bug: #1447349 Change-Id: Id14f97f7d9a035569eb22541e888202f2886d4dd (cherry picked from commit b5a8d14)
- Loading branch information
Megh Bhatt
committed
Apr 30, 2015
1 parent
49e00ad
commit feb6c0d
Showing
5 changed files
with
117 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters