Skip to content
This repository has been archived by the owner on May 8, 2021. It is now read-only.

Writes to the backing database are batched, instead of being throttled #36

Closed
ZohebV opened this issue Jun 14, 2013 · 2 comments
Closed
Assignees
Labels

Comments

@ZohebV
Copy link

ZohebV commented Jun 14, 2013

1432eb6

Copy pasting the comment here

This and the previous Cassandra writer change to the background writer thread creates a regression. The old code would throttle writes to maintain a steady speed of writes to the backing database. These changes remove the sleep after every write and put it after all the writes have gone in together. This is a bug that can overload the database. Please revert to the earlier behavior.

@ghost ghost assigned sunweik Jun 14, 2013
@sunweik
Copy link
Contributor

sunweik commented Jul 1, 2013

As we discussed, I added a random factor in sleep time within following pull request, please check.
#40

@sunweik
Copy link
Contributor

sunweik commented Jul 2, 2013

#40 pull request is in to add randomness for writing time.

@sunweik sunweik closed this as completed Jul 2, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

2 participants