Skip to content

A simple file server using the io_uring asynchronous I/O API added in Linux 5.1.

License

Notifications You must be signed in to change notification settings

jknapka/uring_svr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • A Simple File Server Using io_uring

This code implements a very simple file server using the new (as of kernel 5.1) io_uring asynchronous I/O API. It's NOT an HTTP server. All it does is listen for connections on a TCP/IP port. When one arrives, it reads a UTF-8 file name from the peer (terminated by a newline 0x0A). It then sends the file contents to the peer, using the facilities provided by libiouring. The code is extensively commented to explain exactly what is happening.

About

A simple file server using the io_uring asynchronous I/O API added in Linux 5.1.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published