ubiquibacon
ubiquibacon

Reputation: 10667

Recommended approach to multi-threading in Grails 3

In Grails 2 I used the Executor plugin to perform multi-threading operations in services and it worked very well. Like most Grails plugins it hasn't been ported over to Grails 3 yet. The GPars library is/was another option for multi-threading, but with Codehaus shutdown I am reluctant to use it.

What is the recommended approach to multi-threading in Grails 3?

Upvotes: 3

Views: 2809

Answers (1)

Joshua Moore
Joshua Moore

Reputation: 24776

The recommended approach is outlined in Asynchronous Programming section of the documentation. It makes use of GPars and also has some specific Grails features as well.

Upvotes: 3

Related Questions