You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tests were performed with a 1000 concurrent TCP connections on the
662
662
localhost where latency is 0.07ms on average on my machine. On higher
@@ -671,11 +671,11 @@ decrease.
671
671
672
672
The code used in the benchmarks can be found at
673
673
674
-
* [Asio](https://github.com/mzimbres/aedis/blob/3fb018ccc6138d310ac8b73540391cdd8f2fdad6/benchmarks/cpp/asio/echo_server_direct.cpp): A variation of [this](https://github.com/chriskohlhoff/asio/blob/4915cfd8a1653c157a1480162ae5601318553eb8/asio/src/examples/cpp20/coroutines/echo_server.cpp) Asio example.
675
-
* [Libuv](https://github.com/mzimbres/aedis/tree/835a1decf477b09317f391eddd0727213cdbe12b/benchmarks/c/libuv): Taken from [here](https://github.com/libuv/libuv/blob/06948c6ee502862524f233af4e2c3e4ca876f5f6/docs/code/tcp-echo-server/main.c) Libuv example .
676
-
* [Tokio](https://github.com/mzimbres/aedis/tree/3fb018ccc6138d310ac8b73540391cdd8f2fdad6/benchmarks/rust/echo_server_direct): Taken from [here](https://docs.rs/tokio/latest/tokio/).
* [Asio](https://github.com/boostorg/redis/blob/3fb018ccc6138d310ac8b73540391cdd8f2fdad6/benchmarks/cpp/asio/echo_server_direct.cpp): A variation of [this](https://github.com/chriskohlhoff/asio/blob/4915cfd8a1653c157a1480162ae5601318553eb8/asio/src/examples/cpp20/coroutines/echo_server.cpp) Asio example.
675
+
* [Libuv](https://github.com/boostorg/redis/tree/835a1decf477b09317f391eddd0727213cdbe12b/benchmarks/c/libuv): Taken from [here](https://github.com/libuv/libuv/blob/06948c6ee502862524f233af4e2c3e4ca876f5f6/docs/code/tcp-echo-server/main.c) Libuv example .
676
+
* [Tokio](https://github.com/boostorg/redis/tree/3fb018ccc6138d310ac8b73540391cdd8f2fdad6/benchmarks/rust/echo_server_direct): Taken from [here](https://docs.rs/tokio/latest/tokio/).
Redis clients have to support automatic pipelining to have competitive performance. For updates to this document follow https://github.com/mzimbres/aedis.
717
+
Redis clients have to support automatic pipelining to have competitive performance. For updates to this document follow https://github.com/boostorg/redis.
718
718
719
719
## Comparison
720
720
721
-
The main reason for why I started writing Aedis was to have a client
721
+
The main reason for why I started writing Boost.Redis was to have a client
722
722
compatible with the Asio asynchronous model. As I made progresses I could
723
723
also address what I considered weaknesses in other libraries. Due to
724
724
time constraints I won't be able to give a detailed comparison with
@@ -729,7 +729,7 @@ stars, namely
729
729
730
730
* https://github.com/sewenew/redis-plus-plus
731
731
732
-
### Aedis vs Redis-plus-plus
732
+
### Boost.Redis vs Redis-plus-plus
733
733
734
734
Before we start it is important to mention some of the things
735
735
redis-plus-plus does not support
@@ -799,7 +799,7 @@ Transactions also suffer from the very same problem.
799
799
> NOTE: Creating a Transaction object is NOT cheap, since it
800
800
> creates a new connection.
801
801
802
-
In Aedis there is no difference between sending one command, a
802
+
In Boost.Redis there is no difference between sending one command, a
803
803
pipeline or a transaction because requests are decoupled
804
804
from the IO objects.
805
805
@@ -836,12 +836,12 @@ It is also not clear how are pipelines realised with this design
836
836
## Installation
837
837
838
838
Download the latest release on
839
-
https://github.com/mzimbres/aedis/releases. Aedis is a header only
839
+
https://github.com/boostorg/redis/releases. Boost.Redis is a header only
840
840
library, so you can starting using it right away by adding the
841
841
`include` subdirectory to your project and including
842
842
843
843
```cpp
844
-
#include<aedis/src.hpp>
844
+
#include<boost/redis/src.hpp>
845
845
```
846
846
847
847
in no more than one source file in your applications. To build the
@@ -852,10 +852,10 @@ BOOST_ROOT=/opt/boost_1_80_0 cmake --preset dev
852
852
```
853
853
## Acknowledgement
854
854
855
-
Acknowledgement to people that helped shape Aedis
855
+
Acknowledgement to people that helped shape Boost.Redis
856
856
857
857
* Richard Hodges ([madmongo1](https://github.com/madmongo1)): For very helpful support with Asio, the design of asynchronous programs, etc.
858
-
* Vinícius dos Santos Oliveira ([vinipsmaker](https://github.com/vinipsmaker)): For useful discussion about how Aedis consumes buffers in the read operation.
858
+
* Vinícius dos Santos Oliveira ([vinipsmaker](https://github.com/vinipsmaker)): For useful discussion about how Boost.Redis consumes buffers in the read operation.
859
859
* Petr Dannhofer ([Eddie-cz](https://github.com/Eddie-cz)): For helping me understand how the `AUTH` and `HELLO` command can influence each other.
860
860
* Mohammad Nejati ([ashtum](https://github.com/ashtum)): For pointing out scenarios where calls to `async_exec` should fail when the connection is lost.
861
861
* Klemens Morgenstern ([klemens-morgenstern](https://github.com/klemens-morgenstern)): For useful discussion about timeouts, cancellation, synchronous interfaces and general help with Asio.
0 commit comments