Girder Async Routes
Problem description
When running Girder with gunicorn girder.asgi:app -w 4 -k uvicorn.workers.UvicornWorker -b 0.0.0.0:8080, large file downloads experience producer-consumer rate mismatch issues. This occurs because:
- Architecture Flow: File downloads → CherryPy (WSGI) → WSGIMiddleware → Starlette (ASGI) → Uvicorn
- Sync Generator Issue: The synchronous generator in
filesystem_assetstore_adapter.pydoesn't properly communicate backpressure to the async framework - Buffering Problems: WSGIMiddleware may buffer entire responses in memory, causing:
- High memory usage for large files
- Slow downloads
- Potential timeouts
- Worker hangs
This plugin adds support for asynchronous routes in Girder to circumvent these issues and improve performance for large file downloads.
Usage
gunicorn girder_async_routes.asgi:app -w 4 -k uvicorn.workers.UvicornWorker -b 0.0.0.0:8080
Metadata
Release files for girder-async-routes 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| girder_async_routes-0.1.4.tar.gz | 24.7 kB | With provenance | Details for girder_async_routes-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| girder_async_routes-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for girder_async_routes-0.1.4-py3-none-any.whl |
Total release size: 43.2 kB
Release files / girder_async_routes-0.1.4.tar.gz
| Download URL | girder_async_routes-0.1.4.tar.gz |
|---|---|
| Size | 24.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c2e13076263cd1f95207436576bb1fffd603d07d79c13bc3b1621a47d2e83da9
|
|
BLAKE2b-256 checksum How to use checksums |
433c667216eb51ad6ad3f699de19739719d8b15016d79effade1dd9961325e3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 24, 2026.
Transparency logRelease files / girder_async_routes-0.1.4-py3-none-any.whl
| Download URL | girder_async_routes-0.1.4-py3-none-any.whl |
|---|---|
| Size | 18.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
513d7cd61830a658d858ae226e464ae54a8c37fef62f568cfd56668bc0274a76
|
|
BLAKE2b-256 checksum How to use checksums |
ed005c7737a1d76ce93c7c339d2445622714b81961d233ef96ef150b9abfbed1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 24, 2026.
Transparency logSecurity for girder-async-routes 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for girder_async_routes-0.1.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 24, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.