<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Windows vs Linux: Architecture, part II</title>
	<atom:link href="http://polishlinux.org/linux/windows-vs-linux-architecture-part-ii/feed/" rel="self" type="application/rss+xml" />
	<link>http://polishlinux.org/linux/windows-vs-linux-architecture-part-ii/</link>
	<description>All About GNU/Linux and BSD - reviews, comparisons, articles</description>
	<pubDate>Wed, 07 Jan 2009 02:17:57 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Shalom Bhooshi</title>
		<link>http://polishlinux.org/linux/windows-vs-linux-architecture-part-ii/#comment-102474</link>
		<dc:creator>Shalom Bhooshi</dc:creator>
		<pubDate>Fri, 11 Jan 2008 09:32:07 +0000</pubDate>
		<guid isPermaLink="false">http://polishlinux.org/linux/windows-vs-linux-architecture-part-ii/#comment-102474</guid>
		<description>There are pros and cons to both approaches of storing configuration data. It would be unfair to say all Windows' configuration data is stored in the registry and all Linux's configuraion data is stored in flat-files on disk. Something like the registry on windows isn't exclusive to windows - We see implementations of 'registries' on the Unices too. sysctl for changing kernel options and gconf for maintaining gnome configuration data are just two of many examples.

Storing information in flat-files has some benefits too.
- Not everyone's a C[++&#124;#&#124;.Net] programmer - It's easier to engineer tools in [place you fav. programming/scripting language here] to mainpulate configuration information without having to interface with APIs. 
- It's easier to make changes to another user's configuration data which is quite an inconvenience with how the various users' registry sections are stored.
- Some down-sides to using flat-files are 
-- maintainability - the more flat-files you have, the more you have to remember in terms of filenames, sections within file names, data-types within sections, etc. It's not to say that registries solve all problems of maintainability, but they sure help.
-- scalability - flat-files are quick and easy for a very limited set of data, but they quickly become huge, slow and ugly once you start to store anything-and-everything about your complex, customisable application.
-- speed - disk access speeds are relatively slow and top-to-bottom scans of unfixed-length-records in files don't help when things are already slow.

