RabbitMQ - Performance TuningYou want to apply flow control only when memory usage exceeds 60% but keep disk limits at default. How do you configure this?A{rabbit, [{vm_memory_high_watermark, 0.6}]}B{rabbit, [{disk_free_limit, 0.6}]}C{rabbit, [{vm_memory_high_watermark, 0.6}, {disk_free_limit, 50000000}]}D{rabbit, [{vm_memory_high_watermark, 0.6}, {disk_free_limit, infinity}]}Check Answer
Step-by-Step SolutionSolution:Step 1: Set memory watermark onlyTo trigger flow control on memory only, set vm_memory_high_watermark to 0.6.Step 2: Leave disk limit defaultOmitting disk_free_limit keeps it at default, so only memory triggers flow control.Final Answer:{rabbit, [{vm_memory_high_watermark, 0.6}]} -> Option AQuick Check:Set memory watermark only to 0.6 = D [OK]Quick Trick: Set only vm_memory_high_watermark to control memory flow [OK]Common Mistakes:MISTAKESSetting disk_free_limit to a fraction (invalid)Trying to disable disk limit with 'infinity'Combining memory and disk limits unnecessarily
Master "Performance Tuning" in RabbitMQ9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More RabbitMQ Quizzes Clustering - Network partitions and split-brain - Quiz 5medium Clustering - Why clustering provides high availability - Quiz 2easy Clustering - RabbitMQ cluster formation - Quiz 11easy Monitoring and Management - Management plugin and HTTP API - Quiz 5medium Monitoring and Management - Key metrics to monitor - Quiz 1easy Monitoring and Management - Prometheus and Grafana integration - Quiz 11easy Monitoring and Management - Alerting on queue depth and consumer lag - Quiz 2easy Performance Tuning - Channel and connection pooling - Quiz 15hard Performance Tuning - Consumer prefetch optimization - Quiz 12easy Security and Operations - TLS/SSL encryption - Quiz 2easy