Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Concurrency question #4

Open
maccopari opened this issue Oct 22, 2017 · 1 comment
Open

Concurrency question #4

maccopari opened this issue Oct 22, 2017 · 1 comment

Comments

@maccopari
Copy link

Hi Christian. I was really impressed by this project. I was wondering how well this solution handles concurrency among different clients.. Lets say that 10 different clients tries to use the Face-Recogn on the same server, sending each one a different image. How will the server behave? It will be able to handle the prediction on each single image as a critical zone and ‘serialize’ each client requests?

@krystianity
Copy link
Owner

Hi @maccopari I have never load tested this solution. But as it is separated into multiple servers (at least one C++ tensorflow serving instance and 1 Node.js middleman) you should be able to scale this very well. In terms of concurrency there is no "shared" state between requests, therefore you can make as much concurrent requests (with different images of course) as your machine can handle.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants