Safe2COVIDApp / bct-server

Bluetooth Contact Tracing for Covid19 - server
5 stars 1 forks source link

python GIL #173

Open danaronson opened 4 years ago

danaronson commented 4 years ago

Since python uses the global interpreter lock, a single version of python can only use a single core, so to take advantage of multiple cores there needs to be a solution to scale. Possiblities include: 1) starting server starts multiple copies and proxies requests to them in a round robin way 2) devops starts multiple servers and puts them behind a load balancer 3) Use jython or iron-python (neither of them support python 3, so that would probably mean backporting to python 2)