From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,a52626a9019b830 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Received: by 10.224.31.20 with SMTP id w20mr3852531qac.2.1347374325226; Tue, 11 Sep 2012 07:38:45 -0700 (PDT) Received: by 10.236.176.103 with SMTP id a67mr2213136yhm.2.1347374325199; Tue, 11 Sep 2012 07:38:45 -0700 (PDT) Path: da15ni3445qab.0!nntp.google.com!v8no121789qap.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 11 Sep 2012 07:38:45 -0700 (PDT) In-Reply-To: <1hrmrgblczf2p.x7ar7hqalypi.dlg@40tude.net> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=195.182.34.201; posting-account=bMuEOQoAAACUUr_ghL3RBIi5neBZ5w_S NNTP-Posting-Host: 195.182.34.201 References: <3b3a796d-50e0-4304-9f8d-295fb2ed0e82@googlegroups.com> <1hrmrgblczf2p.x7ar7hqalypi.dlg@40tude.net> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <6b311ca1-9630-4874-b068-2b6b08c1ffa9@googlegroups.com> Subject: Re: Help writing first daemon From: Maciej Sobczak Cc: mailbox@dmitry-kazakov.de Injection-Date: Tue, 11 Sep 2012 14:38:45 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Date: 2012-09-11T07:38:45-07:00 List-Id: W dniu sobota, 8 wrze=C5=9Bnia 2012 10:06:28 UTC+2 u=C5=BCytkownik Dmitry A= . Kazakov napisa=C5=82: > But, if you consider running the middleware as a system service (daemon), > the main reason for that would be the architecture of shared memory. No, there is no connection between these two concepts. System services are created so they can be started and run unattended even = after system restarts. A free-standing web server is a possible example her= e. They way other components will communicate with such a service is a consequ= ence of other design choices, like whether they are on the same machine or = not. If they are on different machines, then shared memory is out of questi= on (for nit-pickers: reflective memory does not count). Again, web browsers communicating via TCP with a web server running as a sy= stem service is a prime example here. > I.e. pipes and daemon are mutually exclusive. Not at all. These concepts solve different problems and have no implication= on each other. --=20 Maciej Sobczak * http://www.msobczak.com * http://www.inspirel.com