From: Dean M. B. <mik...@gm...> - 2010-11-17 13:15:40
|
Hi Guys! I've just pushed to master a new example that highlights the asynchronous server template in 0.8. The example can be found here: https://github.com/mikhailberis/cpp-netlib/blob/master/libs/network/example/http/fileserver.cpp -- I've benchmarked it locally to be able to handle ~3800 RPS on a dual-core Intel 2GB of RAM serving the README.rst file. The example only works on Linux/UNIX where mmap is available, maybe someone can help make this work on Windows too? :) Have a good one guys and I hope this helps! -- Dean Michael Berris deanberris.com |