Using compreface-python-sdk with Flask? Are there any secrets to improve performance? #14
Unanswered
martinenkoEduard
asked this question in
Q&A
Replies: 2 comments 8 replies
-
It's better to init CompreFace SDK once. It uses |
Beta Was this translation helpful? Give feedback.
5 replies
-
And does detection and recognition services work independently of each other? (so can simultaneously server clients?) |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Are there any secrets on how to improve performance with Flask and gunicron?
Should I place service connection strings in Flask init portion, or is it better to define them in each function separately?
Won't it kill concurrency? (I mean that the workers will try to reuse global connection or something??)
What about using compreface-python-sdk with gunicorn? Are there any possible problems? Or everything should work as simple synchronous code?
if I call compreface-python-sdk detect from several separate applications - will they be worked on simultaneously?
Does compreface work on compreface-python-sd requests at the same time (using workers or threads) or does it use something like a queue and work on the tasks sequentially?
Beta Was this translation helpful? Give feedback.
All reactions