Re: [Cppcms-users] CppCMS 1.1 Progress report (scoop 1st beta is coming...)
Brought to you by:
artyom-beilis
From: 陈抒 <csf...@gm...> - 2016-01-15 06:20:15
|
the table shows not correctly in previous email, I upload the screenshot here. cpu,mem and request/sec have three number: min, max and average. [image: Inline image 2] our hardware information: [image: Inline image 3] Dean Chen Best regards http://blog.csdn.net/csfreebird On Fri, Jan 15, 2016 at 2:13 PM, 陈抒 <csf...@gm...> wrote: > Compare with other languages, c++ cppcms is faster. But my team did > benchmark a few months ago, we found the qps of mudoo is best, libevent is > much faster than boost asio and cppcms. We use two client servers to send > requests to one target server which runs four rest server based on mudoo, > libevent, boost:asio and cppcms one by one. > > Below is our benchmark resutl. > > Table 5: more details httpserver all versions > benchmarkServerCompilerOptimization > optionCpuMemDiskNetcard(in/out)Requests/seccppcms_basedclang++ 3.6.2-O3228% > / 239% / 228%9356 / 9416 / 9416--14252 / 16124 / 15820asio_basedclang++ > 3.6.2-O3300% / 305% / 303%4368 / 4564 /4416--33069 / 34247 / > 33360libevent_basedclang++ 3.6.2-O3763% / 764% / 764%5560 / 10M / > 5520--113373 / 114072 / 113713muduo_basedclang++ 3.6.2-O3650% / 694% / > 658%6272 / 6324 / 6312--303202 / 307204 / 305839 > We are not professional benchmark team, Artyom, you can do this yourself > to make sure our conclusion is correct. We can provide our rest server code > implemented by above four c++ framworks if you needed. > > Hope cppcms becomes faster and faster in the future. We really love it > when developing web site. LibEvent's performance is good, but we only use > it to build rest server instead of web site because the code style is too > low level and ugly. > > > > Dean Chen > Best regards > http://blog.csdn.net/csfreebird > > On Thu, Dec 31, 2015 at 11:48 PM, CN <cn...@fa...> wrote: > >> On Thu, Dec 24, 2015, at 06:20 PM, Artyom Beilis wrote: >> >> I want you guys to looking on it - try to build the version from trunk, >> try new API *and report your impressions*. >> >> >> Hi! Artyom, >> >> It's very nice to know CppCMS is under active development :-) >> >> I have just switched to application_specific_pool and have not >> encountered any issue with this new API *during last 10 minutes* :-) >> >> Meanwhile, I want to take this chance to show off my modifications to my >> local version of rpc_json.cpp as follows: >> >> * Comment out line 162: >> BOOSTER_DEBUG("cppcms") << "JSON-RPC Method call:" << method(); >> >> * Change line 181 from >> return_error("Invalid parameters"); >> to >> return_error("Invalid parameters passed to JSON RPC method >> \""+method()+"\""); >> >> * Change line 191 from >> return_error("Internal Service Error"); >> to >> return_error("Invalid JSON RPC method: "+method()); >> >> CppCMS rocks! Simply can not find a single reason not using this superb >> product and learning much C++ skills from it. >> >> Happy new year! >> CN >> >> -- http://www.fastmail.com - Email service worth paying for. Try it for free >> >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> > |