缓慢的API响应时间 [英] Slow API Response Times

查看:105
本文介绍了缓慢的API响应时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的团队在R中创建了一个随机森林模型,我们希望将其部署为API,以便我们的呼叫中心团队可以调用它实时帮助路由呼叫。 

我们的IT团队告诉我们使用Microsoft ML平台,所以我们已经将代码迁移到R工具并将流程部署为Web服务。

我们正在发送从我们的CRM平台单独调用API,并尝试针对~500个可能的分支进行评分。问题是响应时间需要20-30秒,这对我们的需求来说还不够快。任何
建议可能导致放缓的原因或想法如何加快速度?


We are sending a single call out to the API from our CRM platform and trying to score against ~500 possible branches. The issue is that response times are taking 20-30 seconds, and that's not fast enough for our needs. Any suggestions on what might be causing the slow down or thoughts on ways we may be able to speed it up?

推荐答案

您好,

您能否提供有关服务或实验实施的更多详情我们可以提供任何建议。

Could you please provide us more details about the implementation of the service or experiment so that we can provide any suggestions.

如果您使用的是Azure ML工作室,则可以
启用日志
以检查是否存在任何问题。如果这没有帮助,如果您有支持计划,您可以从门户网站创建对机器学习或机器学习工作室服务的支持请求。

If you are using Azure ML studio you can enable logs to check for any issues. If this does not help and if you have a support plan you can create a support request to Machine learning or Machine learning studio services from the portal. 

如果您没有支持计划,我们可以启用一次性支持请求可以发送电子邮件至

azcommunity [at]微软[点] com
。请在电子邮件中向我们提供您的订阅ID和此主题的URL。谢谢。

If you do not have a support plan we can enable a one time support request if you can email us at azcommunity[at]microsoft[dot]com. Please provide us with your subscription id and URL of this thread in the email. Thank you.


这篇关于缓慢的API响应时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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