|
355 | 355 | %%
|
356 | 356 | %% {mnesia_table_loading_retry_timeout, 30000},
|
357 | 357 |
|
358 |
| - %% Size in bytes below which to embed messages in the queue index. See |
359 |
| - %% http://www.rabbitmq.com/persistence-conf.html |
| 358 | + %% Size in bytes below which to embed messages in the queue index. |
| 359 | + %% See http://www.rabbitmq.com/persistence-conf.html |
360 | 360 | %%
|
361 | 361 | %% {queue_index_embed_msgs_below, 4096},
|
362 | 362 |
|
363 |
| - %% The credits that a queue process is given by the message store. |
| 363 | + %% Maximum number of queue index entries to keep in journal |
| 364 | + %% See http://www.rabbitmq.com/persistence-conf.html |
| 365 | + %% |
| 366 | + %% {queue_index_max_journal_entries, 32768}, |
| 367 | + |
| 368 | + %% Number of credits that a queue process is given by the message store |
364 | 369 | %% By default, a queue process is given 4000 message store credits,
|
365 | 370 | %% and then 800 for every 800 messages that it processes.
|
366 | 371 | %%
|
|
371 | 376 | %%
|
372 | 377 | %% This value MUST be higher than the initial msg_store_credit_disc_bound value,
|
373 | 378 | %% otherwise paging performance may worsen.
|
| 379 | + %% |
374 | 380 | %% {msg_store_io_batch_size, 4096},
|
375 | 381 |
|
| 382 | + %% Number of credits that a connection, channel or queue are given |
| 383 | + %% By default, every connection, channel or queue is given 400 credits, |
| 384 | + %% and then 200 for every 200 messages that it processes |
| 385 | + %% See https://www.rabbitmq.com/blog/2015/10/06/new-credit-flow-settings-on-rabbitmq-3-5-5/ |
| 386 | + %% |
| 387 | + %% {credit_flow_default_credit, {400, 200}}, |
| 388 | + |
| 389 | + %% Number of milliseconds before a channel operation times out |
| 390 | + %% |
| 391 | + %% {channel_operation_timeout, 15000}, |
| 392 | + |
| 393 | + %% Number of queue operations required to trigger an explicit garbage collection |
| 394 | + %% |
| 395 | + %% {queue_explicit_gc_run_operation_threshold, 1000}, |
| 396 | + |
| 397 | + %% Number of lazy queue operations required to trigger an explicit garbage collection |
| 398 | + %% |
| 399 | + %% {lazy_queue_explicit_gc_run_operation_threshold, 1000}, |
| 400 | + |
376 | 401 | %% Whether or not to enable background GC.
|
377 | 402 | %%
|
378 | 403 | %% {background_gc_enabled, false},
|
379 | 404 | %%
|
380 | 405 | %% Interval (in milliseconds) at which we run background GC.
|
381 | 406 | %%
|
382 |
| - %% {background_gc_target_interval, 60000} |
| 407 | + %% {background_gc_target_interval, 60000}, |
| 408 | + |
| 409 | + %% File size in bytes used for persisting messages |
| 410 | + %% |
| 411 | + %% {msg_store_file_size_limit, 16777216}, |
| 412 | + |
| 413 | + %% Whether or not to enable write file handle cache buffering |
| 414 | + %% |
| 415 | + %% {fhc_write_buffering, true}, |
| 416 | + |
| 417 | + %% Whether or not to enable read file handle cache buffering |
| 418 | + %% |
| 419 | + %% {fhc_read_buffering, false} |
383 | 420 |
|
384 | 421 | ]},
|
385 | 422 |
|
|
0 commit comments