Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create messages in batches if they come in quickly #5

Open
jhs opened this issue Apr 9, 2012 · 0 comments
Open

Create messages in batches if they come in quickly #5

jhs opened this issue Apr 9, 2012 · 0 comments

Comments

@jhs
Copy link
Owner

jhs commented Apr 9, 2012

For example, set a threshold, 100ms and batch all messages that need to be created into one _bulk_docs update, and send that 100ms later.

Bonus points for still using the PUT method if there is only one message, so the CouchDB logs look nice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant