<?xml version="1.0"?>
<rss version="2.0">
   <channel>
   <title>The Dada Mail Homepage Blog</title>
   <link>http://dadamailproject.com/cgi-bin/dada/mail.cgi/list/homepage_blog/</link>
   <description>This is a Dada Mail List, used for the sole function of makin' a blog for our homepage. No need to subscribe, just read it on http://dadamailproject.com or subscribe to the newsfeed!</description>
   <language>en-us</language>
   <lastBuildDate>Thu, 09 Feb 2012 10:54:00 GMT</lastBuildDate>
   <generator>Pro Dada 4.9.1</generator>
   
    
	 
		<item>
		 <title>Purchase Pro Dada now via Google Checkout!</title>
		 <link>http://dadamailproject.com/cgi-bin/dada/mail.cgi/archive/homepage_blog/20120104203823/</link>
		 <description> 




&#60;p&#62;
	We just added a way to purchase Pro Dada using Google Checkout, instead of PayPal. We know some people don&#38;#39;t have a PayPal account, or simply would care not to use PayPal to purchase items and we hope that this additional choice helps those in that situation. Let us know how it&#38;#39;s working for you and please give us a little more time to complete your order, as the fullfilment of orders in Google Checkout isn&#38;#39;t as automated as it is for PayPal&#60;/p&#62;
&#60;p style=&#34;text-align: right;&#34;&#62;
	&#60;a href=&#34;http://dadamailproject.com/purchase/pro.html&#34;&#62;Check out the Pro Dada Order Page&#60;/a&#62;&#60;/p&#62;
&#60;p style=&#34;text-align: right;&#34;&#62;
	&#38;nbsp;&#60;/p&#62;
&#60;p&#62;
	Thanks, everyone!&#60;/p&#62;





</description>
		 <pubDate>Thu, 05 Jan 2012 01:38:00 GMT</pubDate>
		 <guid>http://dadamailproject.com/cgi-bin/dada/mail.cgi/archive/homepage_blog/20120104203823/</guid>
		</item>

	
	 
		<item>
		 <title>Code Profiling Mass Sending Speeds - Comparing v4.8.0 and v4.9.0</title>
		 <link>http://dadamailproject.com/cgi-bin/dada/mail.cgi/archive/homepage_blog/20111206214225/</link>
		 <description> 




&#60;p&#62;
	&#60;strong&#62;v4.9.0 of Dada Mail has some fairly awesome optimizations&#60;/strong&#62; in the Mass Mailing parts of Dada Mail. We&#38;#39;re going to take a minute and compare v4.8.0 and v4.9.0 of Dada Mail with a fancy code profiler which shows how much time it takes some code in Dada Mail to complete a task. In this test, we&#38;#39;re going to test:&#60;/p&#62;
&#60;p&#62;
	Sending a subscription list of &#60;strong&#62;500 subscribers&#60;/strong&#62; an HTML message of around &#60;strong&#62;250k&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;
	Since this is just a test, the message isn&#38;#39;t actually going to be sent out - it&#38;#39;s just going to be saved to a text file locally (sending an actual message will have some overhead, that we&#38;#39;re not going to measure)&#60;/p&#62;
&#60;p&#62;
	The profiler also adds some overhead to our data, so only look at these reports comparatively between each other and not with your own real-world findings. In the Real World, Dada Mail can probably tear through many thousands of messages/minute than what&#38;#39;s shown in these reports.&#60;/p&#62;
&#60;p&#62;
	Here&#38;#39;s the profile report for &#60;strong&#62;v4.8.0&#60;/strong&#62;:&#60;/p&#62;
&#60;p&#62;
	&#60;img height=&#34;589&#34; src=&#34;http://dadamailproject.com/images/homepage_blog/nytprof-4_8_0.gif&#34; width=&#34;782&#34; /&#62;&#60;/p&#62;
&#60;p&#62;
	I&#38;#39;ve circled the method that takes the longest in Dada Mail to complete. Unsurprisingly, it&#38;#39;s the, &#60;strong&#62;mass_send&#60;/strong&#62;, which does exactly what you think: it&#38;#39;s sends out all the email messages for a mass mailing.&#60;/p&#62;
