<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Multicast your DB backups with UDPCast</title>
	<atom:link href="http://kylecordes.com/2008/multicast-your-db-backups-with-udpcast/feed" rel="self" type="application/rss+xml" />
	<link>http://kylecordes.com/2008/multicast-your-db-backups-with-udpcast</link>
	<description>Software, Business, and Life</description>
	<lastBuildDate>Tue, 20 Dec 2011 16:22:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Kyle Cordes</title>
		<link>http://kylecordes.com/2008/multicast-your-db-backups-with-udpcast/comment-page-1#comment-27057</link>
		<dc:creator>Kyle Cordes</dc:creator>
		<pubDate>Mon, 27 Oct 2008 02:32:46 +0000</pubDate>
		<guid isPermaLink="false">http://kylecordes.com/?p=192#comment-27057</guid>
		<description>An update: I tested several approaches, looking for the best performance shipping a Postgres backup from one machine to several others. The best I found was to use the pg_dump -Z0 option (no PG compression of the backup), then install lzop (apt-get install lzop), a very fast compression tool. The sending command looks like this:

pg_dump -Fc -Z0 dbnameonserver1 &#124; udp-sender --min-wait 5 --nokbd --pipe lzop

and on the receiving end:

udp-receiver --nokbd &#124; lzop -d &#124; pg_restore -Fc -v -O -x -d dbnameonserverN

lzop doesn&#039;t compress quite as well as gzip, but uses much less CPU. It&#039;s probably not worth compressing at all over gigabit ethernet, but it is worthwhile over a 100mbit ethernet between fast servers.
</description>
		<content:encoded><![CDATA[<p>An update: I tested several approaches, looking for the best performance shipping a Postgres backup from one machine to several others. The best I found was to use the pg_dump -Z0 option (no PG compression of the backup), then install lzop (apt-get install lzop), a very fast compression tool. The sending command looks like this:</p>
<p>pg_dump -Fc -Z0 dbnameonserver1 | udp-sender &#8211;min-wait 5 &#8211;nokbd &#8211;pipe lzop</p>
<p>and on the receiving end:</p>
<p>udp-receiver &#8211;nokbd | lzop -d | pg_restore -Fc -v -O -x -d dbnameonserverN</p>
<p>lzop doesn&#8217;t compress quite as well as gzip, but uses much less CPU. It&#8217;s probably not worth compressing at all over gigabit ethernet, but it is worthwhile over a 100mbit ethernet between fast servers.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

