Skip to content

Documentation for the Sockety protocol

Notifications You must be signed in to change notification settings

sockety/protocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Sockety - blazing fast communication protocol

Overview

The Sockety protocol has performance in mind, and is used for P2P communication between workers - sending commands, data and files between them.

The overhead is cut to minimum, to improve performance and reduce transfer.

Features

  • Multiplexing
    • Allows up to 4096 concurrent read/write channels
  • UUIDs built in the protocol
    • Every message will have UUID by design
  • Real-time streams
    • Every message may attach a stream of any kind of data
  • Files
    • Message has a concept of files - file with known name, size and contents
  • Payload
    • Message may contain additional payload bytes
  • Flexible responses
    • Message doesn't need to get any response, yet may get multiple
    • The response may be either just a lightweight code (FastReply - 0-4095 code), or a full-scale message (Response with data, files and/or stream)

Links

About

Documentation for the Sockety protocol

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published