LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 10-19-2007, 01:08 AM   #1
suresh_rupineni
LQ Newbie
 
Registered: Jul 2006
Posts: 11

Rep: Reputation: 0
server which accepts multiple clients


hi,
i have one problem with concurrent server using threads.my situvation is i want to scan the incoming mails.but some times we will get more mails in that case maximum number of therads i have already created is in scanning process.in that case what is the solution for that one.is there any alternate way instead of multi threading.

regards
suresh
 
Old 10-19-2007, 01:46 AM   #2
ghostdancer
Member
 
Registered: Apr 2002
Distribution: Slackware
Posts: 266

Rep: Reputation: 30
Usually, I always tell people if you going to handle something that is high load (like emails) of transaction, if possible, implement it as a store-and-forward structure. Basically, one system handle all incoming data and store them temporary. The next system process the data and do the necessary work on them. In this case, there is no need to change your program, just setup the front mail server, and configure such that it will concurrently send 20 (if that is the limit) connections to your anti-spam system.

Just my < 2cents suggestion...

Last edited by ghostdancer; 10-19-2007 at 02:25 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple clients for echo server msriram_linux Linux - Networking 1 12-05-2007 03:27 PM
multiple-echo-clients-server msriram_linux Linux - Networking 2 12-05-2007 12:10 PM
Multiple clients communicating to one socket dragondad Programming 3 09-10-2005 08:22 AM
Mail Server for Multiple Hosting Clients bytebrowser Linux - Networking 2 01-24-2005 03:56 PM
Multiple Clients One Authentication jpbarto Linux - Networking 4 10-02-2003 01:50 PM


All times are GMT -5. The time now is 12:48 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration