Python 3

Python 3.13 Allows Disabling of the GIL + subinterpreters

Python 3.13 adds the ability to remove the Global Interpreter Lock (GIL) per PEP 703. Just this past week, a PR was merged in that allows the disabling of the GIL using a command line flag or an environment variable in free-threaded builds. Note that Python must be built using the Py_GIL_DISABLED flag for this […]

Python 3.13 Allows Disabling of the GIL + subinterpreters Read More »

Batch APIs reduce network round trips

Using Asyncio and Batch APIs for Remote Services

Introduction to Batch APIs In modern Python applications, it’s common to access remote API using REST or other web-based technologies. Batch APIs are capable of processing multiple requests with a single call. You can use batch APIs to reduce the number of network calls to the remote service. This is ideal when you have to

Using Asyncio and Batch APIs for Remote Services Read More »

Python 101 – Creating Multiple Processes

Most CPU manufacturers are creating multi-core CPUs now. Even cell phones come with multiple cores! Python threads can’t use those cores because of the Global Interpreter Lock. Starting in Python 2.6, the multiprocessing module was added which lets you take full advantage of all the cores on your machine. In this article, you will learn

Python 101 – Creating Multiple Processes Read More »