在 LAMP SaaS Web 应用程序中测量和限制带宽使用的最佳方法是什么?

发布于 2024-07-08 17:59:05 字数 200 浏览 9 评论 0原文

我工作的公司正在考虑开发一个基于计划的 LAMP SaaS Web 应用程序。 我们想要监控使用情况,因为它涉及外部引用,并且会通过在第三方网站上放置 iframe 或 JavaScript 片段来吸引带宽。 我的第一个想法是仅依赖页面印象算法,但由于这确实是一个带宽问题,我想知道监控是否是更好的方法。 以允许我向第三方网站发送已超出上限的消息的方式进行此监控的最佳方式是什么?

The company I work for is thinking of developing a LAMP SaaS Web application that would be plan based. We want to monitor usage because it involves external references, and would draw bandwidth through the placement of an iframe or JavaScript snippet on a third-party site. My first thought was relying only on a page impression algorithm, but since this is really a bandwidth issue, I wonder if monitoring that is a better approach. What is the best way to do this monitoring in a fashion that would allow me to message the third-party site that the cap has been exceeded?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

画中仙 2024-07-15 17:59:05

我认为 Web 服务网关将是一个不错的选择。 其中大多数(IBM、Layer 7、Vordel)都提供节流和合同管理功能。 它们将允许您设置访问其背后的任何内容的阈值。

如果您对用户和服务使用授权和身份验证,您可以轻松地将它们配置为在使用率过高时发送通知(由于滥用、超出请求的 SLA 或您配置的任何其他内容)。

最重要的是,它们“将处理消耗您的应用程序/数据的任何内容,无论是用户、批处理还是服务。

I think a web service gateway would be a good option. Most of them (IBM, Layer 7, Vordel) offer throttling and contract management features. They'll allow you to set thresholds on access to whatever is behind them.

If you're using authorization and authentication for users and service, you can easily configure them to send a notification if the usage gets too high (from abuse, exceeding the SLA for requests, or whatever else you configure.

Best of all, they'll work with whatever is consuming your application / data, be it users, batch processes, or services.

不再见 2024-07-15 17:59:05

也许您应该使用云计算服务,云计算服务将监控每个客户端的带宽使用情况。 它还允许您为每个客户设置上限。

我读到 Mosso.com 可以做到这一点。

问候

Maybe you should use cloud computing services, who will monitor the bandwidth usage for each client. It will allow you to set the cap for each client as well.

I read Mosso.com can do this.

regards

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文