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 8965369
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T16:47:15+00:00 2026-06-15T16:47:15+00:00

I know it is very basic. But want to clear some concept of mysql

  • 0

I know it is very basic. But want to clear some concept of mysql connections. I have following scenario.

  • Db server and web servers are on different locations.
  • Web server is running an article based web site.
  • Articles data is stored in db server.
  • Web server is delivering 100 articles/pages per second.

My questions are as follows:

  • Single connection between web server and db server can handle it ?
  • How many connections would be created by default ?
  • If I suppose connections as pipes, what is i/o capacity of each connection ?
  • Is there any relationship between db server’s RAM, processor, OS and number of connections ?

Thanks in advance

  • 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-06-15T16:47:16+00:00Added an answer on June 15, 2026 at 4:47 pm

    Single connection between web server and db server can handle it?

    A single connection can pass several requests, but not at the same time, and only for a single client process. So the best scaling approach might be one connection pool per web server process, where threads can obtain an established connection to perform their request, and return the connection to the pool once they are done.

    How many connections would be created by default ?

    Depends on the client language, the MySQL connector implementation, the frameworks you use, the web server configuration, and probably a bunch of other details like this. So your best bet is to simply look at the list of network connections to the MySQL service, e.g. using lsof or netstat.

    If I suppose connections as pipes, what is i/o capacity of each connection ?

    The limiting factor will probably be shared resources, like the network bandwidth or processing capabilities at either end. So the number of connections shouldn’t have a large impact on the data transfer rate. The overhead to establish a connection is significant, though, which is why I suggested reducing the number of connections using pooling.

    Is there any relationship between db server’s RAM, processor, OS and number of connections ?

    Might be, if some application makes choices based on these parameters, but in general I’d consider this rather unlikely.

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

Sidebar

Related Questions

Ok. I know this is very basic. I want to have some basic tags
I know it's very basic question and hope not so important, but i want
Very basic, but didn't know what this type of query is called...I want a
I have a very basic question, but I don't know the answer, unfortunately, google-ing
guys I know this question is very basic but I've met in few publications
I know, this might be a very basic question but I am not 100%
I know it sounds very basic, but I am new to Javascript. Here is
This could be a very basic Javascript I know but I just can't get
Ok, I know this is a very basic question, but my head is swimming
Maybe this is very basic, but I am all confused. I have a simple

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.