This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit fd7771250a2c8e75f9c4b48f810854a7b9b82122 Author: Benoit Tellier <[email protected]> AuthorDate: Mon Jul 8 16:02:04 2019 +0200 JAMES-2357 Docker configuration should be included for RabbitMQMailQueue Give basic explanation on how to determine these values, pros and cons of various choices. --- .../destination/conf/rabbitmq.properties | 17 ++++++++++++++++- .../destination/conf/rabbitmq.properties | 17 ++++++++++++++++- 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/dockerfiles/run/guice/cassandra-rabbitmq-ldap/destination/conf/rabbitmq.properties b/dockerfiles/run/guice/cassandra-rabbitmq-ldap/destination/conf/rabbitmq.properties index d53d1ef..9ad5d00 100644 --- a/dockerfiles/run/guice/cassandra-rabbitmq-ldap/destination/conf/rabbitmq.properties +++ b/dockerfiles/run/guice/cassandra-rabbitmq-ldap/destination/conf/rabbitmq.properties @@ -3,4 +3,19 @@ uri=amqp://rabbitmq:5672 # RabbitMQ Administration Management management.uri=http://rabbitmq:15672 management.user=guest -management.password=guest \ No newline at end of file +management.password=guest + +# Parameters for the Cassandra administrative view + +# Period of the window. Too large values will lead to wide rows while too little values might lead to many queries. +# Use the number of mail per Cassandra row, along with your expected traffic, to determine this value +# This value can only be decreased to a value dividing the current value +mailqueue.view.sliceWindow=1h +# Use to distribute the emails of a given slice within your cassandra cluster +# A good value is 2*cassandraNodeCount +# This parameter can only be increased. +mailqueue.view.bucketCount=1 +# Determine the probability to update the browse start pointer +# Too little value will lead to unnecessary reads. Too big value will lead to more expensive browse. +# Choose this parameter so that it get's update one time every one-two sliceWindow +mailqueue.view.updateBrowseStartPace=1000 \ No newline at end of file diff --git a/dockerfiles/run/guice/cassandra-rabbitmq/destination/conf/rabbitmq.properties b/dockerfiles/run/guice/cassandra-rabbitmq/destination/conf/rabbitmq.properties index d53d1ef..9ad5d00 100644 --- a/dockerfiles/run/guice/cassandra-rabbitmq/destination/conf/rabbitmq.properties +++ b/dockerfiles/run/guice/cassandra-rabbitmq/destination/conf/rabbitmq.properties @@ -3,4 +3,19 @@ uri=amqp://rabbitmq:5672 # RabbitMQ Administration Management management.uri=http://rabbitmq:15672 management.user=guest -management.password=guest \ No newline at end of file +management.password=guest + +# Parameters for the Cassandra administrative view + +# Period of the window. Too large values will lead to wide rows while too little values might lead to many queries. +# Use the number of mail per Cassandra row, along with your expected traffic, to determine this value +# This value can only be decreased to a value dividing the current value +mailqueue.view.sliceWindow=1h +# Use to distribute the emails of a given slice within your cassandra cluster +# A good value is 2*cassandraNodeCount +# This parameter can only be increased. +mailqueue.view.bucketCount=1 +# Determine the probability to update the browse start pointer +# Too little value will lead to unnecessary reads. Too big value will lead to more expensive browse. +# Choose this parameter so that it get's update one time every one-two sliceWindow +mailqueue.view.updateBrowseStartPace=1000 \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
