<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Utility Computing dot China &#187; Email</title>
	<atom:link href="http://www.utilitycomputing.com.cn/tag/email/feed" rel="self" type="application/rss+xml" />
	<link>http://www.utilitycomputing.com.cn</link>
	<description>数 据 嘉 年 华</description>
	<lastBuildDate>Tue, 13 Sep 2011 12:51:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>Software as a Service, ASPing, ESPing, ISPing and many more “SP’s”</title>
		<link>http://www.utilitycomputing.com.cn/china/software-as-a-service-asping-esping-isping-and-many-more-sps</link>
		<comments>http://www.utilitycomputing.com.cn/china/software-as-a-service-asping-esping-isping-and-many-more-sps#comments</comments>
		<pubDate>Fri, 18 Jan 2008 10:08:51 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[Business Development]]></category>
		<category><![CDATA[China]]></category>
		<category><![CDATA[Tech Horizon]]></category>
		<category><![CDATA[The Cloud]]></category>
		<category><![CDATA[asp]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[esp]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[idc]]></category>
		<category><![CDATA[isp]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.utilitycomputing.com.cn/?p=141</guid>
		<description><![CDATA[Software as a service. Sounds nice doesn&#8217;t it? How about utility computing or computing as a service? Well it is not until you actually start to UNDERSTAND it &#8211; that you get to appreciate it. All too often the pundits of tech in society (as nice as they are), like twit.tv, cnet.com and zdnet.com &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>Software as a service.  Sounds nice doesn&#8217;t it?  How about utility computing or computing as a service?</p>
<p>Well it is not until you actually start to UNDERSTAND it &#8211; that you get to appreciate it.  All too often the pundits of tech in society (as nice as they are), like twit.tv, cnet.com and zdnet.com &#8211; have a great habit of talking about tech and service &#8211; but never having actually done it themselves or can appreciate it at a deeper and more sophisticated level.</p>
<p>Case in point, is the fact that many people go on about &#8220;I want a real app, not some web app&#8221;.  Or, I need to have connectivity while I am in a cross country flight, etc.  To me it just seems that some people can&#8217;t get with the times from either a tech standpoint, or even from another perspective, say costs.</p>
<p><span id="more-141"></span> I am using software as a service to highlight the missed nuances of many a lay person or tech pundits analysis of such situations and trends.</p>
<p>I look at all the effort that goes into running email infrastructure, the costs of running servers and IDC&#8217;s.  And it is quite common now for people to expect email to work like a light switch (major oversimplification) or to be a single small cost in the case of hosting.</p>
<p>Why is it, that software then and other technologies like thin clients, that seek to change the usage and costing of hardware and software from a disparate and ad-hoc, per person/cpu based exercise to a usage and deployment style that is more akin to hosting and email services, that one encounters so much resistance?</p>
<p>Resistance to change from clients and resistance to change from vendors.  Why do people still see computing and laptops and applications as objects that can be traded and bought and sold like shells and clams?</p>
<p>I know I asked the question, but I can&#8217;t answer it.  I simply can&#8217;t understand it.</p>
<p>Where we must give some props to in this regard is Amazon, Google and Microsoft, for somewhat seeing the light and being industry leaders.  Amazon, offer pay as you need it grid computing power, Google offers online applications and now Microsoft is also offering online applications.</p>
<p>To be fair though, Microsoft has had licensing schemes in place like the SPLA model for a while.  Allowing people to just pay a monthly fee to use all the software that they need.  Never having to worry about upgrade costs or &#8220;upgrade insurance&#8221; as some snake oil salesmen like to push.</p>
<p>Allow me to further expand my thoughts on this, with respect to some recent dealings of mine and in China and some questions that I can answer!  I will do this as a little Q+A session with myself.  <img src='http://www.utilitycomputing.com.cn/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><strong> Richard The Interviewer:</strong></p>
<p>&#8220;Richard, why would you not want to own your own software and hardware and put it inside your office or     in your lap on a laptop?&#8221;</p>
<p><strong>Me:</strong></p>
<p>&#8220;Thank you for the thoughtful question Richard, allow me to answer on the issue of hardware first.   You         see Richard, the problem with hardware is that, well it is expensive!  And tis fact is made even worse by the         fact that it is outdated and superseded so quickly.</p>
<p><strong> Richard The Interviewer:</strong></p>
<p>&#8220;But surely even if something loses it&#8217;s value it is still useful?  I have seen many an old car drive around         leaving a trail of rust behind it?&#8221;</p>
<p><strong>Me:</strong></p>
<p>&#8220;Yes, to a point.  The problem is that software gets more complicated and our needs get more demanding as we become more used to and comfortable with our technology.  A better way to look at it, is like hand-me-down clothes.  Servers and infrastructure to a degree can just be demoted down the line with new beasts coming in at the top for critical systems and then older ones being eventually upgraded &#8211; or converted into a VPS as they come up for expiry.&#8221;</p>
<p>&#8220;But to answer your question more accurately, it has to do with technologies like Virtualisation, economies of scale, operational costs and idle capacity.  If you look at your infrastructure like a time share holiday house or corporate jet, it suddenly becomes a lot easier to handle, both on cash flow and on your exposure to depreciation, so there really becomes very little in the way of real world value propositions to hold on to that old junk &#8211; this is even without going into the issue of <a href="http://www.utilitycomputing.com.cn/?p=134">power usage</a>!&#8221;</p>
<p>&#8220;For many years people liked to finance their equipment.  That is a great way to do it, as it lets you amortise the costs over the actual useful life of the system and then throw it out and get a new one.  That way, you can look at the leasing fee as a perpetual subscription model.  Just make a payment every month and the system is always online, up to date and fault free.&#8221;</p>
<p>&#8220;Plus it does wonders for your tax exposure when you claim all those leasing payments back against your tax.  Much better than doing it the Chinese way with a <a href="http://www.utilitycomputing.com.cn/?p=107">5 year depreciation curve</a>!&#8221;</p>
<p><strong>Richard The Interviewer:</strong></p>
<p>&#8220;OK, I get it.  Why own it and pay for the depreciation of it &#8211; that will take longer to remove a residual book value than it does to remove any operational value.  And just pay one fee once, per month for life and always have the tech taken care of.&#8221;</p>
<p>&#8220;But it seems that if I do this, I am still having to manage the equipment and run an IT dept, even though I am leasing the hardware?&#8221;</p>
<p><strong>Me:</strong></p>
<p>&#8220;Yes, so why manage it then if you have already outsourced the ownership to your financing company?  That is the strange thing that happens.  It is like financing a truck and then paying for a driver.  Why not just use DHL or FedEx instead.  They offer economies of scale and are better at it.&#8221;</p>
<p><strong>Richard The Interviewer:</strong></p>
<p>&#8220;But I need control!!! I am worried about privacy!&#8221;</p>
<p><strong>Me:</strong></p>
<p>&#8220;Control = expense.  Digital technology and servers = no privacy.  Your needs to control and keep data secure are very valid.  But to be truthful, simply having equipment on site or in your control does not make it any more secure or better.  These are separate issues.  And companies never really think about them any further than just that.  I have it, so it is safe.  I can touch it, so it is safe.  This is really an illusion of security and control.&#8221;</p>
<p><strong>Richard The Interviewer:</strong></p>
<p>&#8220;Ok, so what about software then?  Software as a service&#8230;.?&#8221;</p>
<p><strong>Me:</strong></p>
<p>&#8220;Well software is no different.  Take all that I mentioned above and change hardware to software.  The one exception being that software in most countries does not have any depreciation allowance.  In China for example, software is always booked in as a single transaction once into your overhead.  That is the tax law.  Even if the software cost 1,000,000,000,000 USD and you intend to use it over 20 years, you can&#8217;t book the expense in and match it over many accounting periods.  So you are much better off in China at least operationally by renting or using an ASP service.&#8221;</p>
<p><strong>Richard The Interviewer:</strong></p>
<p>&#8220;So in a single paragraph, what is your main issue then with these old dinosaurs who want to own, control, touch and carry their technology around with them all the time?&#8221;</p>
<p><strong>Me:</strong></p>
<p>&#8220;Do I have to be polite?  Well, I would simply say, &#8220;What are you thinking?!&#8221;  Get rid of the big software investments and yearly upgrades and all that hassle.  Just hand over a list of needs to an ASP, get a copy of their SLA (service level agreement) and be done with it.  Problem solved &#8211; for life!&#8221;</p>
<p>&#8220;As to hardware, well, the beauty of an ASP, is that you don&#8217;t need any!&#8221;</p>
<p><strong>Richard The Interviewer:</strong></p>
<p>&#8220;Well thanks for that Richard.  I think I will go and study the intricacies of ASP&#8217;s, ISP&#8217;s, ESP&#8217;s, the tax code, our cash flow, the tech road maps of the various companies out there some more.  And work out just why it is, that I feel so compelled to continue handing over cash by the fist full to continue in this rat race of upgrade cycles, repair windows and deployment plans.&#8221;</p>
<p>&#8220;IT that is like watching a TV or renting a movie online&#8230;..hmm, that would be useful and stress free&#8230;..seems tomorrow has been here for a few years already!&#8221;</p>
<p><strong>Me:</strong></p>
<p>&#8220;Maybe next time we can touch on issues like data security, data retention, corporate governance compliance, audit trails, business continuity, capacity budgeting, staff retention, staff acquisition, staff training, staff vetting, staff knowledge pooling and on demand resources?&#8221;</p>
<p><strong>Richard The Interviewer:</strong></p>
<p>&#8220;That would be good.  Is that a whole load of hassle too?&#8221;</p>
<p><strong>Me:</strong></p>
<p>&#8220;Well it used to be, but it is all par for the course when dealing with a good ASP, ESP, ISP or any xSP really.  Even more value!&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.utilitycomputing.com.cn/china/software-as-a-service-asping-esping-isping-and-many-more-sps/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PostgreSQL Upgrade Part 3</title>
		<link>http://www.utilitycomputing.com.cn/fossgnulinux/postgresql-upgrade-part-3</link>
		<comments>http://www.utilitycomputing.com.cn/fossgnulinux/postgresql-upgrade-part-3#comments</comments>
		<pubDate>Sat, 01 Sep 2007 12:40:16 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[FOSS/GNU/Linux]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[array reconstruction]]></category>
		<category><![CDATA[big iron]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[LVM]]></category>
		<category><![CDATA[mirror]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[raid level migration]]></category>
		<category><![CDATA[scsi]]></category>

		<guid isPermaLink="false">http://www.utilitycomputing.com.cn/?p=49</guid>
		<description><![CDATA[I knew the config files were different between 7.4 and 8.1 and that some items merely changed names and some were deprecated. I used this excellent resource before. Even the very rudimentary tweaks I did, and with a RAID array that is in a 90% rebuild rate, background initialisation, this 8.1 version is FAST! I [...]]]></description>
			<content:encoded><![CDATA[<p>I knew the config files were different between 7.4 and 8.1 and that some items merely changed names and some were deprecated.</p>
<p>I used <a href="http://www.powerpostgresql.com/Downloads/annotated_conf_80.html">this excellent resource</a> before.</p>
<p>Even the very rudimentary tweaks I did, and with a RAID array that is in a 90% rebuild rate, background initialisation, this 8.1 version is FAST!  I have no idea why people use MySQL, it really is such a piece of crud.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.utilitycomputing.com.cn/fossgnulinux/postgresql-upgrade-part-3/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PostgreSQL Upgrade Part 2</title>
		<link>http://www.utilitycomputing.com.cn/fossgnulinux/postgresql-upgrade-part-2</link>
		<comments>http://www.utilitycomputing.com.cn/fossgnulinux/postgresql-upgrade-part-2#comments</comments>
		<pubDate>Sat, 01 Sep 2007 12:03:14 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[FOSS/GNU/Linux]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[array reconstruction]]></category>
		<category><![CDATA[big iron]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[LVM]]></category>
		<category><![CDATA[mirror]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[raid level migration]]></category>
		<category><![CDATA[scsi]]></category>

		<guid isPermaLink="false">http://www.utilitycomputing.com.cn/?p=48</guid>
		<description><![CDATA[Well, the PostgreSQL upgrade was a snap, sorta. I needed to do a full dump and restore as this was a major version change &#8211; no surprises there. What pissed me off though, is that when using the binary data type for dump files when using pg_dump (&#8220;-T c&#8221;) the resulting backup file is of [...]]]></description>
			<content:encoded><![CDATA[<p>Well, the PostgreSQL upgrade was a snap, sorta.  I needed to do a full dump and restore as this was a major version change &#8211; no surprises there.  What pissed me off though, is that when using the binary data type for dump files when using pg_dump (&#8220;-T c&#8221;) the resulting backup file is of no use for remote workers who aren&#8217;t at the actual console.</p>
<p>Let me expand on this;</p>
<p>This type of backup file is advertised as &#8220;more convenient&#8221; and offers more options for restore time selective data restores, data re-ording, index tricks and the like.  However no matter WHAT I did, it reported and sent a copy of the current pg_restore process and all the data being restored to standard output too!!  This means that basically, I was going to have the same full text of 20GB worth of database data shoved down my SSH session!</p>
<p>Yes &#8211; this makes the whole affair much slower!</p>
<p><span id="more-48"></span></p>
<p>Luckily, being the lateral thinking kind of dude that I am, I never put all my eggs in one basket.  That is just a recipe for data omelette.</p>
<p>I also had some plain text file dumps made from pg_dump.  So I went into the the PostgreSQL template1 sessions and then used the &#8220;\i&#8221; command to import my big .SQL file.  Perfect!  Only important updates sent to std output and not the whole damn enchilada.</p>
<p>Disk restore is still going on.  At a max through put of 20MByte a second with a 1000BaseT network, that is at best 1.2G a minute, 72GB an hour, so for 250GB approximately 3.5 hours.   However I was still doing a raid array background initialisation, so even after setting the rebuild rate to 10%, the system still needs a lot of time to move the files back &#8211; I didn&#8217;t bother to do the maths, because 3.5 hours or 10 hours it would all breach my maintenance window.</p>
<p>Because my advertised downtime window to clients was rapidly approaching, I had no choice but to continue to allow the copy to proceed, but redirect the main cluster to access the data store via NFS over the network and bring services back online.  I will then be able to do a RSYNC later in less than 1 hour to bring the haphazardly copied set on the main cluster in line with the now used and modified data store on my hot standby server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.utilitycomputing.com.cn/fossgnulinux/postgresql-upgrade-part-2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PostgreSQL Upgrade</title>
		<link>http://www.utilitycomputing.com.cn/fossgnulinux/postgresql-upgrade</link>
		<comments>http://www.utilitycomputing.com.cn/fossgnulinux/postgresql-upgrade#comments</comments>
		<pubDate>Fri, 31 Aug 2007 21:35:53 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[FOSS/GNU/Linux]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[array reconstruction]]></category>
		<category><![CDATA[big iron]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[LVM]]></category>
		<category><![CDATA[mirror]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[raid level migration]]></category>
		<category><![CDATA[scsi]]></category>

		<guid isPermaLink="false">http://www.utilitycomputing.com.cn/?p=47</guid>
		<description><![CDATA[Well this week was fun. For some reason one of our main clusters that runs client ASP software for general office, file, email, collaboration, etc&#8230; went crazy. First I noticed that the usual night time &#8220;Vacuum&#8217;s&#8221; that are needed to keep the PostgreSQL planar at it&#8217;s most efficient and indexes clean, was running right into [...]]]></description>
			<content:encoded><![CDATA[<p>Well this week was fun.  For some reason one of our main clusters that runs client ASP software for general office, file, email, collaboration, etc&#8230; went crazy.</p>
<p>First I noticed that the usual night time &#8220;Vacuum&#8217;s&#8221; that are needed to keep the PostgreSQL planar at it&#8217;s most efficient and indexes clean, was running right into the day time!  It usually needed less than an hour for the 20GB database we currently have.</p>
<p>So after many failed attempts to get an online vacuum done.  I stayed up really late, took the cluster down and did FULL vacuum.  Full vacuum&#8217;s are slow, and you can&#8217;t run anything while they happen because they do full table locks, where as online vacuum&#8217;s do quick tuple/row level locks.</p>
<p>Anyway, database seemed speedier, but system was still sluggish.  I have all data separated.  Database files are on large RAID10 arrays with U320 SCSI drives spinning at 15K &#8211; split over TWO SCSI buses!  Yeah tis fast.  Big disks are used because it means relative to the size of the disk, more data is on the outer edge of the platters, that spin faster than the centre of the platters.  I also keep PostgreSQL&#8217;s transaction log on a separate RAID1 array with 73GB 15K U320 drives as well with a 256MB battery backed cache.</p>
<p><span id="more-47"></span></p>
<p>Now database based operations were zippy again&#8230;.the system while set by me to not rate a disk search at too high a cost due to the super speed disk IO that I have, still should get SOME data out of the cache and not run to the comparatively sloooow disks straight away.  After doing this all was cool again database wise.</p>
<p>However operations that needed the data store to be accessed were still piss slow.  So email ingestion, file usage, etc crawled.  The data store which compliments the database data weighs in at about 250GB now.  And this is on a single RAID1 array with 300GB U320 10K drives.  I also remembered that over a 1000BaseT network to backup to a robotic tape library, the data store array (RAID1) maxes out at about 750MB a min.  While the RAID10 with the database does it at 2700+MB a min.</p>
<p>So I thought, &#8220;lets add some more disks to the data store array&#8221;.  I get more space, so relatively speaking more of the data is on the outside edges of all the platters (another topic for what one can do with LVM), the array has double the heads and spindles too &#8211; and some RAID0 goodness inside that RAID10 nested set.</p>
<p>Now Dell&#8217;s storage white paper from 2005 does state that a RAID1 to a RAID10 migration/raid level reconstruction is supported.  RAID10 being two RAID1 arrays striped together in RAID0 (with the mirror part straddling 2 SCSI buses for speed and channel redundancy).  However when I went into Open Manage after putting the drives in the chassis, expecting to be able to &#8220;reconstruct/migrate levels&#8221; to a RAID10, then pop into LVM, create some new data devices, add them to my Volume group and then expand my partition and then finally my file system &#8211; all while still being online&#8230;&#8230;..I was greeted with only the option to reconstruct/migrate to RAID5 (Get ^*^*&amp;^) or RAID0 (Uh, yeah, OK..).</p>
<p>So feeling quite annoyed now.  I then went and made the two new drives into a new RAID1 set, thinking that I would then be able to add this to a final &#8220;nested&#8221; array with the current RAID1 set and make a RAID10 out of them.  Well I thought it was working, but it wasn&#8217;t.  All I managed to do was end up with my existing array being made into a RAID0 (heart attack!!) and the new array sitting there untouched.  Also the Open Manage array management setup gave me no choice of stripe size.  It defaulted to 64K.  I prefer 128K to ensure the best chance of the records/tuples fitting into one whole stripe to maximise concurrency of head operations on different data records &#8211; and also because the PERC4 family of RAID cards does not suffer any penalty if a stripe size is too big for the data used &#8211; so why not eh?</p>
<p>So what am I doing now at 5:32 AM?</p>
<p>Rsyncing all data again to the hot standby server, will then power off the cluster, log in with the DRAC card, go into the BIOS of the RAID card and redo my friggin array from scratch, as RAID10 and 128K stripe and then boot up and copy my damn data back.</p>
<p>Not happy pappy.  Not happy.  I think it is SAN time&#8230;unless SAN&#8217;s can be this anal as well?</p>
<p>So what does this have to do with PostgreSQL upgrade?  Well since the cluster is down anyway, I might as well go from 7.4 to 8.1.  Get some of that auto vacuum goodness and lap up some of the apparent massive speed boosts in the 5 years of development between the two versions.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.utilitycomputing.com.cn/fossgnulinux/postgresql-upgrade/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

