This allows you to provide a custom ExecutionContext based on the Request that gets passed into the
RequestHandler.handle method when the HTTP Server is serving a request. This allows you to do things like provide a
PriorityQueue based ThreadPoolExecutor that can use the timestamp from the Request as the priority to ensure that
requests are processed in a FIFO (the first request in has the highest priority) ordering to prevent Requests with
lots of remote calls or Future callbacks from being starved of CPU time.
This allows you to provide a custom ExecutionContext based on the Request that gets passed into the RequestHandler.handle method when the HTTP Server is serving a request. This allows you to do things like provide a PriorityQueue based ThreadPoolExecutor that can use the timestamp from the Request as the priority to ensure that requests are processed in a FIFO (the first request in has the highest priority) ordering to prevent Requests with lots of remote calls or Future callbacks from being starved of CPU time.