Skip to main content
Question

Does HTTPCaller support multiple simultaneous requests?

  • March 10, 2017
  • 4 replies
  • 163 views

Forum|alt.badge.img

Does anyone know if the HTTPCaller sends multiple requests simultaneously, or if it's only one-at-a-time?

We're looking to make lots of calls to a web-API, and we don't want HTTPCaller to wait for a response to any given call before the next request is made. The web-API can handle multiple connections at once, and we would like HTTPCaller to do the same.

Can it do this? I can't see anything in the docs allowing setting the number of simultaneous connections.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

redgeographics
Celebrity
Forum|alt.badge.img+62

Anecdotical evidence, from a few years ago, so treat with a grain of salt... The HTTPCaller sends one request per feature that comes in. So when I, by mistake, this this for a lot of features requesting HTML documents from a web server on a local network I kinda did a denial-of-service attack, so yes, I think it does send out the requests without waiting for a response on the previous one.


itay
Supporter
Forum|alt.badge.img+18
  • Supporter
  • March 10, 2017

Anecdotical evidence, from a few years ago, so treat with a grain of salt... The HTTPCaller sends one request per feature that comes in. So when I, by mistake, this this for a lot of features requesting HTML documents from a web server on a local network I kinda did a denial-of-service attack, so yes, I think it does send out the requests without waiting for a response on the previous one.

I agree, now that I think about it, did something similar too and crashed some services ....

 

 


Forum|alt.badge.img
  • Author
  • March 10, 2017

Anecdotical evidence, from a few years ago, so treat with a grain of salt... The HTTPCaller sends one request per feature that comes in. So when I, by mistake, this this for a lot of features requesting HTML documents from a web server on a local network I kinda did a denial-of-service attack, so yes, I think it does send out the requests without waiting for a response on the previous one.

Ok, that's promising. Good use-case for the Decelerator at least!

 

 


Forum|alt.badge.img
  • Author
  • March 10, 2017

We've just done a few simple tests. And the answer is, it does not support multi threading. FME's HTTPCaller only has a single connection at any given time.

 

This idea has a potential solution:

https://knowledge.safe.com/content/idea/34725/httpcaller-to-support-parallel-processing.html