Commit Graph

16 Commits

Author SHA1 Message Date
Carl Lerche
77df32d15e Track Tokio v0.3 changes (#67) 2020-10-22 20:18:54 -07:00
Evan Cameron
0991ee25b2 Add explicit notify_sender drop (#45) 2020-06-11 13:43:24 -07:00
Alice Ryhl
58e816e36e fix broken sentence (#51) 2020-05-20 15:24:25 -05:00
avinassh
4c9ef8b31f fix typos (#50) 2020-05-20 21:58:16 +02:00
guanqun
bbaa16c6f5 typo fix (#48) 2020-05-18 11:25:04 -05:00
Carl Lerche
81888e36b5 fmt (#34) 2020-04-15 09:47:28 -07:00
João Oliveira
e7f6a372f0 add initial client tests (#25) 2020-04-05 20:57:45 -07:00
João Oliveira
83cdedf34f fix startup panic by raising shutdown channel buffer to 1 (#24) 2020-04-05 13:17:51 -07:00
Carl Lerche
f187085156 Improve accept logic (#21)
Handle accept errors using an exponential backoff strategy. Also uses a
semaphore to limit the max number connections.

Adds inline documentation and comments.
2020-04-05 10:24:49 -07:00
Carl Lerche
4ac69aeb76 write server test (#19) 2020-04-03 12:21:39 -07:00
Carl Lerche
bbb80c341e apply client/cli polish (#15)
Continuation of #11. Refines the client structure and implements GET.

`clap` is decoupled from the lib code. This is done to avoid any CLI
parsing concerns to leak into the lib. The main motivation for this is
to allow the reader to focus on Tokio concerns and not CLI parsing
concerns.
2020-04-01 16:09:41 -07:00
Carl Lerche
fc5597f293 server: implement key expiration (#13) 2020-03-25 13:45:54 -07:00
Avery Harnish
2b6b19ebc3 feat: adds trace events to server 2020-03-03 17:14:18 -06:00
Avery Harnish
80511f2cb5 add cli for server/client (#4)
This PR adds a CLI to main.rs that allows you to run the redis server and eventually the redis client.
2020-03-03 09:15:20 -08:00
Avery Harnish
9852de9924 runs cargofmt (#3) 2020-02-11 13:27:49 -08:00
Carl Lerche
358e95e57c Initial commit 2020-02-05 09:56:25 -08:00