I have a Grails 3 web application. After a client sends a request to my application, a long-running process starts, the process completion can take a few seconds or a few hours. I don't want to block the client to wait for the response. Therefore, I start a new thread for the process, but when the process execution completed, I can not update the client to know that the process has completed. After some search, I came across to WebSockets which might be a solution or maybe there are better solutions exists.
I would like to know what are possible good solutions (grails plugins) for this problem.
Thank you.