Self-test
Check your understanding
Self-test10 questions
Why are connections expensive and channels cheap? What's the classic performance bug that follows?
What's a virtual host, and what is and isn't shared between vhosts?
Explain exchanges, queues, bindings, and routing keys, and why publishers don't write to queues directly.
What is the default exchange, and why does it hide the exchange concept?
Why might declaring a queue fail with PRECONDITION_FAILED, and what does that suggest about where topology should be declared?
What went wrong when the first node imported definitions before the cluster formed, and how was it fixed?
Why must RabbitMQ nodes keep fixed hostnames?
When would you use a policy instead of a queue argument?
What does
check_if_node_is_quorum_criticaltell you, and when should you run it?- Design question
Lay out vhosts, users, and permissions for three services (orders, billing, email) sharing one cluster, with least privilege.