File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 372
372
% %
373
373
% % {queue_index_embed_msgs_below, 4096},
374
374
375
+ % % The credits that a queue process is given by the message store.
376
+ % %
377
+ % % By default, a queue process is given 4000 message store credits,
378
+ % % and then 800 for every 800 messages that it processes.
379
+ % %
380
+ % % A queue process persists AMQP messages by sending them 1 by 1 to the message store process.
381
+ % % If the queue process sent 4000 AMQP messages and the message store process didn't manage to persist 800,
382
+ % % the queue process will enter flow state. If the disks are fast and uncontended, as they should,
383
+ % % the message store process will give the queue process 800 credits for every 800 messages that it processes.
384
+ % %
385
+ % % Messages which need to be paged out due to memory pressure will also use this credit.
386
+ % %
387
+ % % The Message Store is the last component in the credit flow chain.
388
+ % % Learn more about credit flow: https://www.rabbitmq.com/blog/2015/10/06/new-credit-flow-settings-on-rabbitmq-3-5-5/
389
+ % %
390
+ % % This value only takes effect when messages are persisted to the message
391
+ % % store. If messages are embedded on the queue index, then modifying this
392
+ % % setting has no effect because credit_flow is NOT used when writing to the
393
+ % % queue index.
394
+ % % {msg_store_credit_disc_bound, {4000, 800}},
395
+
375
396
% % Whether or not to enable background GC.
376
397
% %
377
398
% % {background_gc_enabled, false},
You can’t perform that action at this time.
0 commit comments