• Resolved Daniel

    (@warden23)


    Hello,

    Quick question in regards to: https://swiftperformance.io/kb/what-does-threads-mean/

    Say if I set the threads to 3. Does this mean only 3 people can use the cache I’ve created using the Warmup Table; at one time?

    I don’t want only 3 people to be able to view my website or the caching to be limited to only 3 people.

    I’m loving this plugin and looking at getting PRO shortly. Just sorting out the final bits.

    Cheers,
    Daniel

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Fred

    (@fredawd)

    It can limit the threads from 3, 2 or 1 and it means the concurrent threads of optimization. For example if you set the Optimization to Optimize in Background, and you have 100 visitors it can start 100 threads if you won’t limit them. Your server will probably die if there will be 100 concurrent threads.
    If you limit threads, the plugin will use only limited number of threads for optimizing/building the cache and throw every other connection. In average it is 1 to 3, depending on your on the server and the settings.

    Thread Starter Daniel

    (@warden23)

    Thanks for replying even though it was just a copy and paste from the link I supplied in my question.

    I think I understand that it means if logged in users are caching their ‘logged in’ setting threads to 3 will only allow 3 users to cache at one given time and all other users who are logged in will be served the default cache or no cache at all until it’s their time? 🙂

    Plugin Contributor Fred

    (@fredawd)

    It refers to how many CPU threads/process-workers it uses up. On your own server, you should not limit it. On a shared server, you’ll have to limit it or else your host will give you CPU resource warnings.

    Hope it helps.

    Thread Starter Daniel

    (@warden23)

    Thank you Fred for answering my question. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Threading please expand’ is closed to new replies.