当有更多位置时,HERE批处理地理编码作业请求响应会花费更长的时间吗? [英] Does the HERE batch geocoding job request response take longer when there are more locations?

查看:74
本文介绍了当有更多位置时,HERE批处理地理编码作业请求响应会花费更长的时间吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

开始新的批处理地理编码工作后(此处第一步),确定获得响应所花费的时间(

After starting a new batch geocoding job (step one here), does the amount of time it takes to get a response (step two here) depend on the amount of individual geocode requests? (ie. does it take longer to get a response for 10,000 locations VS 10 locations?)

类似地,响应中可以返回哪些不同的可能状态? (例如,此处的第二步)

On a similar note, what are the different possible statuses that can be returned in the response? (for instance, "accepted" in step two here)

我尝试在HERE批处理地理编码文档中寻找这些答案,但找不到任何东西.

I tried looking for these answers in the HERE batch geocoding documentation, but couldn't find anything.

HERE API常见问题解答页面将我引导到这里以寻求任何技术支持.

The HERE API FAQ page directed me here for any technical support.

推荐答案

尽管BGC后端具有更大的基础结构,并且作业项目在一定程度上是并行处理的,但并非批处理作业中的所有项目都可以处理同时并行.所以是的,更大的工作需要更长的时间.

Although there is a bigger infrastructure in the backend of the BGC and job items are processed in parallel to some degree, not all items of a batch job can be processed in parallel at the same time. So yes, it takes longer for bigger jobs.

批处理作业可以处于以下状态之一:

A batch job can be in one of the following states:

已提交

批处理作业已提交到批处理系统,可以开始了.用户可以通过发送HTTP PUT"action = run"请求来启动批处理作业.

A batch job was submitted to the batch system and is ready to be started. The batch job can be started by the user by sending the HTTP PUT "action=run" request.

接受

批处理作业已经过验证的正确性和有效性,并已添加到队列中,等待调度执行.

Batch job has been verified for correctness and validity and has been added to the queue, waiting to be scheduled for execution.

运行

工作正在处理中.

完成

作业处理完成.

已取消

用户已通过HTTP PUT命令action = cancel取消了工作.

Job has been cancelled by user with HTTP PUT command action=cancel.

已删除

工作已由用户使用HTTP DELETE命令删除

Job was deleted by user with HTTP DELETE command

失败

运行时作业失败.这是不寻常的,是由内部错误引起的.您可以尝试通过PUT请求重新启动作业,然后action = run或删除该作业.

Job failed while running. This is unusual and caused by an internal error. You can try to restart the job with a PUT request and action=run or delete the job.

状态转换图

这篇关于当有更多位置时,HERE批处理地理编码作业请求响应会花费更长的时间吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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