I don't understand when to use SuspendableFilter.
Suppose that I receive a request from the client. I start processing the
request, but it's possible that I'm waiting after the database before
continuing the process. The request from the client will be blocked until
the database return the results and after that the server will be able to
continue to process the client request.. and after all that. the request
will receive the response.
I have a basic client/server application. The clients can send multiples
requests to the server, and the server will response when it able to process
them.
so I don't understand what the SuspendableFilter will add to that .
can someone explain it to me with a example ?
thanks