Are High Performance C ++ Web Applications Real?

    At the moment, the question is about developing a high-performance web application that could withstand millions of hits per day.
    Target load of 1000 hits per second and higher (up to filling the gigabit channel).

    Did any of the readers have experience developing web applications in C ++? I propose to discuss the difficulties and limitations.
    It is understood that the application will not have memory leaks (and therefore stability problems), and a 2-3-fold increase in the development price compared to PHP is acceptable.

    What options do I see:


    For all options: the server processes only dynamic content, all the static on separate servers / CDN.

    1) fastcgi module Apache / nginx, stores all the necessary information in memory, occasionally flushing critical data in MySQL (well, complex but rare queries can be done in MySQL)
    2) apache itself: the application processes HTTP requests by itself, using for example the existing library implementation Poco
    3) Hammer in C ++ and do it in PHP + APC with data caching inside APC.
    4) To hammer in C ++ and make in PHP + APC with caching data inside memcached, immediately calculating to put a bunch of servers.

    What are the opinions?

    Also popular now: