22 مستودعات
Asynchronous I/O implementations that use coroutines to manage high concurrency without blocking threads.
Distinct from Asynchronous I/O Libraries: Focuses on the coroutine abstraction for concurrency rather than general event-loop libraries.
Explore 22 awesome GitHub repositories matching operating systems & systems programming · Coroutine-Based Asynchronous I/O. Refine with filters or upvote what's useful.
Oatpp is a high-performance C++ web framework and API development kit used for building REST APIs and web services. It functions as an asynchronous HTTP server that utilizes coroutines to handle thousands of simultaneous connections without blocking threads. The toolkit includes a native C++ object-relational mapping layer for executing SQL queries and transforming database results into data objects. It also provides a WebSocket communication library for establishing full-duplex channels to support real-time data streaming and live media. The framework covers a broad range of capabilities, i
Uses non-blocking coroutines to handle thousands of simultaneous connections without dedicating a thread to every request.
LearnPython is a programming tutorial consisting of a collection of practical code examples used to demonstrate Python language features and programming patterns. It serves as a comprehensive learning resource that implements core language concepts through functional code. The project provides specialized guides and samples covering several key domains. These include asynchronous network programming with event loops and coroutines, data visualization using numerical datasets for 2D and 3D plots, and web scraping for fetching content and automating login flows. It also features instructions on
Implements asynchronous I/O using coroutines to manage high concurrency without blocking threads.
pysheeet هي مكتبة مرجعية تقنية توفر مجموعة مختارة من مقتطفات التعليمات البرمجية وأنماط التنفيذ لتطوير Python المتقدم، وتكامل النظام، والحوسبة عالية الأداء. تعمل كدليل شامل لتنفيذ برمجة الشبكات منخفضة المستوى، وإضافات C الأصلية، والبرمجة غير المتزامنة والمتزامنة. يوفر المشروع أطر عمل متخصصة لتطوير ونشر نماذج اللغات الكبيرة، بما في ذلك أدوات لاستنتاج GPU الموزع والخدمة عالية الأداء. يتضمن أيضاً أنماطاً مفصلة لتنظيم مجموعات الحوسبة عالية الأداء، وتغطية تخصيص موارد GPU وإدارة عبء العمل متعدد العقد. تغطي المكتبة سطحاً واسعاً من القدرات، بما في ذلك اتصالات الشبكة الآمنة والتشفير، والتعيين الكائني-العلائقي وإدارة قواعد البيانات، وتنفيذ هياكل البيانات والخوارزميات المعقدة. كما توفر أدوات لإدارة الذاكرة، وقابلية التشغيل البيني الأصلية عبر واجهات الوظائف الخارجية، وتكامل نظام التشغيل على مستوى النظام.
Provides implementation patterns for non-blocking code using Python async and await syntax.
asyncpg is an asynchronous database driver and binary protocol client for PostgreSQL. It provides a non-blocking interface for executing SQL statements, streaming result sets, and managing data transfer between an application and a PostgreSQL database. The driver implements the PostgreSQL binary protocol directly to facilitate efficient data transfer and type conversion. It includes a connection pool to maintain and reuse open database connections, reducing the latency associated with repeated handshakes. The project covers a broad range of database integration capabilities, including atomic
Implements a non-blocking interface using coroutines and an event loop for high-concurrency database communication.
Gevent is a Python coroutine concurrency library and asynchronous task manager designed for high-concurrency I/O tasks. It provides a cooperative networking framework for building asynchronous TCP, UDP, and HTTP servers, as well as a WSGI web server implementation for hosting web applications. The project is distinguished by its standard library monkey-patching tool, which replaces blocking synchronous functions with cooperative versions to enable asynchronous behavior in third-party code. This allows for a cooperative multitasking workflow where the system yields execution during I/O waits t
Implements an asynchronous I/O system using coroutines to manage high concurrency without the overhead of OS threads.
Asio is a C++ library for performing network and low-level I/O operations using a consistent asynchronous model that avoids blocking program execution. It provides a portable, cross-platform interface for network socket communication across different operating systems, and manages multiple asynchronous operations without requiring explicit thread management or locking. The library implements a proactor-based asynchronous model where operations post completion handlers to a queue for later execution, and wraps operating system I/O multiplexing mechanisms like epoll, kqueue, IOCP, and select in
Provides a uniform handler interface supporting callbacks, futures, and coroutines for async C++ programming.
websockets is a Python library for building WebSocket servers and clients using coroutines and the asyncio framework. It provides a complete toolkit for creating production-ready WebSocket applications, including a coroutine-based framework for handling connections, messages, and lifecycle events, as well as a client library for opening persistent bidirectional connections to remote endpoints. The library manages the full lifecycle of WebSocket connections, including handshake, message exchange, and graceful closure, with support for path-based routing to organize server logic across multiple
Drives concurrent connections by awaiting coroutines on Python's asyncio event loop for non-blocking send and receive.
Swoft هو إطار عمل PHP للخدمات المصغرة عالي الأداء مصمم للتعامل مع حركة مرور الشبكة المتزامنة والمهام غير المتزامنة باستخدام الروتينات المشتركة (coroutines). يوفر أساسًا لبناء خدمات خلفية قابلة للتوسع من خلال وقت تشغيل مدفوع بالروتينات المشتركة وخوادم عالية الأداء تدعم بروتوكولات HTTP وWebSocket وRPC وTCP. يتميز إطار العمل بمجموعة من أدوات الحوكمة والتحسين، بما في ذلك نظام تنسيق خدمة موزع للتسجيل، والاكتشاف، وكسر الدائرة. كما يتميز بمدير تجمع اتصالات لقواعد البيانات ومقابس الشبكة القابلة لإعادة الاستخدام ومكتبة للبرمجة الموجهة بالجوانب لاعتراض وتوسيع سلوك الطريقة دون تعديل الكود المصدري. تشمل الإمكانيات الإضافية حاوية حقن التبعية لفصل المكونات، وتنفيذ مهام تجمع العمليات للحسابات الثقيلة، وآلية جدولة للمهام المتكررة. يدعم النظام أيضًا إدارة التكوين المركزي لمزامنة إعدادات التطبيق عبر بيئات مختلفة.
Utilizes a coroutine-based concurrent runtime and non-blocking event loop to handle high network concurrency.
PyWebIO هو إطار عمل لتطبيقات الويب بلغة Python ومكتبة واجهة مستخدم قائمة على النصوص تسمح ببناء واجهات ويب تفاعلية دون كتابة HTML أو CSS أو JavaScript. يعامل متصفح الويب كطرفية غنية، ويترجم استدعاءات دوال Python إلى عناصر واجهة مستخدم ويلتقط مدخلات المستخدم من خلال حلقة طلب واستجابة متزامنة. يعمل إطار العمل كخادم تطبيقات ويب غير متزامن ينفذ جلسات المستخدم كـ Coroutines للتعامل مع تفاعلات متزامنة متعددة على خيط واحد (Thread). كما يعمل كواجهة لتصور البيانات، مما يتيح الرندرة المباشرة للمخططات والرسوم البيانية التفاعلية من مكتبات خارجية داخل المتصفح. يغطي النظام مجموعة واسعة من قدرات النشر والتهيئة، بما في ذلك نشر خدمة الويب المستقلة، واستضافة تطبيقات متعددة، وتصدير خوادم WSGI و ASGI. ويوفر أدوات لبناء واجهة المستخدم الرسومية للمتصفح، وتهيئة بيانات تعريف التطبيق، وإنشاء ملفات تعريف الويب للتثبيت على الأجهزة المحمولة. يمكن نشر التطبيقات كخدمات مستقلة أو تضمينها في إطارات عمل ويب موجودة باستخدام محولات وتوجيه قياسي.
Executes each user session as an asynchronous coroutine to manage concurrent interactions on a single thread.
Beast هي مكتبة C++ لتنفيذ عملاء وخوادم HTTP وWebSocket منخفضة المستوى. تعمل كإطار عمل للشبكات غير المتزامنة مصمم لتركيب عمليات الإدخال/الإخراج غير المحظورة (non-blocking I/O) ومكدسات التدفق الطبقية لإدارة حركة مرور الشبكة المتزامنة، وتحديداً باستخدام نموذج Boost.Asio غير المتزامن. توفر المكتبة تنفيذاً شاملاً لبروتوكولات HTTP/1.1 وWebSocket. بالنسبة لـ HTTP، تتضمن بدائيات لتحليل وتسلسل الرسائل مع دعم لترميز النقل المجزأ (chunked transfer encoding)، وقراءة الجسم التزايدية، وخطوط أنابيب الطلبات. يغطي تنفيذ WebSocket دورة الحياة الكاملة للاتصال ثنائي الاتجاه، بما في ذلك المصافحات، والتفاوض على البروتوكول الفرعي، وتجزئة الرسائل، ومراقبة الحيوية عبر إطارات التحكم. تتضمن Beast مجموعة متخصصة من الأدوات لإدارة مخازن الشبكة المؤقتة لتحسين الإدخال/الإخراج من نوع scatter-gather من خلال مخازن ذاكرة ديناميكية وقائمة على التسلسل. كما تغطي اتصالات الشبكة الآمنة عبر دمج طبقات SSL/TLS للتدفقات المشفرة، ومصادقة الشهادات، وإنهاء الاتصال الآمن. يوفر إطار العمل تجريدات عبر المنصات للإدخال/الإخراج للملفات وإدارة إشارات النظام لدعم تطوير تطبيقات شبكة مستقرة.
Implements non-type-erased callbacks at the call site to optimize compiler performance and memory allocation.
Fuel is a Kotlin HTTP client library for Android and Kotlin applications that handles both synchronous and asynchronous web requests. It functions as a network wrapper that supports executing calls via suspending functions in coroutines, reactive streams, and traditional callbacks. The library features built-in integration for Android LiveData to bind network responses directly to observable state holders for user interface updates. It also includes a JSON serialization client that utilizes customizable mappers to convert raw HTTP response bodies into structured data objects. Capability area
Uses coroutines and suspending functions to manage network I/O without blocking the main execution thread.
Grequests هو مجمع طلبات HTTP غير متزامن ومكتبة عميل تعتمد على Gevent تُستخدم لتنفيذ مجموعات كبيرة من طلبات الشبكة في وقت واحد. يعمل كمغلف طلبات متزامن لمكتبة Requests، مما يتيح عمليات غير حاصرة لتقليل الوقت الإجمالي المستغرق في انتظار استجابات الخادم. يوفر المشروع نموذج تنفيذ يعتمد على مجمع المهام (task-pool) للتعامل مع عمليات الشبكة المجمعة، مثل كشط الويب عالي الإنتاجية واستطلاع API. يمكنه بث الاستجابات فور وصولها عبر مولد، مما يسمح بمعالجة البيانات فوراً دون انتظار اكتمال الدفعة بأكملها. تغطي المكتبة مجالات واسعة من الإمكانيات بما في ذلك إدارة طلبات HTTP المتزامنة والتعامل مع استثناءات الطلبات أثناء التنفيذ المجمع.
Implements asynchronous I/O using Gevent coroutines to manage high concurrency without blocking threads.
The MongoDB Python Driver is a client library and NoSQL database client used to execute CRUD operations and manage data within MongoDB databases using the Python programming language. It serves as a database connectivity library that handles authentication and connection pooling, while also providing a vector search client for managing embedding indexes and retrieving data based on semantic similarity. The driver supports both synchronous and asynchronous database driver models to perform non-blocking I/O operations and stream data from database clusters. It distinguishes itself through speci
Provides a coroutine-based asynchronous driver for non-blocking database I/O to manage high-concurrency network operations.
f-stack هو إطار عمل لتجاوز النواة (kernel-bypass) ومكدس TCP/IP في مساحة المستخدم مصمم لزيادة سرعات معالجة الحزم والإنتاجية الإجمالية. يستخدم DPDK لتوجيه حركة مرور الشبكة مباشرة إلى مساحة المستخدم ويدمج مكدس شبكة FreeBSD المزروع للتعامل مع بروتوكولات طبقة النقل والشبكة خارج نظام تشغيل المضيف. يوفر المشروع طبقة توافق لـ socket API تسمح لتطبيقات الشبكة القياسية بالعمل على خلفية عالية الأداء دون الحاجة إلى تغييرات في الكود. كما يتميز بـ API شبكة قائم على الروتينات المشتركة (coroutine) وواجهة خيوط دقيقة لإدارة IO الشبكة غير المتزامن والمهام ذات الحالة دون استخدام منطق رد الاتصال المعقد. يغطي إطار العمل تنفيذ TCP/IP عالي الإنتاجية، وتوسيع الاتصال المتزامن، وتعدد إرسال IO المدفوع بالأحداث. يتضمن قدرات تكوين التوجيه لتحديد ما إذا كانت حركة المرور الواردة يتم التعامل معها بواسطة مكدس مساحة المستخدم أو مكدس شبكة النواة القياسي.
Provides a coroutine-based model to manage high-concurrency network I/O without blocking system threads.
Coost is a concurrent network framework and coroutine scheduler designed for building high-performance TCP, HTTP, and RPC services. It provides a set of tools for handling non-blocking IPv4 and IPv6 communication, integrating SSL encryption and a lightweight execution engine that manages concurrent tasks using shared stacks. The project features a specialized JSON RPC implementation for exchanging structured data over encrypted connections and a high-performance logging system. This logging infrastructure supports topic-based routing, frequency filtering, and automated stack trace capture for
Provides a coroutine-based socket API that enables synchronous coding style for asynchronous network operations.
Curio هي مكتبة Python مخصصة للتزامن الهيكلي وبرمجة الشبكات غير المتزامنة. تعمل كإطار عمل للتعامل مع آلاف اتصالات TCP المتزامنة باستخدام مآخذ توصيل (sockets) غير محظورة وإدخال/إخراج عالي الإنتاجية. تنظم المكتبة العمليات غير المتزامنة في تسلسل هرمي من الروتينات الفرعية (coroutines) الأب والابن لضمان الإنهاء الموثوق وتنظيف المهام التابعة. كما توفر مجموعة أدوات لتنسيق هذه العمليات المتزامنة من خلال مجموعات المهام (task groups) والمهلات الزمنية. يغطي إطار العمل نطاقاً واسعاً من قدرات إدارة التزامن، بما في ذلك التواصل بين المهام عبر الطوابير (queues) ومزامنة الموارد المشتركة باستخدام الأقفال (locks) والإشارات (semaphores). كما يتضمن دعماً لتنفيذ العمليات الخارجية وتفريغ المهام المحظورة إلى خيوط معالجة (threads) منفصلة للحفاظ على استجابة حلقة الأحداث (event loop).
Provides a runtime implementation of coroutines specifically tailored for Python's asynchronous execution model.
This project is an Android application that integrates OpenAI language models to provide real-time conversational AI experiences. It functions as a native mobile client, enabling users to send queries to remote language services and view the resulting text responses within an interactive chat interface. The application utilizes a declarative user interface framework to build dynamic messaging layouts and manage conversation states. It employs a component-based architecture that separates UI logic from network communication, ensuring that messaging components remain modular and decoupled from
Manages background tasks and network requests using coroutines to maintain interface responsiveness without blocking the main thread.
يعمل هذا المشروع كخارطة طريق تعليمية شاملة ومنهج لإتقان تطوير تطبيقات Android الاحترافية. يوفر مسار تعلم مهيكل يوجه المطورين عبر مبادئ تصميم النظام الأساسية، والأنماط المعمارية، والمهارات التقنية المطلوبة لبناء واختبار ونشر برمجيات محمولة قابلة للتوسع. يتميز المورد بتنظيم الموضوعات التقنية المعقدة في تسلسل منطقي، يغطي كل شيء بدءاً من أدوات تطوير الأجهزة المحمولة الأساسية وصولاً إلى ممارسات هندسة البرمجيات المتقدمة. ويؤكد على الأنماط القياسية في الصناعة لهيكلة قواعد كود قابلة للصيانة، مما يضمن اكتساب المتعلمين الكفاءة في أنظمة البناء، وإدارة التبعيات، وتكامل الخدمات الخارجية. بعيداً عن المعمارية الأساسية، يتناول المنهج جوانب حاسمة من نظام الأجهزة المحمولة، بما في ذلك معالجة التدفق التفاعلي، والتنفيذ غير المتزامن، وإدارة المكونات المدركة لدورة الحياة. كما يتضمن توجيهات حول تأمين بيانات التطبيق، والتحقق من جودة البرمجيات من خلال الاختبار، وتنفيذ واجهات مستخدم متجاوبة. يعمل المستودع كدليل مركزي للمطورين الذين يسعون لتوحيد نهجهم في هندسة الأجهزة المحمولة ونشر البرمجيات الاحترافية.
Implements lightweight coroutine-based concurrency to manage asynchronous operations and maintain interface responsiveness.
userver is a comprehensive C++ backend application platform and asynchronous framework designed for building scalable microservices. It provides a high-performance execution environment for deploying services that communicate via gRPC and HTTP using a middleware-based request pipeline. The platform distinguishes itself through a distributed service orchestration toolset that manages shared state, distributed locking, and dynamic configuration updates without requiring process restarts. It utilizes a coroutine-based asynchronous execution model and event-loop network I/O to handle high-concurr
Utilizes coroutines to manage high-concurrency I/O and avoid expensive operating system thread blocks.
This project is a multiplatform software development kit designed to integrate large language models into Kotlin applications. It provides an asynchronous network client and a suite of orchestration tools that enable developers to connect applications to intelligence services, manage conversation threads, and handle structured data exchange. The library is built as a Kotlin Multiplatform package, allowing for consistent code sharing across Android, iOS, and desktop environments. It utilizes structured concurrency to manage non-blocking network requests and real-time streaming responses, ensur
Uses structured concurrency to handle non-blocking network requests and streaming operations.