分析Web用户连接速度的好方法是什么? [英] What's a good way to profile the connection speed of Web users?

查看:89
本文介绍了分析Web用户连接速度的好方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个客户端,其所需的Web UI图形丰富;我们想收集有关连接到该站点的平均带宽的统计信息.有没有简单的方法可以做到这一点? 可能的最简单的方法"似乎是Flash或Silverlight组件,该组件对某个大小(例如200K)的文件的下载进行计时,然后将结果发布到保存数据的URI中.那行得通吗?我应该自己编写还是可以从某个地方下载的简单的插入式元素?

I have a client whose desired Web UI is graphically intense; we would like to gather statistics on the average bandwidth of those connecting to the site. Is there an easy way to do that? The "simplest thing that could possibly work" would seem to be a Flash or Silverlight component that times the download of a file of some size (say 200K), then POSTing the result to a URI that saves the data. Will that work? Should I write my own or is there an easy drop-in element that I can download from somewhere?

推荐答案

我会看一下Google Analytics(分析).这是一个包含在页面中的简单javascript,它使用Google的海量分析数据库来跟踪谁通过什么样的连接访问您的网站,这些都在他们维护的数据库中.

I would look at Google Analytics. It's a simple javascript that you include on your page, and it uses Google's massive analytics databases to track who's accessing your site over what sort of connections, which is all in a database that they maintain.

您当然可以编写Flash或Silverlight(或javascript)组件,以便在后台下载文件,对其进行计时并进行报告,但是您很可能会激怒用户填满他们的内容.

You could certainly write a Flash or Silverlight (or javascript) component to download a file in the background, time it, and report that, but you're likely to anger your users for filling up their tubes.

这篇关于分析Web用户连接速度的好方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