Skip to content

frankfarrell/rust-relp-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust RELP Server

An implementation of the Reliable Event Logging Protocol (RELP) in Rust, wikipedia article.

The protocol is defined here

The aim here to port a relp server I wrote previously in java & netty as a way to learn Rust & tokio.io

TODOs

  1. It currently uses \n delimiting for message splitting which is wrong. The regex used to parses messages needs to be open ended and then message split according to datalen parameter
  2. Move some of the protocol details from Service to Codec or protocol. I'm still learning rust and tokio.io so I couldnt figure it out. If is moved, this could be used a library where clients implement custom services, eg write to a logfile, persist to a db etc.

About

A relp server implemented in rust using tokio.io

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published