2 Repos
Runs long-running or periodic work outside the request-response cycle using a channel layer and worker processes.
Distinct from Background Processing Workers: Distinct from Background Processing Workers: uses a channel layer for message passing, not just threading for UI responsiveness.
Explore 2 awesome GitHub repositories matching web development · Channel-Based Workers. Refine with filters or upvote what's useful.
Channels is an extension for the Django web framework that adds native support for WebSockets, background tasks, and long-running connections alongside standard HTTP requests. It provides a channel layer abstraction for passing messages between different parts of a Django application across processes, along with a protocol router that inspects incoming connections and dispatches them to the correct handler for HTTP, WebSocket, or custom protocols. The project introduces an async consumer abstraction that wraps protocol-specific handling into a single callable, and a background worker pool tha
Runs long-running or periodic work outside the request-response cycle using a channel layer and worker processes.
Tunny ist eine Worker-Pool-Bibliothek und ein Concurrency-Manager für Go. Er fungiert als Scheduler für gleichzeitige Aufgaben, der die Anzahl paralleler Worker begrenzt, die Jobs verarbeiten, um eine Erschöpfung der Systemressourcen zu verhindern. Das Projekt ermöglicht die Aufrechterhaltung eines persistenten Zustands innerhalb einzelner Worker-Routinen, um wiederholte Initialisierungskosten zu vermeiden. Es unterstützt zudem dynamisches Worker-Scaling, wodurch die Anzahl aktiver Hintergrund-Worker in Echtzeit angepasst werden kann, ohne laufende Aufgaben zu unterbrechen. Die Bibliothek bietet Mechanismen zur Durchsetzung von Task-Timeouts und zur Verwaltung des Worker-Lifecycles, einschließlich des geordneten Herunterfahrens von Routine-Pools. Sie nutzt Concurrency-Limiting, um die Gesamtzahl aktiver Goroutines zu beschränken.
Implements worker pools that use Go channels to distribute tasks and manage concurrency.