diff --git a/config.example.json b/config.example.json index 4e6f49cd..179a0df4 100644 --- a/config.example.json +++ b/config.example.json @@ -48,7 +48,7 @@ //any synchronous interface of it. "is_fast": false, //connection_number: 1 by default, if the 'is_fast' is true, the number is the number of - connections per IO thread, otherwise it is the total number of all connections. + //connections per IO thread, otherwise it is the total number of all connections. "connection_number": 1 } ],*/ diff --git a/drogon_ctl/templates/config.csp b/drogon_ctl/templates/config.csp index ef4bbaf9..3be2c968 100644 --- a/drogon_ctl/templates/config.csp +++ b/drogon_ctl/templates/config.csp @@ -48,7 +48,7 @@ //any synchronous interface of it. "is_fast": false, //connection_number: 1 by default, if the 'is_fast' is true, the number is the number of - connections per IO thread, otherwise it is the total number of all connections. + //connections per IO thread, otherwise it is the total number of all connections. "connection_number": 1 } ],*/ diff --git a/examples/README.md b/examples/README.md new file mode 100644 index 00000000..3b45ec26 --- /dev/null +++ b/examples/README.md @@ -0,0 +1,12 @@ +# Drogon Examples + +The following examples can help you understand how to use Drogon: + +1. [benchmark](https://github.com/an-tao/drogon/tree/master/examples/benchmark) - Basic benchmark example. see [wiki benchmarks](https://github.com/an-tao/drogon/wiki/13-Benchmarks) +2. [client_example](https://github.com/an-tao/drogon/tree/master/examples/client_example/main.cc) - A client example. +3. [simple_example](https://github.com/an-tao/drogon/tree/master/examples/simple_example) - A simple example showing how to create a web application using Drogon. +4. [simple_example_test](https://github.com/an-tao/drogon/tree/master/examples/simple_example_test) - Some tests for the `simple_example`. + +### [TechEmpower Framework Benchmarks](https://github.com/TechEmpower/FrameworkBenchmarks) test suite + +I created a benchmark suite for the `tfb`, see [here](https://github.com/TechEmpower/FrameworkBenchmarks/tree/master/frameworks/C%2B%2B/drogon) for details. \ No newline at end of file