Counting the active session number and tune up concurrent performance of MapGuide/AIMS
By Daniel Du
I was asked how to count the number of active sessions in AIMS, unfortunately there is no public API to do that. But I came across Jackie’s blog post (Jackie is an active contributor of MapGuide Open Source), in which he exposed a method, it is pretty interesting, I would like to share with you:
"You can actually count the number of sessions that are active by looking at the Repositories/Session folder of your MapGuide Server install directory. Each session takes 2 files (a .db file and a .dbxml file), so the math is not rocket science.”
In this blog post, Jackie also demonstrate the performance capability of MapGuide and provide suggestions how to tune it up. If you have performance problem with MapGuide, especially when you have many concurrent user, this blog will definitely help you.