[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-user
Subject:    Re: [gentoo-user] Re: Re: Re: Fresh install and problem with net.* init.d script
From:       Alan McKinnon <alan.mckinnon () gmail ! com>
Date:       2013-07-24 21:04:19
Message-ID: 51F04153.1090109 () gmail ! com
[Download RAW message or body]

On 24/07/2013 22:18, Steven J. Long wrote:
> Alan McKinnon wrote:
>> Peace and hugz OK?
> 
> Definitely :-)
> 
> "POSIX 4: Programming for the Real World" (Gallmeister, 1995)
> "UNIX Network Programming vol 2: Interprocess Communications" (Stevens, 1999)
> 
> iirc the first is on safari-online; you can download code from the second here:
> http://www.kohala.com/start/unpv22e/unpv22e.html
> 
> More here:
> https://foss.aueb.gr/posix/
> 
> If you've not had the pleasure of W Richard Stevens' writing, you have a treat
> in-store. I'd guess you guys have at least read some of the TCP/Illustrated series,
> though.
> 
> Regards,
> steveL.
> 


I'll look into those, but do take note those books are 14 and 18 years
old - that's eternity in our world.

Basics never change, details do. Some features are here for the long
haul and I doubt anything will really change them: pipes, named pipes,
unix sockets and things of that ilk. The real bugbear with IPC is people
reinventing the wheel over and over and over to do simple messaging -
writing little daemons that do very little except listen for a small
number of messages from localhost and react to them.

Use a generic message bus for that! It fits nicely in the grand Unix
tradition of do one job and do it well, and few apps have passing
messages around as their core function. Hand it off to the system,
that's what it's there for.

One day I might well do an audit of a typical server base system and
count all the apps that have a hidden roll-your-own message process in
place. I'm certain the results will be scary.


-- 
Alan McKinnon
alan.mckinnon@gmail.com


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic