New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch network adapter type to paravirtualized for increased performance #2748
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm confused:
Do we ever talk to s3 from a local development environment? Re:~100x for faster S3 transfers
We do now. |
@hackdna Oh, okay I wasn't aware. So someone couldn't properly develop locally if their network connection went down? |
Codecov Report
@@ Coverage Diff @@
## develop #2748 +/- ##
===========================================
- Coverage 57.92% 56.21% -1.71%
===========================================
Files 411 411
Lines 26570 25692 -878
Branches 1250 1250
===========================================
- Hits 15390 14443 -947
- Misses 11180 11249 +69
Continue to review full report at Codecov.
|
Well, it's not really possible to develop "locally" anymore because a lot of tests require an Internet connection. Regardless, the file storage backend can be specified using DEFAULT_FILE_STORAGE Django setting. Default is The only requirement to enable the new functionality in this PR is to run |
Okay sure, I think I was more confused about your comment here: #2748 (comment)... But you're just switching the storage backend to S3Storage to do some file_store specific testing, correct? It's not something we normally do or are required to do, but something we can do if necessary. Do you think it would be useful to have some notes on how one could configure their Vagrant instance to be able to talk to s3? Its a little more involved than switching the storage backend, no? Why not just bring up an AWS stack to test such functionality? |
The change in this PR is completely backward-compatible and does not require any additional configuration or updates. Once S3 storage backend support is fully functional it will also have all the necessary documentation. Developing on an EC2 instance is a pain for reasons that should be obvious. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. Was just curious from the initial mention of talking to s3 from Vagrant and was trying to learn more.
Still not sure what benefit using the S3 storage backend from a Vagrant environment gives us over using an environment that is more similar to a production one.
Happy to discuss this in depth at the next dev meeting. |
Increase guest OS network performance by ~100x for faster S3 transfers and provisioning