CPU use when Threads = 1 - WeOnlyDo Discussion board

CPU use when Threads = 1 (wodWebServer / wodWebServer.NET)

by mattw55, Sunday, October 30, 2016, 16:35 (2707 days ago) @ Jasmine

Ok, thanks for clearing that up. I have tried it with Threads = 0 and it does seem to work fine. In this particular case, because there is minimal processing being done for each client, this may be a better option. Looking at the CPU impact of changing from using threads to not using them was minimal though, perhaps only a 1% difference over 30 connected clients. With that said, your explanation still helps, as I can rule out the problem being a timer issue in the threads.

Thanks for you help,
-Matt


Complete thread: