0

We are switching web hosts, and I have been asked to find out how many concurrent users the Magento-based websites have in order to estimate the appropriate hardware.

How can I find this information out?

The webserver is lightspeed (like apache) and it is PHP-based.

Other information that may (or may not) be helpful is that the sites are currently hosted on a shared hosting solution, so I don't think I can install any monitoring software.

I have noticed that Magento has a built in report that may be similar to this... Admin -> Customers -> Online Customers. But I have a feeling this report isn't really what the new web host is looking for.

Should this question be posted in another Stack Exchange site?

shaune
  • 2,510
  • 1
  • 31
  • 36
  • 2
    you should consider asking the question on ServerFault. It's not really a programming question – Jonathan Day Apr 01 '11 at 00:40
  • Yeah, I thought that might be a better place. The main problem is that the host is shared, so we don't have access to many tools, and the guys on SF seem to be mostly sysadmins with access to more tools than I have available... was kinda hoping someone had a magento-specific idea. But you are probably right. – shaune Apr 01 '11 at 13:45

2 Answers2

0

Run some analysis on your server logs. Or if there are no logs available to you set up google analytics, let it run for a while and get a good indication of traffic levels.

David Gillen
  • 1,172
  • 5
  • 14
0

Sign up for Google Analytics at http://www.google.com/analytics/. They will provide you with a tracking code to paste into the html of your site. Insert that into your header template. It may take half a day or longer for the stats to accumulate.

Then take a look at your peak hourly stats. Click visitors then switch the graph to hourly and take a look at the hour with the max visits. That will help you approximate the amount of traffic your new host will need to accomodate. Also take a look at pageviews since that's also an important metric. Visits and pageviews are not the same as concurrent users but it should put you in the right direction.

Are you moving to a dedicated or at least dedicated resource vps? If you're currently on a shared host, it's really hard to get a true sense for what type of hardware you are going to need (I'm assuming the reason you are switching is because of performance problems). I'd suggest starting with a basic dedicated server and then either going up or down from there based on your results.

You could try the m1.small instance at Amazon EC2 which will cost you about $70/month and you'll be able to host multiple sites on there. Of course you'll have to manage the server yourself.

Sameer Parwani
  • 309
  • 1
  • 7
  • Thanks. I have google analytics already and I guess the hourly graph sorta-kinda gets me closer. Not exactly what I was hoping for, but I didn't know about how to do an hourly graph before, so thanks for the tip! – shaune Apr 01 '11 at 13:42
  • Well there's really no point load testing until you get your own hardware. Even if you find your current server can handle X concurrent users and you decide to upgrade to a "better" shared plan there is no consistency between one shared host and another, so it's still a guessing game. Once you have your own hardware there are a thousand things you can do to determine the load your site can handle and then improve it. – Sameer Parwani Apr 03 '11 at 20:16
  • Agreed, thanks. Choosing this answer as the best considering the fact that options are limited based on being on a shared server. – shaune Apr 04 '11 at 14:49