Can that latency be reduced, or can we implement a multi-domain search in a single payload?
I should be able to get the latency reduced but some of it depends on the underlying calls (WHOIS, etc.) I will take a look at the logs and get back to you soon.
createandgo - it looks like most of the latency is on the backend calls happens as I pull up to date data for the domain. I cache what I can but for many domains I need to get on-demand data to ensure accuracy.
An option to reduce latency could be to reduce some of the external data I pull in with each call. If you aren’t interested in the ‘birthDate’ and ‘grade’ fields I could add a flag to suppress those and reduce some of the latency.
A separate option if you are just interested in overall throughput is to look at increasing concurrency by adding more nodes to our server pool.
Let me know your thoughts.
createandgo - I just moved the API to new infrastructure and removed some callouts to external endpoints. You should find the performance is improved.
加入讨论 - 在下面添加评论：