Monitoring queues
Posted: 19 May 2011, 06:18
I've had my game in production for the past two months now, and so far so good. However, I've been seeing a problem that I can't seem to put my finger on. At random times, I seem to lose a whole bunch of users. When I check the logs, I find that the users complain the server is unresponsive. After about a minute later, the game returns to normal.
Graph shows a big one at 00:00

I'm wondering if it's the Extension Controller thread choking on something. I only have one Extension thread running since concurrency will be the death of me. I'm not sure why the game returns to normal after a minute or so since the Extension thread doesn't access anything external other than the database, and I'm pretty sure the database isn't the problem.
Now, I'd like to find some way to have a thread monitor the Extension Controller queue and see if the queue size is huge. That way, I might be able to pinpoint what caused the issue.
Help is much appreciated
Graph shows a big one at 00:00

I'm wondering if it's the Extension Controller thread choking on something. I only have one Extension thread running since concurrency will be the death of me. I'm not sure why the game returns to normal after a minute or so since the Extension thread doesn't access anything external other than the database, and I'm pretty sure the database isn't the problem.
Now, I'd like to find some way to have a thread monitor the Extension Controller queue and see if the queue size is huge. That way, I might be able to pinpoint what caused the issue.
Help is much appreciated

