Chapter 4. Using Fast Web Servers and Databases

Raspberry Pi 2 is even better at working as a webserver now, thanks to its quad core architecture. Everything described in this chapter is still compatible with Raspberry Pi 1, but any performance tests run here are strictly for Raspberry Pi 2. The following topics will be covered in the chapter:

  • Apache versus nginx versus Kestrel
  • Extra frameworks for nginx
  • Installing a database

Apache versus nginx versus Kestrel

With the release of .NET 5, Microsoft has managed to bring a full stack of C# deployment targets to Linux. ASP web applications, such as the popular ASP.MVC, can be hosted on Linux by using Kestrel, a development web server based on libuv. Libuv was primarily developed for use by Node.js and ...

Get Raspberry Pi 2 Server Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.