Are there any tradeoffs (memory, performance etc) while deploying Django in production with virtualenv?
I like how it’s all sandboxed and clean but can’t seem to find any performance info.
Any direction would be nice.
Thanks,
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is no natural difference between env managed by Virtualenv and those not using it: just different filesystem directories and Python paths. Furthermore, Virtualenv saves our Dev’s time by providing sandbox-env you mentioned, allowing flexible configuration of envs and switching between them on single node, exempting requirement of sudo… which, IMO, is big ‘performance’ gain.