如何知道用户的带宽以提供最佳版本的Web应用程序?

时间:2022-06-11 20:13:24

We are developing a web application with a hetereogenous base of users. Additionally, we must provide a visually appealing experience. So, I would like to know if there is any way to get estimates of user bandwidth in such manner, that we can decide if we serve a given version, or another one.

我们正在开发一个具有异构用户群的Web应用程序。此外,我们必须提供视觉上吸引人的体验。所以,我想知道是否有办法以这种方式估算用户带宽,我们可以决定是否提供给定版本或另一个版本。

Or should I aim for the lowest denominator at all?

或者我应该瞄准最低分母?

No matter the technologies involved: I'm platform agnostic for this case (for example, a flash applet to estimate the capabilities of the user will be fine). I just want to hear your advice.

无论涉及哪些技术:我对这种情况都是平台无关的(例如,估计用户能力的flash applet会很好)。我只是想听听你的意见。

3 个解决方案

#1


IMO where it's necessary for a choice these things are best left to user to decide. Some people will happily wait for a richer experience, others want fast and snappy regardless.

IMO需要选择这些东西最好由用户决定。有些人会愉快地等待更丰富的体验,有些人则想要快速而敏捷。

You could have a landing page with an image/flash that times how long it takes to use, then presents links to both with a suggestion which will be the best experience given the users bandwidth. Store this choice as a Cookie then in future bypass the loading page.

您可以拥有一个带有图像/闪存的登录页面,该登录页面需要多长时间才能使用,然后根据给定用户带宽的建议呈现两者的链接。将此选项存储为Cookie,然后绕过加载页面。

#2


If you want to determine a particular clients throughput, you could time how long it takes to transmit a payload of known size to the client and extrapolate their bandwidth from that. Or you could have a flash stub load the remaining content, and default to a different version if it's taking too long.

如果要确定特定的客户端吞吐量,可以计算将已知大小的有效负载传输到客户端所需的时间,并从中推断其带宽。或者您可以使用闪存存根加载剩余的内容,如果花费的时间太长,则默认为不同的版本。

#3


The most popular site on the web has an interface that contains almost no graphics. (I'm speaking of Google, of course.)

网上最受欢迎的网站有一个几乎没有图形的界面。 (当然,我说的是谷歌。)

Design a website that loads fast for all users, has the functionality they want, and is aesthetically pleasing, and your users will enjoy it. Visual appeal can be achieved in very few bytes with good use of color, text layout, and sparing images. There's no need for a huge Flash apps, sound, animations, or other bandwidth killers. People respond to sites that invite them in and treat them right.

设计一个可以快速加载所有用户的网站,拥有他们想要的功能,并且美观,并且您的用户将享受它。通过充分利用颜色,文本布局和备用图像,可以在极少的字节内实现视觉吸引力。不需要巨大的Flash应用程序,声音,动画或其他带宽杀手。人们会回复邀请他们进入并正确对待他们的网站。

Look into low-bandwidth ways to provide surprise, like mouseOver behaviors that subtly change colors, or small images that provide accents.

研究提供惊喜的低带宽方式,例如巧妙改变颜色的mouseOver行为,或提供重音的小图像。

#1


IMO where it's necessary for a choice these things are best left to user to decide. Some people will happily wait for a richer experience, others want fast and snappy regardless.

IMO需要选择这些东西最好由用户决定。有些人会愉快地等待更丰富的体验,有些人则想要快速而敏捷。

You could have a landing page with an image/flash that times how long it takes to use, then presents links to both with a suggestion which will be the best experience given the users bandwidth. Store this choice as a Cookie then in future bypass the loading page.

您可以拥有一个带有图像/闪存的登录页面,该登录页面需要多长时间才能使用,然后根据给定用户带宽的建议呈现两者的链接。将此选项存储为Cookie,然后绕过加载页面。

#2


If you want to determine a particular clients throughput, you could time how long it takes to transmit a payload of known size to the client and extrapolate their bandwidth from that. Or you could have a flash stub load the remaining content, and default to a different version if it's taking too long.

如果要确定特定的客户端吞吐量,可以计算将已知大小的有效负载传输到客户端所需的时间,并从中推断其带宽。或者您可以使用闪存存根加载剩余的内容,如果花费的时间太长,则默认为不同的版本。

#3


The most popular site on the web has an interface that contains almost no graphics. (I'm speaking of Google, of course.)

网上最受欢迎的网站有一个几乎没有图形的界面。 (当然,我说的是谷歌。)

Design a website that loads fast for all users, has the functionality they want, and is aesthetically pleasing, and your users will enjoy it. Visual appeal can be achieved in very few bytes with good use of color, text layout, and sparing images. There's no need for a huge Flash apps, sound, animations, or other bandwidth killers. People respond to sites that invite them in and treat them right.

设计一个可以快速加载所有用户的网站,拥有他们想要的功能,并且美观,并且您的用户将享受它。通过充分利用颜色,文本布局和备用图像,可以在极少的字节内实现视觉吸引力。不需要巨大的Flash应用程序,声音,动画或其他带宽杀手。人们会回复邀请他们进入并正确对待他们的网站。

Look into low-bandwidth ways to provide surprise, like mouseOver behaviors that subtly change colors, or small images that provide accents.

研究提供惊喜的低带宽方式,例如巧妙改变颜色的mouseOver行为,或提供重音的小图像。