Slow startup #615
-
On my (Intel) mac, I'm starting Rabbit like this:
First I did a warmup run to get all the downloading out of the way. The second run then takes 12+ seconds from that I press Enter until I get What can I do to get this time down to at most about one second? Console OutputNote how the first log message isn't printed until about 5s after I press Enter.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Nothing, even a blank a RabbitMQ node usually takes a few seconds to start, and the more plugins you have enabled, or queues/streams in the system to recover, or definitions to import, the longer it will be. And this is for a single node, clustered nodes may perform peer discovery, wait for their peers upon a restart, things like that that depend on the state and the boot sequence/availability of other nodes. Design your system in a way that does not require one second startup of RabbitMQ nodes. |
Beta Was this translation helpful? Give feedback.
-
From my Arch Linux workstation, which is probably slower, spec-wise, than your laptop:
As you know, docker isn't a "native" thing on OS X so it will probably always be slower. I'd also suggest ensuring that DNS resolution is working as expected in your environment. |
Beta Was this translation helpful? Give feedback.
From my Arch Linux workstation, which is probably slower, spec-wise, than your laptop: