我们如何衡量 100 个并发用户的 azure search suggest API 的性能?

How can we measure the performance of azure search suggest API for 100 concurrent users?

我在我的应用程序中实现了自动建议功能,我正在使用 azure 搜索建议服务来提供建议。它对我来说工作正常,但我不确定当大约 100 个用户同时使用我的应用程序时,它会产生什么影响。目前我正在考虑使用标准 (S1) 定价层。

无论如何,我可以测试 100 个用户的负载以获得新添加的功能,即自动完成吗?

结帐https://docs.microsoft.com/en-us/azure/search/search-traffic-analytics to see how you can add insturmentation for the Search traffic analytics blade to consume. What I would advise is starting at Basic and build a test harness like a console app, that could simulate your 100 concurrent users. There are load test features built into Azure Dev Ops also, you can check out those options at https://docs.microsoft.com/en-us/azure/devops/test/load-test/overview?view=azure-devops。然后,您可以查看 搜索流量分析 blade 中捕获的数据,以估计 Basic 是否足以支持 100 个并发用户,或者是否不需要升级到标准级别。