Python

Installing The Judoscale Python ASGI Package

Guided Install

When you launch Judoscale for the first time, you’ll be prompted to install a package that’s specific to your app’s language and framework. In addition to FastAPI, the Judoscale Python package comes with appropriate middleware for Starlette and Quart out of the box.

If you are using a different ASGI web framework, select “Python” for your language and “Other ASGI” for your framework.

Screenshot: Judoscale package installation instructions

Based on your selections, you’ll see instructions for installing the correct package and integrating it with your application.

Once you’ve committed and deployed these changes, click the button at the bottom of the modal to verify your package setup.

Screenshot: Judoscale package installation instructions

Once verified, the modal will close, and Judoscale will begin collecting throughput and request queue time metrics.

Screenshot: Throughput and request queue time metrics

Note that autoscaling is still turned off. You’ll want to review your configuration before enabling autoscaling.