Skip to content
Please note that GitHub no longer supports Internet Explorer.

We recommend upgrading to the latest Microsoft Edge, Google Chrome, or Firefox.

Learn more
No description, website, or topics provided.
C Makefile
Branch: master
Clone or download
Cannot retrieve the latest commit at this time.
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE add License file Jan 20, 2020
Makefile
README.md
epoll_echo_server.c

README.md

epoll bare minimum echo server

  • uses an event loop created with epoll

install and run

make

./epoll_echo_server [port_number]

compare with io_uring echo server

https://github.com/frevib/io_uring-echo-server

Benchmarks

  • VMWare Ubuntu 18.04
  • Linux 5.4.12
  • 4 virtual cores
  • Macbook pro i7 2,6ghz/32GB

with rust_echo_bench: https://github.com/haraldh/rust_echo_bench

command: cargo run --release -- --address "localhost:5555" --number 50 --duration 60 --length 512

Benchmarking: localhost:6666
50 clients, running 512 bytes, 60 sec.

Speed: 225624 request/sec, 225624 response/sec
Requests: 13537487
Responses: 13537486

You can’t perform that action at this time.