feat(server): support epoll linux api (#351)

This commit is contained in:
Roman Gershman 2022-10-04 11:11:09 +03:00 committed by GitHub
parent af690668ca
commit b616b1e1fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 117 additions and 61 deletions

View file

@ -2,9 +2,8 @@
## Running the server
Dragonfly runs on linux. It uses relatively new linux specific [io-uring API](https://github.com/axboe/liburing)
for I/O, hence it requires `Linux verion 5.10` or later.
Debian/Bullseye, `Ubuntu 20.04.4` or later fit these requirements.
Dragonfly runs on linux. We advice running it on linux version 5.11 or later
but you can also run Dragonfly on older kernels as well.
### WARNING: Building from source on older kernels WILL NOT WORK.
@ -58,7 +57,7 @@ OK
1) "hello"
127.0.0.1:6379> get hello
"world"
127.0.0.1:6379>
127.0.0.1:6379>
```
## Step 6

View file

@ -37,7 +37,7 @@ OK
1) "hello"
127.0.0.1:6379> get hello
"world"
127.0.0.1:6379>
127.0.0.1:6379>
```
## Step 3
@ -46,10 +46,6 @@ Continue being great and build your app with the power of DragonflyDB!
## Known issues
#### `Error initializing io_uring`
This likely means your kernel version is too low to run DragonflyDB. Make sure to install
a kernel version that supports `io_uring`.
## More Build Options
- [Docker Compose Deployment](/contrib/docker/)