<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Forking Server in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/forking-server/m-p/3727525#M788796</link>
    <description>Raf, &lt;BR /&gt;&lt;BR /&gt;An IEEE paper on Webserver architecture attached with this post, hope it will be helpful &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
    <pubDate>Thu, 09 Feb 2006 00:34:24 GMT</pubDate>
    <dc:creator>Arunvijai_4</dc:creator>
    <dc:date>2006-02-09T00:34:24Z</dc:date>
    <item>
      <title>Forking Server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forking-server/m-p/3727517#M788788</link>
      <description>&lt;BR /&gt; Hi Guys,&lt;BR /&gt;&lt;BR /&gt; 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?&lt;BR /&gt;&lt;BR /&gt; Thanks in Advance&lt;BR /&gt; Raf</description>
      <pubDate>Wed, 08 Feb 2006 22:57:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forking-server/m-p/3727517#M788788</guid>
      <dc:creator>Becke</dc:creator>
      <dc:date>2006-02-08T22:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Forking Server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forking-server/m-p/3727518#M788789</link>
      <description>Hi Raf, &lt;BR /&gt;&lt;BR /&gt;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. &lt;BR /&gt;&lt;BR /&gt;Apache supports both models. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Wed, 08 Feb 2006 23:08:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forking-server/m-p/3727518#M788789</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-08T23:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Forking Server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forking-server/m-p/3727519#M788790</link>
      <description>Sure, a typical forking server listens for connections on a given port (e.g. 7777) just as a non-forking server would. The difference is that as soon as a client connection is established, the parent immediately forks and hands off that connection to a child process. The connection is transferred to another port (generally in the anonymous range; ie above 49151). The parent process then goes back to listening for new connections on the dedicated port (7777 in this example). A variation on this theme is the pre-forking server in which the parent process immediately forks a number of child processes upon startup so that the relatively expensive fork()'s are already done.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Feb 2006 23:13:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forking-server/m-p/3727519#M788790</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-02-08T23:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Forking Server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forking-server/m-p/3727520#M788791</link>
      <description>&lt;BR /&gt; 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???&lt;BR /&gt;&lt;BR /&gt; Cheers,&lt;BR /&gt; Raf</description>
      <pubDate>Wed, 08 Feb 2006 23:44:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forking-server/m-p/3727520#M788791</guid>
      <dc:creator>Becke</dc:creator>
      <dc:date>2006-02-08T23:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Forking Server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forking-server/m-p/3727521#M788792</link>
      <description>Hi Raf, &lt;BR /&gt;&lt;BR /&gt;Yes, You can take a look at any of these sites &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.thescripts.com/forum/thread49550.html" target="_blank"&gt;http://www.thescripts.com/forum/thread49550.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://docs.python.org/lib/node535.html" target="_blank"&gt;http://docs.python.org/lib/node535.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Wed, 08 Feb 2006 23:47:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forking-server/m-p/3727521#M788792</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-08T23:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Forking Server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forking-server/m-p/3727522#M788793</link>
      <description>&lt;BR /&gt; Arun a quest for you,&lt;BR /&gt; &lt;BR /&gt; You said,&lt;BR /&gt; 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,&lt;BR /&gt; thread server, creates a new thread for a new incoming request. &lt;BR /&gt;&lt;BR /&gt;Apache supports both models...&lt;BR /&gt;&lt;BR /&gt; Raf,&lt;BR /&gt; You said it creates a new process when a request comes in. Q. Where is this request coming from, is this from a client???&lt;BR /&gt;&lt;BR /&gt; What is the main difference b/w forking server and just a server on the network..I'm still not clear???&lt;BR /&gt;&lt;BR /&gt; Look forward to hearing from you soon..&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Feb 2006 00:19:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forking-server/m-p/3727522#M788793</guid>
      <dc:creator>Becke</dc:creator>
      <dc:date>2006-02-09T00:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Forking Server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forking-server/m-p/3727523#M788794</link>
      <description>Hi Raf, &lt;BR /&gt;&lt;BR /&gt; You said it creates a new process when a request comes in. Q. Where is this request coming from, is this from a client???&lt;BR /&gt;&lt;BR /&gt;*** Yes, In case of Apache, whenever a client requests a page, a new process being forked everytime. &lt;BR /&gt;&lt;BR /&gt;What is the main difference b/w forking server and just a server on the network..I'm still not clear???&lt;BR /&gt;&lt;BR /&gt;*** Forking server is just another server, it creates a new process when it receives a request from a client. &lt;BR /&gt;&lt;BR /&gt;Forking and threading are models of Server architecture. It is all how you deesign/write &lt;BR /&gt;your server. &lt;BR /&gt;&lt;BR /&gt;Hope this is clear. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Thu, 09 Feb 2006 00:24:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forking-server/m-p/3727523#M788794</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-09T00:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Forking Server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forking-server/m-p/3727524#M788795</link>
      <description>Hi Raf, &lt;BR /&gt;&lt;BR /&gt;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 &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.amazon.com/gp/product/013260969X/104-8641370-4287960?v=glance&amp;amp;n=283155" target="_blank"&gt;http://www.amazon.com/gp/product/013260969X/104-8641370-4287960?v=glance&amp;amp;n=283155&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Thu, 09 Feb 2006 00:29:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forking-server/m-p/3727524#M788795</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-09T00:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Forking Server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forking-server/m-p/3727525#M788796</link>
      <description>Raf, &lt;BR /&gt;&lt;BR /&gt;An IEEE paper on Webserver architecture attached with this post, hope it will be helpful &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Thu, 09 Feb 2006 00:34:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forking-server/m-p/3727525#M788796</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-09T00:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Forking Server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forking-server/m-p/3727526#M788797</link>
      <description>&lt;BR /&gt; Thanks Arun, this would help a lot..&lt;BR /&gt;&lt;BR /&gt; Cheers,&lt;BR /&gt; Raf</description>
      <pubDate>Thu, 09 Feb 2006 00:50:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forking-server/m-p/3727526#M788797</guid>
      <dc:creator>Becke</dc:creator>
      <dc:date>2006-02-09T00:50:21Z</dc:date>
    </item>
  </channel>
</rss>

