在描述我的申请时,我注意到,在消防网小组中,“Connecting”时间(即等待结核病链条连接的时间)在70至100米左右。 见以下图象:
当然,在大事计划中,100米不是很长的,但我看到了其他以零天连接时间应对的服务。 因此,如果其他服务器能够,我也应该能够这样做。
对于我甚至会如何打断此事的想法?
在描述我的申请时,我注意到,在消防网小组中,“Connecting”时间(即等待结核病链条连接的时间)在70至100米左右。 见以下图象:
当然,在大事计划中,100米不是很长的,但我看到了其他以零天连接时间应对的服务。 因此,如果其他服务器能够,我也应该能够这样做。
对于我甚至会如何打断此事的想法?
首先,我要看看看,各位是否正在做任何事情。 而且,如果你与ELB的负荷平衡(或任何其他负荷平衡)合作,我就将其从混合物中删除,看你是否仍然拥有比预期的连接时间长的时间。
你还可以单独安装灯光灯或阿帕奇,并看到发生的事情。 如果你获得的连接时间比你Node.js建造的时间要低。 虽然不是决定性的。
如果这个问题与你的服务器有关,我建议进行简单检验:
基准:
ab -c 1 -n 20000 http://< private_server_instance_ip><port>/<URL>
重要的是,在这里,不要将私人的IP放在私人或公共的DNS上,以逃避域名解决的影响。
Check the average time taken per request: If it will be around 1 ms - the problem described is not of your server.
与“Fox BTW”的基准可能不是最佳想法,因为结果可能取决于若干情况。
Has anybody compared SimpleDB and Tokyo Cabinet for performance and scalability? I m coding my project against SimpleDB at the moment and considering benchmarking TC, be nice if somebody had already ...
I m using Amazon EC2 services and would like to publish my WCF application to this server using the visual studio 2008. Instead of opening so many ports on the amazon firewall, I ll use the ftp ACTIVE ...
I m having an issue with Passenger and Rails working together on my Scalr application server. I have Rails 2.3.5 installed and Passenger 2.2.7. I am running ruby 1.8.6 (patchlevel 111). Previous ...
I wish to set up a CPU-intensive time-important query service for users on the internet. A usage scenario is described below. Is cloud computing the right way to go for such an implementation? If so, ...
I ve got a Java web service backed by MySQL + EC2 + EBS. For data integrity I ve looked into DRBD, MySQL cluster etc. but wonder if there isn t a simpler solution. I don t need high availability (can ...
My app is hosted on an Amazon EC2 cluster. Each instance writes events to log files. I need to collect (and data mine) over these logs at the end of each day. What s a recommended way to collect these ...
We ve deployed our rails app to EC2. In our setup, we have two proxies on small instances behind round-robin DNS. These run nginx load balancers for a dynamically growing and shrinking farm of web ...
At my company we are looking at hosting a blog and a CMS . We are still in the process of building the product and havent made it live yet. We are looking at some hosting options. We need to have ...