cqs icon indicating copy to clipboard operation
cqs copied to clipboard

Create messages in batches if they come in quickly

Open jhs opened this issue 13 years ago • 0 comments

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.

jhs avatar Apr 09 '12 02:04 jhs