I am trying to reduce blocking IO processing by using a threaded application. Basically I want to return a respond to the user while processing the information in the background. Can anyone point me in the right direction ? Please urgently need a solution.
Thanks in advance
-Additional Comments
I am building a front-end web-app that sends json data to the server to be saved. I want to send a respond back to the user without they have to wait for the database transaction. That operation will then be performed later in the background.
I have no idea if it will work for you (as you don’t specify what your use-case is), but have you seen the Executor plugin for grails?
The docs can be found with the source on the related github page