Autodesk Forge欧洲服务器设计自动化
发布设计自动化workitem的基本URL是 https://developer.api.autodesk.com/da/da/us-us-us-------------------------------东/v3/workitems 该服务器指向服务器的美国东海岸位置。
其他几个Forge API可以说明它们应该由欧洲服务器处理(通过将该区域添加到URL和指定应处理的哪个区域的选项)来处理它们,
这似乎是Design Automation API缺失的可能性。
这是正确的吗?目前此API仅限于单个美国服务器? 如果没有,是否有可以找到如何将Workitem引导到欧洲服务器的文档?
我之所以问,是因为我们正在从网站上运行Inventor Design Automation作业,这些自动化作业通常需要45至55秒才能完成,从头开始显示修改后的设计。但是,有时候,任务需要2到4分钟,我试图发现这是否可能是由拥挤的服务器队列引起的。如果有多个服务器,我可以尝试在不同的服务器上以及一天中的不同时间运行相同的作业,以查看这些偶尔延迟之间是否有共同点。
The base url for posting a Design Automation workitem is
https://developer.api.autodesk.com/da/us-east/v3/workitems
which points to a US east coast location for the server.
Several other Forge API's have a way to specify that they should be handled by European servers (both by adding the region to the URL and by options specifying which region the request should be handled in)
This possibility seems to be missing for the Design Automation API.
Is this correct and is this API currently limited to only a single USA server?
If not, is there documentation available where I can find how to direct a workitem to a European server?
I am asking because we are running Inventor design automation jobs from a website and these typically take 45 to 55 seconds to complete from start to displaying the modified design. However, occasionally a task takes 2 to 4 minutes and I am trying to find if this could be caused by a congested server queue. If there is more than one server I can try to run the same job on different servers and at different times of day to see if there is a commonality between these occasional delays.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
当前设计自动化仅在 us-east 区域中可用。
ID 端点返回各种统计信息。您可以通过从
timeDownLoadStarted
中减去timequeed
,从而得出有关在队列中花费多长时间的信息。Currently Design Automation is only available in us-east region.
The [GET] workitems/:id endpoint returns various statistics. You can derive the information about how long your workitem spent in the queue by subtracting
timeQueued
fromtimeDownloadStarted
.虽然我看到在击中服务器方面有一些好处,而服务器更靠近您的地理位置(目前是设计自动化是不可能的),但这些好处将不包括工作网络处理时间的太大改进。今天,您确实在美国找到“一台”服务器,但是您的工作网络正在后台处理几台计算机。
While I see some benefits in hitting the server which is closer to your geographical location (which is not possible for Design Automation at this point) those benefits would not include much of an improvement in the workitem processing time. You are today indeed reaching to "one" server in the US, but your workitems are being processed by several computers in the background.