Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
How can one monitor all Verk hosts using a single VerkWeb instance? #26
I have several instances running a Verk-backed application and I’d like to see the stats for the machines in aggregate. I’m having a couple issues.
Yes, it's expected behaviour!
We don't store data about all the processes inside Redis so it's not shared between VerkWeb instances. After benchmarking multiple instances with 10000+ processes each we noticed that the update of the processes state was affecting the performance so we decided to keep it in memory. Also it wouldn't be possible to inspect current state/stacktrace of a process if the pid is not running on the same node (as we have no connection between Verk instances)
Just all time stats (as they are flushed from time to time with predictable performance) and the jobs (retries, dead jobs, queue) are stored inside Redis.
If we had connection between Verk nodes we could gather the whole information and show to the user.
Hi Eduardo, thanks for your response. That makes sense. But I'm still unclear about this:
Then why don't we use the values from Redis rather than
It would be nice to have the persistent values from Redis for queue specific failed/processed stats. Would you be okay with a change like that? Did I explain my case well?