Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5954287
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T17:56:57+00:00 2026-05-22T17:56:57+00:00

Currently I´m not sure, I try to make a high-performance server, I got a

  • 0

Currently I´m not sure, I try to make a high-performance server, I got a 6Core CPU, so if I would use the “io_service_per_cpu” design, I have 6 io_service´s.

I already heard that the threadpool design isn´t the best one, but I´m not sure about that.

What knowledge do you have? Someone already made a Stress test with each, or something else?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T17:56:58+00:00Added an answer on May 22, 2026 at 5:56 pm

    In my experience it is vastly easier to approach asynchronous application design with the following order:

    1. single thread and a single io_service
    2. multiple threads, each invoking io_service::run() from a single io_service. Use strands for handlers that require access to shared data structures.
    3. io_service per cpu

    The motivation for changing between each of these designs should be done after profiling your application. Note that the HTTP Server 2 example only shows how to use an io_service per CPU, it does not show you when or why to use such a design.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm not sure if this is even possible but here goes: Currently I have
currently, I am looking deeper into testing techniques, even though I am not sure
Okay I'm looking for some input, I'm pretty sure this is not currently supported
I do not really use any try/catches in my code ever but I'm trying
Not sure if I am doing this correctly or not. Here is my .js
I'm not sure how to correctly format a .NET DateTimeOffset variable, as a string,
Not sure how to take my current expression and get the week ending date
Not sure if I can explain this correctly, but I am trying to execute
I'm not sure whether I'm asking the question correctly, but I've been told SQL
Not sure if this is possible or if I'm expressing correctly what I'm looking

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.