简体   繁体   English

如何在Magento网站上找到多少个并发用户

[英]How to find out how many concurrent users on a Magento website

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. 我们正在转换Web主机,我被要求找出基于Magento的网站有多少个并发用户,以便估算适当的硬件。

How can I find this information out? 如何找到此信息?

The webserver is lightspeed (like apache) and it is PHP-based. 该网络服务器是lightspeed(如apache),它是基于PHP的。

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. 我注意到Magento的内置报告可能与此类似...管理员->客户->在线客户。 But I have a feeling this report isn't really what the new web host is looking for. 但是我有一种感觉,该报告并不是新的Web主机所要查找的。

Should this question be posted in another Stack Exchange site? 这个问题应该发布在另一个Stack Exchange网站上吗?

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. 或者,如果没有可用的日志来设置Google Analytics(分析),请让它运行一段时间,以很好地指示流量水平。

Sign up for Google Analytics at http://www.google.com/analytics/ . http://www.google.com/analytics/上注册Google Analytics(分析)。 They will provide you with a tracking code to paste into the html of your site. 他们将为您提供一个跟踪代码,以粘贴到您网站的html中。 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? 您要转移到专用资源还是至少专用资源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. 您可以在Amazon EC2上尝试使用m1.small实例,这每月将花费您约70美元,并且您将能够在那里托管多个站点。 Of course you'll have to manage the server yourself. 当然,您必须自己管理服务器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM