Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graphite

Make your networking easy, fast, predictable.


About

Graphite is a continue of Quartz Project Designed to make networking like a flow. Graphite using CC(Congestion control) called QNC (Queue Network Control) which using technologies like PI/PID and CoDel

Features:

  • Very easy API with builder pattern
  • Type safe networking, Graphite using Validator
  • Compact, structure binary serialization with no type tags
  • Slice batching, Not just naive batching, only advanced
  • QNC - Smart Congestion control algorithm

Basic Usage(Client):

local Graphite = require(path.to.Graphite)

local Event = Graphite.Event("Test")
      .type(Graphite.Bool)
      .droppable()
      .build()

Event.Fire(false)
Event.OnClientEvent(function(bool: boolean)
    print("got from server:".. bool)
end)
-- autocomplete fully working!

Server:

local Graphite = require(path.to.Graphite)

local Event = Graphite.Event("Test")
    .type(Graphite.Bool)
    .droppable()
    .build()

About

Graphite - Ultra fast network library for any your needs

Resources

Contributing

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages