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

File metadata

File hashes

Hashes for swarmauri_middleware_bulkhead-0.8.0.dev2.tar.gz
Algorithm Hash digest
SHA256 57623120bae9de216f1d9e674edd3d37378d5b211f51678042a7776533b16bd8
MD5 f66390db47dcc6674d891f5fe95a215d
BLAKE2b-256 178f1d0c75dbeb6ce856458db32fb027a0044b889aaef1382c334bd871e0f2cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swarmauri_middleware_bulkhead-0.8.0.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 a216c4614c89514ed2bdca66dafe1c88e6d01eae1784a8e2ae6cb90e5d9574e7
MD5 b6363a91f33d8b4aa759dcb0fe2a3fc1
BLAKE2b-256 d957c33dd365db64ae56e7283dbbe1bc089fd6121ce865992bb73afae2d2f0b7

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