LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-21-2011, 05:39 PM   #1
yaplej
Member
 
Registered: Apr 2009
Distribution: CentOS, Ubuntu, openSuSE
Posts: 165
Blog Entries: 1

Rep: Reputation: 22
Client/Server methods for processing session packets


Hello,

I am working on an open source network accelerator (OpenNOP) for using in an enterprise WAN. Currently it can only compresses TCP segment payload using LZ compression but I want to expand this to application specific acceleration. In the current system there are only a few threads that process the packets as they enter the system. This works ok when the packet either gets compressed/decompressed or does not get compressed/decompressed.

To do application specific stuff I think that each session would need its own worker thread to processed and accelerator that sessions traffic. I image thats how Samba/NFS handle their the traffic of each session/connection so it would seem like I will need to do something similar. For each session I would spawn one of these application specific threads and allow that to handle all the acceleration stuff for that session. If its a CIFS, NFS, IMAP, SQL it would spawn a thread specific to that traffic type.

I would love to see if there are any other options to get the same job done but I am just not that familiar with C to know of a better way.

Thanks.
 
  


Reply



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
VNC - Where is the graphics processing done, on client or server? Simmo512 Linux - Software 1 12-05-2008 11:12 PM
C++ windows server but linux client app remotely invoking methods linuxmandrake Programming 2 10-12-2008 08:09 PM
LXer: Is server or client processing better for charts and graphs? LXer Syndicated Linux News 0 02-02-2008 05:50 AM
Keep client session betwen servers or ports of a server Felipe Linux - Server 3 09-21-2007 10:02 AM
Linux Terminal Server and Host/Client processing workloads X_ArchAngel Linux - Networking 0 02-16-2005 08:11 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:10 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration