Who controls parallelism? A disagreement that leads to slower code

If you’re using NumPy, Polars, Zarr, or many other libraries, setting a single environment variable or calling a single API function might make your code run 20%-80% faster. Or, more accurately, it may be that your code is running that much more slowly than it ought to. The problem? A conflict over who controls parallelism: your application, or the libraries it uses. Let’s see an example, and how you can solve it. The mystery of the speedy single-thread implementation We’re […]

Read more

Deploy a Django App With Gunicorn and Nginx

Taking a Django app from development to production is a demanding but rewarding process. In this video course, you’ll go through that process step by step. You’ll start at square one with a no-frills Django application then add in Gunicorn, Nginx, and domain registration. After working through this video course, you’ll be better equipped to take your Django app into production and serve it to the world. In this video course, you’ll learn: How you can take your Django app […]

Read more
1 143 144 145 146 147 939