7. A Simple Server Using the Pedestal Framework

The goal of this chapter is to understand why the Pedestal server was developed and why you’d use it (over Compojure). We also want to get a very basic Pedestal server website up and running.


In this chapter we assume the following:

Image You understand that rich web applications can exhaust web server resources if the server isn’t implemented properly.

Image You understand that by default the Ring framework under Compojure allocates a thread to each request.


Benefits include the following: ...

Get Clojure Recipes now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.