Pros and cons - running (scheduled) background tasks and web requests handling on same server
<p>What are the different pros and cons for running (scheduled) background tasks and handling web requests <strong>on the same</strong> (Java) server?</p>

<p>Some points to consider I thought about:</p>

<ul>
<li>How the Garbage Collector would operate</li>
<li>Data isolation </li>
<li>CPU / memory usage</li>
<li>Traffic surges</li>
<li>Security</li>
</ul>