- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Forking Server
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 02:57 PM
02-08-2006 02:57 PM
Hi Guys,
Can anyone describe, what is a forking server and how exactly it works???? what is the difference between a forking server and a server in the client/server relationship?
Thanks in Advance
Raf
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 03:08 PM
02-08-2006 03:08 PM
SolutionThere are primarily two models in server, one is Forking and other is Thread model. Forking server forks (creates) a new process when a request comes in whereas, thread server, creates a new thread for a new incoming request.
Apache supports both models.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 03:13 PM
02-08-2006 03:13 PM
Re: Forking Server
One of the best ways to tackle socket-based client/servers (non-forking, forking, and pre-forking) techniques is with Perl. The Perl code is very similar to what you would do in C and executes almost as fast. I do all of my client/server stuff in Perl these days.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 03:44 PM
02-08-2006 03:44 PM
Re: Forking Server
Thanks for the detailed info Stephenson and Arun, does anyone of you know a good site so I can jump on and do a bit of reading myself, this way I will understand the whole concept???
Cheers,
Raf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 03:47 PM
02-08-2006 03:47 PM
Re: Forking Server
Yes, You can take a look at any of these sites
http://www.thescripts.com/forum/thread49550.html
http://docs.python.org/lib/node535.html
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 04:19 PM
02-08-2006 04:19 PM
Re: Forking Server
Arun a quest for you,
You said,
There are primarily two models in server, one is Forking and other is Thread model. Forking server forks (creates) a new process when a request comes in whereas,
thread server, creates a new thread for a new incoming request.
Apache supports both models...
Raf,
You said it creates a new process when a request comes in. Q. Where is this request coming from, is this from a client???
What is the main difference b/w forking server and just a server on the network..I'm still not clear???
Look forward to hearing from you soon..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 04:24 PM
02-08-2006 04:24 PM
Re: Forking Server
You said it creates a new process when a request comes in. Q. Where is this request coming from, is this from a client???
*** Yes, In case of Apache, whenever a client requests a page, a new process being forked everytime.
What is the main difference b/w forking server and just a server on the network..I'm still not clear???
*** Forking server is just another server, it creates a new process when it receives a request from a client.
Forking and threading are models of Server architecture. It is all how you deesign/write
your server.
Hope this is clear.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 04:29 PM
02-08-2006 04:29 PM
Re: Forking Server
I request you to read this book, Internetworking with TCP/IP, Vol. III: Client-Server Programming and Applications--BSD Socket Version (2nd Edition) by Douglas E. Comer, David L. Stevens
http://www.amazon.com/gp/product/013260969X/104-8641370-4287960?v=glance&n=283155
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 04:34 PM
02-08-2006 04:34 PM
Re: Forking Server
An IEEE paper on Webserver architecture attached with this post, hope it will be helpful
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 04:50 PM
02-08-2006 04:50 PM
Re: Forking Server
Thanks Arun, this would help a lot..
Cheers,
Raf