2 مستودعات
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 هو مكتبة تجمع عمال (worker pool) ومدير تزامن لـ Go. يعمل كجدول مهام متزامن يحد من عدد العمال المتوازيين الذين يعالجون الوظائف لمنع استنفاد موارد النظام. يتيح المشروع الحفاظ على الحالة المستمرة داخل روتينيات العمال الفردية لتجنب تكاليف التهيئة المتكررة. كما يدعم التحجيم الديناميكي للعمال، مما يسمح بتعديل عدد العمال النشطين في الخلفية في الوقت الفعلي دون مقاطعة المهام قيد التنفيذ. توفر المكتبة آليات لفرض مهلة المهام وإدارة دورة حياة العمال، بما في ذلك الإغلاق الرشيق لمجموعات الروتينيات. وتستخدم تحديد التزامن لتقييد العدد الإجمالي للروتينيات (goroutines) النشطة.
Implements worker pools that use Go channels to distribute tasks and manage concurrency.