18 个仓库
Optimized conversion of complex data structures into binary formats for minimal latency.
Distinct from Complex Data Serialization: Focuses on the overall efficiency of the serialization process rather than just support for non-primitive types.
Explore 18 awesome GitHub repositories matching data & databases · High-Performance Binary Serialization. Refine with filters or upvote what's useful.
CapnProto is a zero-copy serialization framework and remote procedure call system. It serves as a C++ communication library providing a schema-based data interchange format that eliminates the need to encode or decode data before reading it from memory. The system enables high-performance data serialization and low-latency network communication. It supports cross-language data exchange by using a defined schema to ensure consistent binary representation across different platforms. The framework provides tools for implementing remote procedure calls, allowing functions to be invoked on a remo
Provides extremely efficient binary serialization for high-throughput and low-latency data exchange.
ET is a C# game server framework and distributed actor model runtime designed for large-scale multiplayer environments. It provides a comprehensive toolkit for building distributed game backends, incorporating a multiplayer network transport layer and a specialized suite for game AI and pathfinding. The framework is distinguished by its use of a distributed actor model to scale processing across multiple threads and servers, utilizing isolated actors for state management and messaging. It features a unified codebase architecture that allows shared logic between the server and client, enabling
Implements a binary serialization format designed for high performance and zero garbage collection.
Jackson is a Java data binding framework and multi-format data serializer used to translate data structures into native language objects. It functions as a JSON data binding library and a streaming parser that reads and writes data as discrete tokens to process large datasets with minimal memory. The project distinguishes itself through a bytecode serialization accelerator that replaces standard reflection with generated bytecode to increase data binding speed. It employs a module-based extensibility model to support a wide range of formats beyond JSON, including XML, YAML, CSV, TOML, and bin
Performs high-performance serialization and deserialization using the Smile binary JSON format.
ArduinoJson is a C++ library for parsing and manipulating JSON data and MessagePack binary streams on microcontrollers with limited memory and processing power. It provides the core primitives necessary for embedded data serialization and parsing, enabling devices to exchange structured data over serial or network interfaces. The library is distinguished by its focus on microcontroller memory management, employing strategies such as pool-based allocation, string deduplication, and non-owning string views to minimize RAM usage. It further optimizes for constrained environments by allowing cons
Encodes structured documents into compact MessagePack binary streams.
MessagePack-CSharp is a high-performance binary serialization library for .NET applications that converts object graphs into the MessagePack format. It functions as a C# data serialization toolkit and a polymorphic binary encoder capable of handling abstract classes and interfaces using union keys to identify concrete derived types. The library provides a binary format transcoder to transform binary data into human-readable JSON for debugging. It supports ahead-of-time formatter generation to avoid runtime overhead and implements LZ4 binary compression to reduce the size of serialized data.
Provides a high-performance binary serialization implementation specifically for the MessagePack format in .NET.
MessagePack-CSharp is a high-performance binary serializer for .NET that converts C# objects to and from the compact MessagePack format. It uses compile-time source generation to produce AOT-safe formatters and resolvers, eliminating runtime reflection and enabling ahead-of-time compilation scenarios. The serializer encodes object fields as integer indices instead of string keys, producing compact binary output with deterministic field ordering, and provides stack-allocated reader and writer structs for direct encoding and decoding of MessagePack primitives without heap allocations. The libra
Provides high-performance MessagePack binary serialization for .NET objects with customizable resolvers.
attrs is a Python library that automatically generates initialization, representation, equality, hashing, and ordering methods from declarative class attribute definitions. At its core, it provides a class decorator metaprogramming framework that intercepts class creation to rewrite the class body, producing dunder methods without manual boilerplate. The library includes a comprehensive attribute validation toolkit with built-in validators for type checks, range constraints, regex matching, length limits, and logical composition of validation rules. The library distinguishes itself through it
Encodes class instances into JSON, MessagePack, YAML, or TOML and decodes them back with validation.
This project is a Protocol Buffers Go compiler and code generation framework that translates schema definitions into optimized Go structures and reflection-free serialization methods. It includes a gRPC service generator for producing client and server communication code and a serialization performance toolkit for generating automated benchmarks and test suites. The framework features a plugin-based system for transforming data definitions into source code with custom field mapping and struct tag injection. It allows for custom type mapping and struct type overriding to link data fields to sp
Generates optimized Go code for marshaling and unmarshaling data to minimize CPU and memory overhead.
PartyKit is a serverless WebSocket backend platform for building real-time multiplayer applications. It provides a globally distributed edge computing runtime that runs stateful server code close to users, with automatic scaling and hibernation for idle rooms. The platform handles WebSocket connections, HTTP requests, and durable storage without requiring infrastructure management, and includes a client and server SDK with hooks, storage, and Yjs integration for building collaborative features. The platform distinguishes itself through per-room isolation using Durable Objects, where each uniq
Serializes JavaScript objects into a compact binary format using MessagePack to reduce message size.
FastStream is an asynchronous Python framework designed for building event-driven microservices. It provides a unified abstraction layer for interacting with various message brokers, enabling developers to manage event production and consumption through a consistent interface while maintaining access to native provider-specific features. The framework centers on a decorator-based routing model that binds application logic directly to broker topics, supported by a built-in dependency injection container that resolves resources at runtime. The framework distinguishes itself through its deep int
Integrates high-performance serialization using Msgspec for JSON, MessagePack, YAML, and TOML with schema validation.
LoopBack Next 是一个用于构建 REST 和多协议 API 的 Node.js API 框架。它作为一个 OpenAPI 服务器实现,既可以从代码生成机器可读的规范,也可以从现有规范生成实现控制器和模型。 该框架的特色在于中央依赖注入容器和存储库模式的数据访问层。这种架构将应用程序逻辑与组件构建和持久化存储解耦,允许通过标准化的连接器系统实现数据源和业务逻辑隔离的可插拔系统。 该项目涵盖了广泛的功能,包括具有可插拔身份验证策略的基于角色的访问控制,以及外部 REST 和 SOAP 服务的编排。它还通过命令行界面提供用于 WebSocket 端点实时通信、JSON 模式验证和自动化项目脚手架的工具。 开发过程由一套 CLI 工具支持,用于引导应用程序、生成 API 组件和管理项目依赖项。
Converts binary MessagePack payloads into objects for use within controllers and validates them against JSON schemas.
MemoryPack 是一个用于 C# 和 Unity 的高性能二进制序列化库。它提供了一个零分配(Zero-allocation)数据流水线和模式演进框架,旨在最大限度地减少内存分配和编码开销。 该项目利用编译时源代码生成器来避免运行时反射,并实现了一种零编码二进制格式以实现最大吞吐量。它通过一种零分配方法脱颖而出,该方法重用对象实例以减少垃圾回收压力,并将非托管结构体的内存布局直接复制到二进制流中。 该库涵盖用于向后兼容的二进制模式版本控制,并支持针对大数据集的异步集合流式传输。它包括一个 TypeScript 类型生成器,用于在 C# 和 TypeScript 之间同步数据结构以进行跨语言数据交换。其他功能包括有效载荷压缩、自定义格式化程序实现和序列化回调。
Provides an optimized binary serialization engine for C# designed for minimal CPU and memory overhead.
Fury 是一个多语言二进制序列化框架,旨在编码领域对象和复杂图,以促进跨语言数据交换。它包括一个接口定义语言(IDL)编译器,可将模式定义转换为多种语言中的惯用原生类型和序列化样板代码。 该框架通过零拷贝二进制读取器脱颖而出,该读取器允许在不反序列化整个对象的情况下访问特定字段,以及一个保留循环引用和引用完整性的对象图序列化器。它还具有一个数据转换器,可将基于行的二进制数据转换为用于分析工作负载的列式 Apache Arrow 格式。 该框架涵盖了广泛的功能领域,包括用于前向和后向兼容性的元数据驱动模式演进、用于消除运行时反射的构建时 AOT 编译过程,以及通过基于白名单的类型验证进行的安全反序列化。它还为通过 gRPC 进行的高性能远程过程调用提供了集成。
Provides high-performance serialization alternatives for complex native types, including support for lambdas.
Fory is a cross-language serialization framework and binary data serializer designed to convert complex object graphs into a compact binary format for high-performance data exchange. It includes an IDL-based schema compiler to transform interface definition language files into type-safe native data models and a schema evolution manager to maintain forward and backward compatibility. The project features a zero-copy data access layer that allows reading specific fields from binary rows without deserializing the entire object. It supports dual-mode serialization, enabling a toggle between a por
Provides high-performance conversion of complex object graphs into compact binary formats for minimal latency.
Project-graph 是一个视觉工作区,旨在通过基于节点的知识图谱管理复杂信息。它提供了一个直接操作界面,允许用户将数据组织成逻辑网络,通过互连节点和双向链接映射非线性思维和项目工作流。 该系统通过事件溯源状态管理模型脱颖而出,该模型将每次修改记录为离散操作,从而实现精确的撤销和重做功能。它集成了一个响应式布局引擎,在交互过程中自动计算节点间距和连接路径,以保持视觉清晰并防止元素重叠。 该平台支持全面的视觉知识管理,包括用于标记连接、自定义界面导航以及将数据结构化为嵌套图谱的工具。为了确保数据完整性和性能,该系统利用自动实时持久化和二进制序列化来优化大型数据集的存储效率。
Optimizes the conversion of complex graph structures into binary formats for improved storage and performance.
msgspec is a high-performance data modeling, serialization, and schema validation toolkit for Python. It serves as a type-safe serialization framework that integrates schema enforcement and data parsing into a single pass, functioning as both a data serialization library and a schema validation system based on standard Python type annotations. The project distinguishes itself through high-performance structural primitives, including compilation-based routine generation and zero-copy buffer parsing. It optimizes memory usage via garbage collection-aware layouts and reduces processing overhead
Offers high-performance serialization for JSON, MessagePack, YAML, and TOML with minimal CPU and memory overhead.
json-joy 是一个用于构建实时协作应用和分布式系统的综合库。它提供了一个强大的框架,用于管理共享的 JSON 类数据结构,这些结构会自动合并来自多个用户的并发编辑,确保所有副本之间的一致状态,而无需中央协调服务器。 该项目通过高性能的数据处理方法脱颖而出,利用无冲突复制数据类型(CRDT)和基于逻辑时钟的同步来维护数据完整性。它包含一个专门的引擎,用于使用标准化的指针语法导航和操作复杂的嵌套对象,以及一个用于对文档应用细粒度、原子修改的工具包。这些功能辅以一个支持紧凑二进制格式的高速序列化库,以优化网络带宽和存储效率。 除了核心同步逻辑外,该库还提供了一套广泛的响应式状态管理和用户界面集成工具。它提供声明式的 Hooks 和组件,将共享数据模型直接绑定到基于 Web 的文本和代码编辑器,从而实现实时在线状态、远程光标渲染和本地历史记录跟踪等功能。该系统还支持高级数据处理,包括模式验证、表达式求值和高性能的树状数据组织。
Serializes complex data structures into compact binary formats to reduce network bandwidth usage and accelerate parsing speeds.
PalDB 是一个为 Java 设计的可嵌入键值存储引擎,用于高性能数据检索。它作为一个库,将数据持久化到单个不可变的二进制文件中,为写多读少的负载提供了存储解决方案,与标准内存集合相比,其内存开销极小。 该系统通过写一次数据布局脱颖而出,消除了在并发读取操作期间对锁定机制的需求。通过利用内存映射文件访问和排序键索引,该引擎能够直接在进程地址空间内进行快速查找。这种架构支持将静态数据集作为只读文件分发,并可由多个应用程序实例嵌入和访问。 该库包含一个高性能数据序列化框架,允许开发者定义将复杂对象转换为紧凑二进制流的自定义逻辑。这种可扩展性确保了独特的数据结构可以在本地应用程序环境中高效地存储和检索。
Converts complex custom objects into efficient binary formats for fast storage and retrieval within local application environments.