![]() ![]() ![]() ![]() CPython 3.10 had the highest performance improvement from the official releases I’ve tested. In this type of workload, the newer versions of Python are much faster than the older ones-developers of CPython (the standard implementation of the Python programming language) have been working hard on performance for many years. It then saves it on a local storage device using Python threads-one writer thread per file. The Backblaze B2 CLI is fetching data from the B2 Cloud Storage server using Python’s Requests library. The chart below shows download speeds from different Python versions, 3.6 to 3.11, for both single-file and multi-file downloads. To my surprise, I’ve found that it depends on the Python version. I ran a speed test to see how quickly we could get large files back from Backblaze B2 using the B2 CLI. This brings us to “The Experiment.” The Experiment: Speed Testing the Backblaze B2 CLI With Different Python Versions Naturally, I always want to make sure my clients can get their backup data out of cloud storage fast should they need to. Those might be hard to perform when your hands are shaking after you accidentally deleted something. Availability: You can read data immediately without any special “restore from archive” steps.Affordability: The price for B2 Cloud Storage is one-fifth the cost of AWS, GCP, or Azure-better than anywhere else.Redundancy: If the entire AWS, Google Cloud Platform (GCP), or Microsoft Azure account of one of my clients (usually a startup founder) gets hacked, backups stored in B2 Cloud Storage will stay safe.Durability: The numbers bear out that B2 Cloud Storage is reliable.I use Backblaze B2 Cloud Storage for disaster recovery for myself and my clients for a few reasons: I’ll get into the tests themselves, but first let me tell you why I’m telling this story on the Backblaze blog. I realized by using Python 3.9-nogil, I could increase I/O performance by 10x. I was setting up and testing a backup solution for one of my clients when I noticed a couple of interesting things I’d like to share today. AWS Week in Review – Automate DLQ Redrive for SQS, Lambda Supports Ruby 3.2, and More – June 12, 2023 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |