Skip to content

Latest commit

 

History

History
executable file
·
48 lines (28 loc) · 725 Bytes

File metadata and controls

executable file
·
48 lines (28 loc) · 725 Bytes

Roxy

A lightweight Redis Layer 7 proxy.

  • epoll based, can manage thousands of connections
  • single threaded (for now)
  • supports Redis protocol
  • can intercept and modify requests and responses

Prerequisites

  • Linux (tested on Ubuntu 24.04)
  • C toolchain:
    • make
    • a recent C compiler (e.g., gcc or clang with support for C23 features)

Build

From the project root:

make all

Unit testing

Incomplete, at the moment only the dbus module is tested.

make test

Usage

  • Run redis server
  • Run roxy
  • connect redis client to roxy

Example:

Open a terminal and run:

redis-server

Open another terminal and run:

./roxy

Open another terminal and run:

redis-cli -p 6380