Advertisement

Multicore Web Server

  • Warren Gay

Abstract

Given that the Raspberry Pi 2 has four CPU cores of bristling computing power, this chapter provides an example web server project that can use them all. Although this project uses the C libevent library in the background, a nice C++ class wraps up the the C API in a nice convenient C++ package. In this chapter we examine a web server built from scratch (apart from libevent) that is fast and lean. Most important, it can be easily extended to do just about anything the Pi can do.

Keywords

Class Definition IPv4 Address Incoming Request Work Thread Void Shutdown 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Warren Gay 2015

Authors and Affiliations

  • Warren Gay
    • 1
  1. 1.OntarioCanada

Personalised recommendations