Skip to content

Home

Reloaded: Messaging Module



Assert.Equal(funnyMessage, Dio)

Introduction

Reloaded.Networking is library that adds support for simple, high performance message packing to existing networking libraries.

Specifically, it provides a minimal framework for performing the following tasks:

  • Asynchronous message processing for external networking libraries.
  • Setting up host & client (for supported libraries).
  • Sending/Receiving messages with (de)serialization and [optional] (de)compression.
  • Automatically dispatching messages to appropriate handlers (per message type).

It was originally created for Reloaded II, however has been extended in the hope of becoming a more general purpose library.

This library is heavily optimized for achieving high throughput for messages < 128KB.

Characteristics

  • High performance. (Memory pooling, low heap allocation).
  • Low networking overhead.
  • Custom serializer/compressor per class type.
  • Simple message packing/protocol.
  • 1 byte overhead for uncompressed, 5 bytes for compressed.
  • Unsafe.