9 مستودعات
Processes network data in real-time via callbacks to avoid buffering large responses.
Distinct from Real-Time Data Streaming: Existing candidates focus on database streams or high-level app streaming; this is about the transport-level callback mechanism.
Explore 9 awesome GitHub repositories matching networking & communication · Callback-Based Data Streaming. Refine with filters or upvote what's useful.
cpr is a C++ networking library that provides a high-level HTTP request client. It functions as a wrapper around libcurl to simplify the process of sending and receiving data from web servers, specifically managing GET and POST calls and multipart form uploads. The library provides both synchronous and asynchronous execution models, allowing network requests to run on background threads to prevent application freezing. It integrates with the C++ Standard Library to map low-level pointers to standard strings and containers, utilizing RAII for automatic resource management. The project covers
Utilizes function pointers to process incoming server data chunks in real time.
gemma.cpp is a C++ inference engine for Gemma, PaliGemma, and Griffin language models, designed to run directly on-device without Python dependencies. It provides a self-contained runtime that loads quantized model weights and performs text generation on CPU or GPU, along with a model checkpoint converter that transforms PyTorch or Keras checkpoints into a compact binary format for fast loading. The engine supports multiple model architectures, including the Griffin recurrent architecture with gated linear recurrent layers and sliding-window attention for efficient long-sequence handling, as
Yields each output token to a user-supplied callback, enabling custom streaming, filtering, or early termination.
Lettuce is a Redis client library for Java that provides synchronous, asynchronous, and reactive programming models for interacting with Redis databases. It supports standalone, cluster, sentinel, pub/sub, and search operations through a single thread-safe connection model that handles command execution without blocking the calling thread. The library distinguishes itself through its reactive streams integration with Project Reactor, enabling non-blocking, backpressure-aware data processing with Mono and Flux types. It offers cluster slot routing that transparently handles MOVED and ASK redir
Streams large Redis collection results through callback interfaces as data arrives.
Nanopb هو تنفيذ C خفيف الوزن لـ Protocol Buffers مصمم للأنظمة محدودة الموارد والمتحكمات الدقيقة. يعمل كمكتبة تسلسل مضمنة لتشفير وفك تشفير البيانات المهيكلة ومولد كود يحول ملفات التعريف إلى ملفات مصدر ورأس C مدمجة. يتميز المشروع بتركيزه على تخصيص الذاكرة الثابت، باستخدام أحجام قصوى ثابتة للسلاسل والمصفوفات لتجنب تخصيص الذاكرة الديناميكي وتجزئة الكومة (Heap fragmentation). يستخدم آلية بث تعتمد على الاستدعاء (Callback) لمعالجة الرسائل أو الحقول التي تتجاوز ذاكرة الوصول العشوائي المتاحة، مما يسمح بالتعامل مع البيانات ذات الطول المتغير دون استنفاد ذاكرة النظام. توفر المكتبة قدرات واسعة للتسلسل الثنائي، بما في ذلك حساب الحجم المشفر، وتتبع وجود الرسائل الفرعية، والتأطير على مستوى النقل. كما تتضمن أدوات انعكاس لتكرار الحقول، والتحقق من صحة سلسلة UTF-8، وفرض الحدود الصارمة لضمان سلامة الذاكرة عند تحليل المدخلات الثنائية غير الموثوقة.
Implements a callback mechanism to process fields of unlimited size without exhausting system memory.
nghttp2 هي مجموعة من مكتبات وأدوات C منخفضة المستوى مصممة لتنفيذ بروتوكول HTTP/2. توفر تنفيذًا فعالاً من حيث الذاكرة للمنطق الأساسي للبروتوكول، بما في ذلك التأطير، وتعدد إرسال التدفق، والتحكم في التدفق. يتضمن المشروع مكتبة مخصصة لضغط وفك ضغط رؤوس HPACK لتقليل عرض النطاق الترددي للشبكة. كما يوفر مجموعة أدوات لتحليل حركة مرور الشبكة وقياس أداء الخادم، بما في ذلك قياسات الإنتاجية وزمن الوصول. تغطي قدراتها الأوسع تنفيذ البروتوكول وإدارة حركة المرور، بما في ذلك تفاوض اتصال ALPN، وتحديد أولويات الطلبات، والتحقق من مكونات الرأس. تدعم المكتبة امتدادات البروتوكول المخصصة من خلال نظام أحداث قائم على رد الاتصال (Callback) وتتضمن أدوات لإدارة الذاكرة وترجمة رموز الخطأ. يتضمن المشروع دعم البناء ونصوص التكوين لتجميع الملفات الثنائية لمنصة Android.
nghttp2 triggers a custom callback function when a stream is closed to allow for resource cleanup.
s2n هي مكتبة أمان تعتمد على C وتنفيذ لبروتوكول TLS تعمل كطبقة نقل شبكة آمنة. توفر واجهة خلفية تشفيرية نمطية لتشفير تدفقات البيانات، وإدارة المصافحات، والتعامل مع المصادقة المتبادلة بين الأقران. يركز المشروع على التشفير ما بعد الكم، حيث يدمج تبادل المفاتيح والتوقيعات الرقمية المقاومة للكم لحماية الاتصالات ضد تهديدات الحوسبة المستقبلية. يتميز بتدابير تقوية الأمان، مثل تخزين الأسرار المقفل في الذاكرة لمنع تبديل المفاتيح إلى القرص وتخفيف هجمات التوقيت عبر التأخيرات العشوائية. تغطي المكتبة سطحاً واسعاً من إدارة الاتصال والتحسين، بما في ذلك استئناف الجلسة، والمفاتيح المشتركة مسبقاً، وإدخال/إخراج الشبكة غير المحظور عبر ردود الاتصال المخصصة. كما توفر أدوات شاملة لإدارة الشهادات للتعامل مع مخزن الثقة، والتحقق من الإبطال، والتحقق من الشفافية.
Implements a transport-level callback mechanism for sending and receiving network data without internal socket management.
MemoryPack is a high-performance binary serialization library for C# and Unity. It provides a zero-allocation data pipeline and a schema-evolution framework designed to minimize memory allocations and encoding overhead. The project utilizes compile-time source generators to avoid runtime reflection and implements a zero-encoding binary format for maximum throughput. It distinguishes itself through a zero-allocation approach that reuses object instances to reduce garbage collection pressure and copies the memory layout of unmanaged structs directly to binary streams. The library covers binary
Provides user-defined callbacks during the serialization process to handle custom headers or inject dependencies.
P4wnP1 هو إطار عمل لحمولات USB اللاسلكية ومنصة هجمات تعتمد على Raspberry Pi Zero. يعمل كمحاكي لجهاز USB HID ومحول شبكة، حيث يقلد لوحات المفاتيح والأجهزة الطرفية الأخرى للتفاعل مع الأجهزة المستهدفة وتنفيذ حمولات لوحة مفاتيح مؤتمتة. يوفر المشروع نظاماً قابلاً للتخصيص لتنفيذ هجمات HID وإدارة الوصول عن بُعد عبر نقطة اتصال لاسلكية. كما يتيح محاكاة الأجهزة المركبة، مما يسمح لمنفذ مادي واحد بتقديم وظائف متعددة، مثل واجهات Ethernet ولوحة المفاتيح، في وقت واحد. يغطي إطار العمل إمكانيات تدقيق أمن الأجهزة واختبار الاختراق المؤتمت. ويشمل ذلك القدرة على ترحيل حركة مرور الشبكة، وإدارة الاتصالات اللاسلكية، وتشغيل تسلسلات برمجية بناءً على أحداث النظام أو حالات مؤشرات LED للوحة المفاتيح. كما ينشئ قنوات اتصال خفية لنقل البيانات دون استخدام بروتوكولات الشبكة القياسية.
Triggers automated logic based on system state changes like network link activity and IP address assignment.
ExecuTorch is a lightweight C++ runtime for deploying PyTorch models on mobile, embedded, and edge hardware. It provides an ahead-of-time compilation pipeline that exports, quantizes, and lowers model graphs into compact serialized programs, then executes them through a minimal runtime with hardware acceleration and on-device large language model inference capabilities. The project distinguishes itself through a hardware accelerator delegate system that partitions model subgraphs and offloads computation to specialized backends including NPUs, GPUs, and DSPs from Apple, Arm, Intel, MediaTek,
ExecuTorch receives each generated token via a callback function, enabling real-time output display during inference.