nuxeo / nuxeo-js-client

JavaScript client library for Nuxeo API
Other
18 stars 20 forks source link

Parallel requests #129

Open phhoef opened 2 years ago

phhoef commented 2 years ago

Hi,

I am trying to connect with my nodeJS application to Nuxeo with the help of this library. I am receiving several requests from an external system and I am trying to access Nuxeo. As I am receiving multiple requests simultaneously, I am sending multiple requests with the same connection to Nuxeo at the same time.

It seems, that this is not possible as I am receiving strange results. I've now created a new connection for each request. This is approach is working, but is much slower. It seems that the lib is not stateless. Is there a better way to achieve my goal?