I am planning to develop REST based services using Racket and its web-server. One requirement that I have is the web-server operating in asynchronous mode (non-blocking event-based).
Is there an example to configure or customize the Racket web-server to operate in asynchronous mode ?
I have browsed through the Racket documentation but cannot figure out how to do this.
racket/web-server
uses Racket threads (which are lightweight "green threads", not OS threads). You could try it, see if it meets your performance reqs. (Having said that, Racket's does allow non-blocking I/O, so I suppose you could roll your own REST server if you believe that implementation is the primary consideration.) – Testa