&#60;p&#62;
	&#38;nbsp;&#60;/p&#62;
&#60;p&#62;
	Comparing that with the same exact profile test for v4.9.0, we see a nice speedup:&#60;/p&#62;
&#60;p&#62;
	&#60;img height=&#34;589&#34; src=&#34;http://dadamailproject.com/images/homepage_blog/nytprof-4_9_0.gif&#34; width=&#34;782&#34; /&#62;&#60;/p&#62;
&#60;p&#62;
	&#60;strong&#62;KABOOM! &#60;/strong&#62;&#60;em&#62;253 seconds&#60;/em&#62;, instead of &#60;em&#62;924 seconds&#60;/em&#62; - &#60;strong&#62;over 3.5 times faster!&#60;/strong&#62; So, how was this type of speedup possible?&#60;/p&#62;
&#60;p&#62;
	The largest hunk of code that sped up had to do with the &#60;strong&#62;email templating&#60;/strong&#62; parts of Dada Mail. It wasn&#38;#39;t altogether slow to begin with, but we did a few things to make it even faster:&#60;/p&#62;
&#60;p&#62;
	&#60;strong&#62;We&#38;#39;re using a different templating engine in v4.9.0 called HTML::Template::Pro&#60;/strong&#62;. This speeds up the parsing of the templates in email messages quite a bit quicker. Dada Mail doesn&#38;#39;t come with HTML::Template::Pro, but it will use it automatically by default if available. Here&#38;#39;s some more information.&#60;/p&#62;
&#60;p&#62;
	&#60;strong&#62;We&#38;#39;ve upgraded an include collection of CPAN modules called MIME-Tools&#60;/strong&#62;. Old version was: &#60;strong&#62;5.420&#60;/strong&#62; Now we&#38;#39;re shipping with version: &#60;strong&#62;5.502.&#60;/strong&#62; Looks like the maintainers have really focused on some performance issues!&#60;/p&#62;
&#60;p&#62;
	&#60;strong&#62;We optimized our own code.&#38;nbsp; &#60;/strong&#62;Nothing like tightening up some old code to run faster.&#60;/p&#62;
&#60;p&#62;
	We also found a &#60;strong&#62;big memory leak &#60;/strong&#62;that affects mass mailing of HTML messages (no matter what the source is - Sending from a Webpage, right from the List Control Panel - whatever). This memory leak means that when you send out a mass mailing,&#38;nbsp; Dada Mail will continue to eat up more and more memory and never release any back. If we look at the mass mailing from &#60;strong&#62;v4.8.0&#60;/strong&#62;, we&#38;#39;ll see something like this:&#60;/p&#62;
&#60;p&#62;
	&#60;img height=&#34;478&#34; src=&#34;http://dadamailproject.com/images/homepage_blog/activity_monitor-4_8_0.gif&#34; width=&#34;640&#34; /&#62;&#60;/p&#62;
&#60;p&#62;
	Yikes! &#60;strong&#62;512 megs of RAM&#60;/strong&#62;.&#60;em&#62; What?!&#60;/em&#62;&#60;/p&#62;
&#60;p&#62;
	Fixing the memory leak, we see RAM usage go way, way, &#60;em&#62;way&#60;/em&#62; down:&#60;/p&#62;
&#60;p&#62;
	&#60;img src=&#34;../../images/homepage_blog/activity_monitor-4_9_0.gif&#34; style=&#34;width: 640px; height: 478px;&#34; /&#62;&#60;/p&#62;
&#60;p&#62;
	That&#38;#39;s better.&#60;/p&#62;
&#60;p&#62;
	&#38;nbsp;&#60;/p&#62;
&#60;p&#62;
	So briefly, that&#38;#39;s a small explanation on how we optimized v4.9.0 to be faster and use less memory. If you were looking for a good reason to upgrade, here&#38;#39;s a good one.&#60;/p&#62;





</description>
		 <pubDate>Wed, 07 Dec 2011 02:42:00 GMT</pubDate>
		 <guid>http://dadamailproject.com/cgi-bin/dada/mail.cgi/archive/homepage_blog/20111206214225/</guid>
		</item>

	

 </channel>
</rss>


