Skip to main content

Bulkhead middleware implementation for Swarmauri

Project description

Swamauri Logo

PyPI - Downloads GitHub Hits PyPI - Python Version PyPI - License
PyPI - swarmauri_middleware_bulkhead


swarmauri_middleware_bulkhead

Overview

The swarmauri_middleware_bulkhead package provides a middleware implementation for controlling concurrency isolation in FastAPI applications. It uses a semaphore-based approach to limit the number of concurrent requests, preventing resource overload and ensuring reliable service operation.

Features

  • Concurrency Control: Restricts the maximum number of simultaneous requests
  • Semaphore-based Management: Efficiently manages request queuing and processing
  • Logging Integration: Provides detailed logging for request processing and errors
  • Configurable: Allows customizing the maximum concurrency level
  • Compatibility: Works seamlessly with FastAPI applications

Requirements

  • Python 3.10+
  • FastAPI
  • swarmauri_core package
  • swarmauri_base package

Installation

To install the package, use Poetry or pip:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

swarmauri_middleware_bulkhead-0.8.0.dev3.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file swarmauri_middleware_bulkhead-0.8.0.dev3.tar.gz.

File metadata

File hashes

Hashes for swarmauri_middleware_bulkhead-0.8.0.dev3.tar.gz
Algorithm Hash digest
SHA256 dd7e171eb5fb7c7282a2bd6b1333acfe85a33eb6792692d72cd9af20143f8290
MD5 432fc6a1d827a42d5826e22b3853ecf7
BLAKE2b-256 2cd0a2eb28baa3e55469e4b134d75db24d0deb5edd85d75565d3bb0fde4e74ca

See more details on using hashes here.

File details

Details for the file swarmauri_middleware_bulkhead-0.8.0.dev3-py3-none-any.whl.

File metadata

File hashes

Hashes for swarmauri_middleware_bulkhead-0.8.0.dev3-py3-none-any.whl
Algorithm Hash digest
SHA256 bc3bba4bc627c7c8ab3235af600d6030f50e2fd77d8f8e581ecb5ce4a3afae32
MD5 e1e95762814d8459175ce59d8bb9cd06
BLAKE2b-256 c010e34b018e2fe36b82abb79bc265b43f6396266f7430758568b99bdaa49898

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page