Am 13. September 2016 um 11:07:41, Florian ([email protected])
schrieb:

I have another question about HTTP request in ArangoDB :


ArangoDB uses synchronous connections so when we send an HTTP request in a
Foxx route, is ArangoDB waiting for the HTTP response before sending its
own response ?

Yes, it is. That's why we introduce Foxx Queue. Did you have a look at the
Foxx Queues already?




*An example :*
I have a route in a Foxx service (/createEntity) which :

   - save user data into ArangoDB
   - send an HTTP request to the SQS (the queue service).

Is the Foxx route waiting for the HTTP request to be sent or return the
response immediately after calling request() function ?


If it is, is it interesting to create a Foxx queue which handles these HTTP
requests ? Is there another way to not wait ?

Thanks in advance !

Florian
--
You received this message because you are subscribed to the Google Groups
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to