How to configure the maximum number of background tasks to run concurrently

By default Yellowfin allows up to 5 background threads to be run concurrently.

You can configure YF to run less background tasks at a time by adding the following code to the MIStartup block of web.xml, in this example we are limiting the number of concurrent threads to be just one:

This setting can be useful if your server's resources are getting drained due to too many background threads being run at once, resulting in poor performance. For example, you may have a broadcast to 10 people at 9 AM every morning (and your RAM is not as big as it could be) and that brings Yellowfin to a halt, in which case the above code will help this situation.

*Here is the text version of the above code block:


Is article helpful?