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 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.