Registries provide solutions to problems faced with using flat-files but they have their own sets of problems too.
- A collection of configuration information under one roof and providing a consistent API allows for a multitude of tools to be able to search, query, add, modify and delete options with relative ease. Incidentally, backing up and restoring all this information is convenient. A Potential down side is data-loss due to memory or disk corruption on a huge scale (all these eggs exist in one basket).
- Logically gouping options by relavance into hives could allow for easy batch operations - e.g. installing/uninstalling software, services, devices, etc. Backing up and restoring a subset of all your configuration data is also convenient.
- Confgiuring security descriptors on registry objects allows one to control what subsets of access users on the system have in relation to configuration data. Rather than grant a user write-access to a file, you can grant write-access to a set of particular records while still protecting others.
- Generally indexed registries provides better perormance over flat-files in terms of looking up and manipulating data.
- Support for object types allow for effecient storage, organisation and retrieval internally. This to some degree provides filtering of data but is dependant on implementation - e.g. you couldn't mistakenly store a string in a binary container.</description>
		<content:encoded><![CDATA[<p>There are pros and cons to both approaches of storing configuration data. It would be unfair to say all Windows&#8217; configuration data is stored in the registry and all Linux&#8217;s configuraion data is stored in flat-files on disk. Something like the registry on windows isn&#8217;t exclusive to windows - We see implementations of &#8216;registries&#8217; on the Unices too. sysctl for changing kernel options and gconf for maintaining gnome configuration data are just two of many examples.</p>
<p>Storing information in flat-files has some benefits too.<br />
- Not everyone&#8217;s a C[++|#|.Net] programmer - It&#8217;s easier to engineer tools in [place you fav. programming/scripting language here] to mainpulate configuration information without having to interface with APIs.<br />
- It&#8217;s easier to make changes to another user&#8217;s configuration data which is quite an inconvenience with how the various users&#8217; registry sections are stored.<br />
- Some down-sides to using flat-files are<br />
&#8211; maintainability - the more flat-files you have, the more you have to remember in terms of filenames, sections within file names, data-types within sections, etc. It&#8217;s not to say that registries solve all problems of maintainability, but they sure help.<br />
&#8211; scalability - flat-files are quick and easy for a very limited set of data, but they quickly become huge, slow and ugly once you start to store anything-and-everything about your complex, customisable application.<br />
&#8211; speed - disk access speeds are relatively slow and top-to-bottom scans of unfixed-length-records in files don&#8217;t help when things are already slow.</p>
<p>Registries provide solutions to problems faced with using flat-files but they have their own sets of problems too.<br />
- A collection of configuration information under one roof and providing a consistent API allows for a multitude of tools to be able to search, query, add, modify and delete options with relative ease. Incidentally, backing up and restoring all this information is convenient. A Potential down side is data-loss due to memory or disk corruption on a huge scale (all these eggs exist in one basket).<br />
- Logically gouping options by relavance into hives could allow for easy batch operations - e.g. installing/uninstalling software, services, devices, etc. Backing up and restoring a subset of all your configuration data is also convenient.<br />
- Confgiuring security descriptors on registry objects allows one to control what subsets of access users on the system have in relation to configuration data. Rather than grant a user write-access to a file, you can grant write-access to a set of particular records while still protecting others.<br />
- Generally indexed registries provides better perormance over flat-files in terms of looking up and manipulating data.<br />
- Support for object types allow for effecient storage, organisation and retrieval internally. This to some degree provides filtering of data but is dependant on implementation - e.g. you couldn&#8217;t mistakenly store a string in a binary container.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lazaro Vigoa</title>
		<link>http://polishlinux.org/linux/windows-vs-linux-architecture-part-ii/#comment-63547</link>
		<dc:creator>Lazaro Vigoa</dc:creator>
		<pubDate>Wed, 03 Oct 2007 07:54:31 +0000</pubDate>
		<guid isPermaLink="false">http://polishlinux.org/linux/windows-vs-linux-architecture-part-ii/#comment-63547</guid>
		<description>After reading this text
you must come to the conclusion that
Windows could be wonderful if not the Registry

The author forgot the comparison of:

1-(Linux kernel scalabilty and portability)
and (Windows OS/2 kernel)

2-NTFS and (ext3 + swap) file systems 
permisions

3-Client/Server architechture
and single application
(what makes Linux really 
multitask and multiuser?)

4-The enormous, tremendous flexibility
of the configuration of the UNIX-like OS.

5-The quality of the Open Source applications
is verifiable and is bound to the authors.</description>
		<content:encoded><![CDATA[<p>After reading this text<br />
you must come to the conclusion that<br />
Windows could be wonderful if not the Registry</p>
<p>The author forgot the comparison of:</p>
<p>1-(Linux kernel scalabilty and portability)<br />
and (Windows OS/2 kernel)</p>
<p>2-NTFS and (ext3 + swap) file systems<br />
permisions</p>
<p>3-Client/Server architechture<br />
and single application<br />
(what makes Linux really<br />
multitask and multiuser?)</p>
<p>4-The enormous, tremendous flexibility<br />
of the configuration of the UNIX-like OS.</p>
<p>5-The quality of the Open Source applications<br />
is verifiable and is bound to the authors.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramon F Herrera</title>
		<link>http://polishlinux.org/linux/windows-vs-linux-architecture-part-ii/#comment-63209</link>
		<dc:creator>Ramon F Herrera</dc:creator>
		<pubDate>Tue, 02 Oct 2007 20:14:31 +0000</pubDate>
		<guid isPermaLink="false">http://polishlinux.org/linux/windows-vs-linux-architecture-part-ii/#comment-63209</guid>
		<description>&lt;blockquote&gt;
I do not know who got the idea to put all the Windows system configuration data and those of the Windows applications into one database file. It would be recommendable to look through patent motions - it’s probable that the same person patented the squared circle or powdered water. The most preposterous idea...
&lt;/blockquote&gt;

I don't whether the author was asking a rhetorical question, but the inspiration for the Windows registry was derived from VAX/VMS, since the same person -Jim Alchin- was pretty much the architect and father of both OSs.

That was the same Jim Alchin who sent an e-mail to Gates and Ballmer in which he said: "If I wasn't a Microsoft employee, I would buy a Macintosh". Look it up...

-Ramon</description>
		<content:encoded><![CDATA[<blockquote><p>
I do not know who got the idea to put all the Windows system configuration data and those of the Windows applications into one database file. It would be recommendable to look through patent motions - it’s probable that the same person patented the squared circle or powdered water. The most preposterous idea&#8230;
</p></blockquote>
<p>I don&#8217;t whether the author was asking a rhetorical question, but the inspiration for the Windows registry was derived from VAX/VMS, since the same person -Jim Alchin- was pretty much the architect and father of both OSs.</p>
<p>That was the same Jim Alchin who sent an e-mail to Gates and Ballmer in which he said: &#8220;If I wasn&#8217;t a Microsoft employee, I would buy a Macintosh&#8221;. Look it up&#8230;</p>
<p>-Ramon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harry Walker</title>
		<link>http://polishlinux.org/linux/windows-vs-linux-architecture-part-ii/#comment-63133</link>
		<dc:creator>Harry Walker</dc:creator>
		<pubDate>Tue, 02 Oct 2007 12:25:37 +0000</pubDate>
		<guid isPermaLink="false">http://polishlinux.org/linux/windows-vs-linux-architecture-part-ii/#comment-63133</guid>
		<description>I found this to be both entertaining and most informative.  A very good, well thought discussion.  Bravo!</description>
		<content:encoded><![CDATA[<p>I found this to be both entertaining and most informative.  A very good, well thought discussion.  Bravo!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Isaac Geronimo</title>
		<link>http://polishlinux.org/linux/windows-vs-linux-architecture-part-ii/#comment-62752</link>
		<dc:creator>Isaac Geronimo</dc:creator>
		<pubDate>Mon, 01 Oct 2007 06:34:18 +0000</pubDate>
		<guid isPermaLink="false">http://polishlinux.org/linux/windows-vs-linux-architecture-part-ii/#comment-62752</guid>
		<description>Wonderful article!  I enjoyed it very much.  Interesting, thorough and well-written!</description>
		<content:encoded><![CDATA[<p>Wonderful article!  I enjoyed it very much.  Interesting, thorough and well-written!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
