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

The Archive Base Latest Questions

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

We are developing a TCp Server of 1k connections, with async calls it is

  • 0

We are developing a TCp Server of 1k connections, with async calls it is working fine.
But we have to save the data of each client in DB separately.

How to manage this much large pool of DB connections ideally what should be hardware required?
Can we use a single core machine for TCP Server 1k connection?

INFO: We are having GPRS enabled tcp clients(These are hardware devices which connect to tcp server every 1 min and sends data. Current Db MYSQL

  • 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-15T18:47:27+00:00Added an answer on June 15, 2026 at 6:47 pm

    I would implement it as follows:

    1. Have a collection of data that is waiting to be saved protected by a lock.

    2. When a thread has new data to be saved, acquire the lock on the collection, add the data to the collection, and release the lock.

    3. Have a “save thread” (or save job, or whatever is appropriate for your language or threading library) that periodically acquires the lock on the collection, swaps the collection for an empty collection, releases the lock, and then saves all the data in the collection in a single SQL transaction.

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

Sidebar

Related Questions

I'm developing a server-client application that uses 3 ports [TCP SOCKET .Net 4.0].. So
i am developing a small TCP Client/Server lib. i am facing this problem when
I'm developing a client/server app in which the client calls the WCF service every
We're developing a silverlight multiplayer game using TCP connections. We have all of our
I'm developing a tcp server in c++ using boost. I'd like process incoming data
I'm developing a system for exchanging data between client and server application using sockets
I have been developing my first TCP/Socket based application with Apache Mina, it looks
I am developing an Tcp client in C# and I am using the TcpClient
Im currently developing a chat client for the iphone. Server-side there is a node.js
I'm developing a server in C#. This server will act as a data server

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.