prosgarz35 commented on code in PR #3194: URL: https://github.com/apache/james-project/pull/3194#discussion_r4139873946
########## server/apps/postgres-app/sample-configuration/activemq.properties: ########## @@ -0,0 +1,32 @@ +# ============================================================================== +# Apache ActiveMQ Artemis Embedded Queue Configuration +# ============================================================================== +# Controls persistence, journal I/O batching, and client interaction for the +# embedded Artemis broker backing James mail queues (spool, outgoing, etc.). +# ============================================================================== + +# Transactional journal sync (true = full ACID durability / Zero Data Loss) +# Messages are guaranteed to be flushed to persistent storage upon commit. +artemis.journal.sync.transactional=true + +# Non-transactional journal sync (avoid redundant fsync for non-critical metadata) +artemis.journal.sync.non.transactional=false + +# High-precision journal group commit timeout in nanoseconds (NIO). +# 1,500,000 ns = 1.5 ms. Coalesces concurrent writes across parallel threads +# into a single physical disk flush, drastically reducing disk latency spikes. +artemis.journal.buffer.timeout.nio=1500000 + +# Write buffer size for journal NIO operations (default: 1 MB) +artemis.journal.buffer.size.nio=1048576 + +# Maximum concurrent direct/NIO write operations allowed +artemis.journal.max.io.nio=500 + +# Enables asynchronous non-blocking connection execution inside Artemis engine +artemis.async.connection.execution=true + +# JMS Client Connection Factory optimization +# Delegates persistence waiting directly to the optimized journal engine +artemis.client.block.on.durable.send=false +artemis.client.block.on.acknowledge=false Review Comment: > > Can we appply the suggestion in the default configuration ? > > (please?) I do it? I just not completely understand what to do 😠-- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
