OPA可以在并发和吞吐量很高的用例中使用吗?

发布于 2025-02-07 10:00:44 字数 245 浏览 2 评论 0原文

我正在运行OPA作为服务器(在AWS上运行),并且进行了几次性能测试,

  1. 对于第一个测试,我为OPA容器分配了1个VCPU,但对于100的并发,我得到了每秒2.5k请求的吞吐量。
  2. 我将资源分配增加到4 VCPU,但是即使有足够的资源,我也无法获得更好的吞吐量。

我在这里缺少任何东西吗?还是我们有任何配置,我必须将其传递给OPA容器才能使高负载有效(例如2000并发和40K RPS)?

谢谢

I'm running OPA as a server(running on AWS) and I did couple of performance test,

  1. For the first test I allocated 1 vCPU for the OPA container but for a concurrency of 100 I got a throughput of 2.5k requests per second.
  2. I increased the resource allocation to 4 vCPU, but even with sufficient resource I'm not able achieve better throughput.

Am I missing anything here or do we have any configuration I must pass to the OPA container to make to effective against high load(say 2000 concurrency and and 40K rps)?

Thank you

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文