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.dev4.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.dev4.tar.gz.

File metadata

File hashes

Hashes for swarmauri_middleware_bulkhead-0.8.0.dev4.tar.gz
Algorithm Hash digest
SHA256 b61419e0b07d6f10211e88183a2c99cd7ffeb3e29a823fb866707eedc11f8480
MD5 c126408a676dd949e43eed0514106e61
BLAKE2b-256 58b1fd2bb60648f727e5282a7c44e8e19e5d0c34f428fcc478675b7fe11d59e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swarmauri_middleware_bulkhead-0.8.0.dev4-py3-none-any.whl
Algorithm Hash digest
SHA256 4cad93610889d11fe8501aafea1d888c4f75abad3a769410fe6ac4eaa5539eb6
MD5 b0beb0663b8751d8ab2bbd34902eb217
BLAKE2b-256 80f6f7e4e55434bd7fe0c03b25df67f3209ee0dcdb70e4e6ee2e520cf8611d97

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