<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5836918687697385350</id><updated>2024-08-30T08:59:18.849-07:00</updated><title type='text'>shareMySoftwareExperience()</title><subtitle type='html'>Everything about my Hands-On Software Engineering experience and collection of interesting posts from Software Industry.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://barisergun.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://barisergun.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Barış ERGÜN</name><uri>http://www.blogger.com/profile/16148697260305720089</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>38</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5836918687697385350.post-4200208782773552627</id><published>2012-10-23T01:16:00.001-07:00</published><updated>2012-10-23T01:17:19.677-07:00</updated><title type='text'>How to add nameservers in Ubuntu</title><content type='html'>&lt;br /&gt;
&lt;div style=&quot;background-color: white; font-family: Arial, Helvetica, FreeSans, sans-serif; font-size: 13.333333969116211px; line-height: 17.314815521240234px; margin-bottom: 10px; padding: 0px;&quot;&gt;
Ubuntu (I dont exactly know on which version &amp;nbsp;its started to do so ) overwrites manual changes made to resolv.conf. Here is what you can&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Arial, Helvetica, FreeSans, sans-serif; font-size: 13.333333969116211px; line-height: 17.314815521240234px; margin-bottom: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: #111111;&quot;&gt;sudo vi /etc/resolvconf/resolv.conf.d/tail&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Arial, Helvetica, FreeSans, sans-serif; font-size: 13.333333969116211px; line-height: 17.314815521240234px; margin-bottom: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: #111111;&quot;&gt;&amp;nbsp;&lt;/span&gt;Enter the below nameservers:&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Arial, Helvetica, FreeSans, sans-serif; font-size: 13.333333969116211px; line-height: 17.314815521240234px; margin-bottom: 10px; padding: 0px;&quot;&gt;
nameserver 10.34.34.221&lt;br /&gt;
nameserver 10.34.34.222&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Arial, Helvetica, FreeSans, sans-serif; font-size: 13.333333969116211px; line-height: 17.314815521240234px; margin-bottom: 10px; padding: 0px;&quot;&gt;
and run&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Arial, Helvetica, FreeSans, sans-serif; font-size: 13.333333969116211px; line-height: 17.314815521240234px; margin-bottom: 10px; padding: 0px;&quot;&gt;
resolvconf -u&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Arial, Helvetica, FreeSans, sans-serif; font-size: 13.333333969116211px; line-height: 17.314815521240234px; padding: 0px;&quot;&gt;
Done.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://barisergun.blogspot.com/feeds/4200208782773552627/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://barisergun.blogspot.com/2012/10/ubuntu-i-dont-exactly-know-on-which.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/4200208782773552627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/4200208782773552627'/><link rel='alternate' type='text/html' href='http://barisergun.blogspot.com/2012/10/ubuntu-i-dont-exactly-know-on-which.html' title='How to add nameservers in Ubuntu'/><author><name>Barış ERGÜN</name><uri>http://www.blogger.com/profile/16148697260305720089</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5836918687697385350.post-6682603090274235187</id><published>2012-09-23T04:31:00.002-07:00</published><updated>2012-09-23T04:31:43.804-07:00</updated><title type='text'> while IFS=&#39;|&#39; read -r</title><content type='html'>I really fancy the performance achieved while reading a stream line by line using file separator IFS and read -r option. For example assume you have a phone list like the below:&lt;br /&gt;
&lt;br /&gt;
NAME SURNAME PHONE&lt;br /&gt;
john|smith|+44.............&lt;br /&gt;
ali|veli|+90..........&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;carlos|suarez|+34..............&lt;br /&gt;
&lt;br /&gt;
You can process the file with the below script line by line having name surname and phone numbers separated.&lt;br /&gt;
&lt;br /&gt;
cat phonelist | while IFS=&quot;|&quot; read -r V1 V2 V3; do echo &quot;Name:$V1 Surname:$V2 Phone:$V3&quot;;done&lt;br /&gt;
&lt;br /&gt;
Its really fast compared to reading line by line and using awk for processing the lines.&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://barisergun.blogspot.com/feeds/6682603090274235187/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://barisergun.blogspot.com/2012/09/while-ifs-read-r.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/6682603090274235187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/6682603090274235187'/><link rel='alternate' type='text/html' href='http://barisergun.blogspot.com/2012/09/while-ifs-read-r.html' title=' while IFS=&#39;|&#39; read -r'/><author><name>Barış ERGÜN</name><uri>http://www.blogger.com/profile/16148697260305720089</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5836918687697385350.post-8060671106435936815</id><published>2012-01-23T10:50:00.003-08:00</published><updated>2012-01-23T10:50:27.578-08:00</updated><title type='text'></title><content type='html'>&lt;div&gt;&lt;p&gt;&lt;a href=&quot;http://feedproxy.google.com/~r/451opensource/~3/8hdmpGm54cg/&quot;&gt;Is MySQL usage really declining?&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://barisergun.blogspot.com/feeds/8060671106435936815/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://barisergun.blogspot.com/2012/01/is-mysql-usage-really-declining_23.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/8060671106435936815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/8060671106435936815'/><link rel='alternate' type='text/html' href='http://barisergun.blogspot.com/2012/01/is-mysql-usage-really-declining_23.html' title=''/><author><name>Barış ERGÜN</name><uri>http://www.blogger.com/profile/16148697260305720089</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5836918687697385350.post-3216870939513075525</id><published>2012-01-23T10:50:00.001-08:00</published><updated>2012-01-23T10:50:09.475-08:00</updated><title type='text'></title><content type='html'>&lt;div&gt;&lt;p&gt;&lt;a href=&quot;http://feedproxy.google.com/~r/451opensource/~3/8hdmpGm54cg/&quot;&gt;Is MySQL usage really declining?&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://barisergun.blogspot.com/feeds/3216870939513075525/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://barisergun.blogspot.com/2012/01/is-mysql-usage-really-declining.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/3216870939513075525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/3216870939513075525'/><link rel='alternate' type='text/html' href='http://barisergun.blogspot.com/2012/01/is-mysql-usage-really-declining.html' title=''/><author><name>Barış ERGÜN</name><uri>http://www.blogger.com/profile/16148697260305720089</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5836918687697385350.post-5012180579759619275</id><published>2012-01-09T04:33:00.001-08:00</published><updated>2012-01-09T04:33:41.824-08:00</updated><title type='text'>Be aware HP or other brand Network Printer holders.</title><content type='html'>&lt;a href=&quot;http://boingboing.net/2011/12/30/printer-malware-print-a-malic.html&quot;&gt;http://boingboing.net/2011/12/30/printer-malware-print-a-malic.html&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://barisergun.blogspot.com/feeds/5012180579759619275/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://barisergun.blogspot.com/2012/01/be-aware-hp-or-other-brand-network.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/5012180579759619275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/5012180579759619275'/><link rel='alternate' type='text/html' href='http://barisergun.blogspot.com/2012/01/be-aware-hp-or-other-brand-network.html' title='Be aware HP or other brand Network Printer holders.'/><author><name>Barış ERGÜN</name><uri>http://www.blogger.com/profile/16148697260305720089</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5836918687697385350.post-1353549409044265961</id><published>2012-01-04T10:47:00.001-08:00</published><updated>2012-01-04T10:47:50.359-08:00</updated><title type='text'></title><content type='html'>&lt;div&gt;&lt;p&gt;&lt;a href=&quot;http://code.google.com/p/s3fs/wiki/FuseOverAmazon&quot;&gt;FuseOverAmazon - s3fs - FUSE-based file system backed by Amazon S3 - Google Project Hosting&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://barisergun.blogspot.com/feeds/1353549409044265961/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://barisergun.blogspot.com/2012/01/fuseoveramazon-s3fs-fuse-based-file.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/1353549409044265961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/1353549409044265961'/><link rel='alternate' type='text/html' href='http://barisergun.blogspot.com/2012/01/fuseoveramazon-s3fs-fuse-based-file.html' title=''/><author><name>Barış ERGÜN</name><uri>http://www.blogger.com/profile/16148697260305720089</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5836918687697385350.post-8864947495300762322</id><published>2011-11-15T08:20:00.001-08:00</published><updated>2011-11-15T08:20:34.690-08:00</updated><title type='text'></title><content type='html'>&lt;div&gt;&lt;p&gt;&lt;a href=&quot;http://feedproxy.google.com/~r/nosql/~3/1Bg0wszq580/12332713183&quot;&gt;5 Apache Hadoop Use Cases&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://barisergun.blogspot.com/feeds/8864947495300762322/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://barisergun.blogspot.com/2011/11/5-apache-hadoop-use-cases.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/8864947495300762322'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/8864947495300762322'/><link rel='alternate' type='text/html' href='http://barisergun.blogspot.com/2011/11/5-apache-hadoop-use-cases.html' title=''/><author><name>Barış ERGÜN</name><uri>http://www.blogger.com/profile/16148697260305720089</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5836918687697385350.post-8045689799102769859</id><published>2011-11-15T08:19:00.001-08:00</published><updated>2011-11-15T08:19:19.578-08:00</updated><title type='text'></title><content type='html'>&lt;div&gt;&lt;p&gt;&lt;a href=&quot;http://feedproxy.google.com/~r/nosql/~3/kHZ2oVMCQWA/12466059249&quot;&gt;Anonymous Post: Don&#39;t Use MongoDB&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://barisergun.blogspot.com/feeds/8045689799102769859/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://barisergun.blogspot.com/2011/11/anonymous-post-dont-use-mongodb.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/8045689799102769859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/8045689799102769859'/><link rel='alternate' type='text/html' href='http://barisergun.blogspot.com/2011/11/anonymous-post-dont-use-mongodb.html' title=''/><author><name>Barış ERGÜN</name><uri>http://www.blogger.com/profile/16148697260305720089</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5836918687697385350.post-44036503910114311</id><published>2011-10-14T09:21:00.001-07:00</published><updated>2011-10-14T09:21:08.476-07:00</updated><title type='text'>Viva open source</title><content type='html'>&lt;div&gt;&lt;p&gt;&lt;a href=&quot;http://feedproxy.google.com/~r/ostatic/~3/ILtXFHzawVI/are-there-more-acquisitions-to-come-from-google&quot;&gt;Are There More Acquisitions to Come From Google?&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://barisergun.blogspot.com/feeds/44036503910114311/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://barisergun.blogspot.com/2011/10/viva-open-source.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/44036503910114311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/44036503910114311'/><link rel='alternate' type='text/html' href='http://barisergun.blogspot.com/2011/10/viva-open-source.html' title='Viva open source'/><author><name>Barış ERGÜN</name><uri>http://www.blogger.com/profile/16148697260305720089</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5836918687697385350.post-9061568951956320751</id><published>2011-10-10T22:47:00.000-07:00</published><updated>2011-10-10T22:48:18.735-07:00</updated><title type='text'>Open source software for building private and public clouds</title><content type='html'>Worth looking at. Led by very strong companies, collobration is high and license is Apache!&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;meta equiv=&quot;content-type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;a href=&quot;http://www.openstack.org/&quot;&gt;http://www.openstack.org/&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://barisergun.blogspot.com/feeds/9061568951956320751/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://barisergun.blogspot.com/2011/10/open-source-software-for-building.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/9061568951956320751'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/9061568951956320751'/><link rel='alternate' type='text/html' href='http://barisergun.blogspot.com/2011/10/open-source-software-for-building.html' title='Open source software for building private and public clouds'/><author><name>Barış ERGÜN</name><uri>http://www.blogger.com/profile/16148697260305720089</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5836918687697385350.post-292297342836513188</id><published>2011-10-02T22:22:00.001-07:00</published><updated>2011-10-02T22:22:53.952-07:00</updated><title type='text'>Best Practices for Scaling Java Applications with Distributed Caching</title><content type='html'>&lt;div&gt;&lt;p&gt;&lt;a href=&quot;http://feeds.dzone.com/~r/dzone/frontpage/~3/yG-XZg1q2M0/best_practices_for_scaling_java_applications_with.html&quot;&gt;Best Practices for Scaling Java Applications with Distributed Caching&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://barisergun.blogspot.com/feeds/292297342836513188/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://barisergun.blogspot.com/2011/10/best-practices-for-scaling-java.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/292297342836513188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/292297342836513188'/><link rel='alternate' type='text/html' href='http://barisergun.blogspot.com/2011/10/best-practices-for-scaling-java.html' title='Best Practices for Scaling Java Applications with Distributed Caching'/><author><name>Barış ERGÜN</name><uri>http://www.blogger.com/profile/16148697260305720089</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5836918687697385350.post-7315982266817645578</id><published>2011-09-29T22:45:00.001-07:00</published><updated>2011-09-29T22:45:06.974-07:00</updated><title type='text'>Yet another build system...</title><content type='html'>&lt;div&gt;&lt;p&gt;&lt;a href=&quot;http://buildr.apache.org/&quot;&gt;buildr &amp;#8212; Apache Buildr&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://barisergun.blogspot.com/feeds/7315982266817645578/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://barisergun.blogspot.com/2011/09/yet-another-build-system.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/7315982266817645578'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/7315982266817645578'/><link rel='alternate' type='text/html' href='http://barisergun.blogspot.com/2011/09/yet-another-build-system.html' title='Yet another build system...'/><author><name>Barış ERGÜN</name><uri>http://www.blogger.com/profile/16148697260305720089</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5836918687697385350.post-7041846395655671689</id><published>2011-06-30T22:27:00.001-07:00</published><updated>2011-07-01T04:59:29.041-07:00</updated><title type='text'>Microsoft Says It Will Give Your Data to the U.S</title><content type='html'>&lt;div&gt;&lt;p&gt;&lt;a href=&quot;http://feedproxy.google.com/~r/readwritecloud/~3/KncHvT_iZpI/microsoft-says-it-will-give-yo.php&quot;&gt;Microsoft Says It Will Give Your Data to the U.S. Government, Even If It&#39;s Not in the U.S.&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://barisergun.blogspot.com/feeds/7041846395655671689/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://barisergun.blogspot.com/2011/06/microsoft-says-it-will-give-your-data.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/7041846395655671689'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/7041846395655671689'/><link rel='alternate' type='text/html' href='http://barisergun.blogspot.com/2011/06/microsoft-says-it-will-give-your-data.html' title='Microsoft Says It Will Give Your Data to the U.S'/><author><name>Barış ERGÜN</name><uri>http://www.blogger.com/profile/16148697260305720089</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5836918687697385350.post-6433751876238004127</id><published>2011-06-30T08:30:00.001-07:00</published><updated>2011-07-01T04:59:50.341-07:00</updated><title type='text'>List of Tools for REST Web Services in Java | Javalobby</title><content type='html'>&lt;div&gt;&lt;p&gt;&lt;a href=&quot;http://java.dzone.com/articles/list-tools-rest-web-services?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+javalobby%2Ffrontpage+(Javalobby+%2F+Java+Zone)&quot;&gt;List of Tools for REST Web Services in Java | Javalobby&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://barisergun.blogspot.com/feeds/6433751876238004127/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://barisergun.blogspot.com/2011/06/list-of-tools-for-rest-web-services-in.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/6433751876238004127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/6433751876238004127'/><link rel='alternate' type='text/html' href='http://barisergun.blogspot.com/2011/06/list-of-tools-for-rest-web-services-in.html' title='List of Tools for REST Web Services in Java | Javalobby'/><author><name>Barış ERGÜN</name><uri>http://www.blogger.com/profile/16148697260305720089</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5836918687697385350.post-8856771889796513532</id><published>2011-06-29T08:17:00.001-07:00</published><updated>2011-06-29T08:17:56.636-07:00</updated><title type='text'>Blogger available for android</title><content type='html'>&lt;div&gt;&lt;p&gt;And this is my first test&lt;/p&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://barisergun.blogspot.com/feeds/8856771889796513532/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://barisergun.blogspot.com/2011/06/blogger-available-for-android.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/8856771889796513532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/8856771889796513532'/><link rel='alternate' type='text/html' href='http://barisergun.blogspot.com/2011/06/blogger-available-for-android.html' title='Blogger available for android'/><author><name>Barış ERGÜN</name><uri>http://www.blogger.com/profile/16148697260305720089</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5836918687697385350.post-6219375416248194885</id><published>2011-06-02T01:07:00.000-07:00</published><updated>2011-06-02T04:19:26.156-07:00</updated><title type='text'>Information about Red-Hat 32-bit kernels from Memory Management Perspective</title><content type='html'>Until today Red-Hat had support for 3 types of kernels no-smp,, smp (pae) and hugemem kernels. Of these 3 kernels hugemem kernel was released for Red-Hat 3 and 4 versions but dropped after that. I will explain the reason I found for that below but first of all lets try to understand the need for hugemem kernel. Lets look at the limitations of kernels:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;NO-SMP kernels, memory space usage&lt;/span&gt;&lt;br /&gt;* Generally 16MB DMA, 896MB low memory and rest is high memory.&lt;br /&gt;* Max supported phy. memory is 4GB&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;1.0 GB Text/code &lt;br /&gt;1.7 GB available process memory for mmap, malloc / address space &lt;br /&gt;     (e.g. usable by shared Pool) &lt;br /&gt;0.3 GB Stack &lt;br /&gt;1.0 GB Kernel space (all low memory + some portion of high memory)&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;SMP kernels, memory space usage is same as NO-SMP except that the total mem is increased upto &lt;br /&gt;&lt;/span&gt;&lt;br /&gt;* Still 16MB DMA, 896MB low memory and rest is high memory.&lt;br /&gt;* Max supported phy. memory is 64GB. Although 16GB is recommended; this is because kernel-space should know and hold reference for user-space resources and because of this when user-space usage increases over 16GB the kernel space&#39;s starts to consume all the low memory part thus OOM killer tries to kill user-space processes to free up space in the kernel space and the system can fall into a hang state finally.&lt;br /&gt;* CPU&#39;s address extension and kernels pae support together provide more User space for the processes but kernel space and memory space partitioning&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;1.0 GB Text/code &lt;br /&gt;1.7 GB available process memory for mmap, malloc / address space &lt;br /&gt;     (e.g. usable by shared Pool) &lt;br /&gt;0.3 GB Stack &lt;br /&gt;1.0 GB Kernel space&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Hugemem kernels, memory space usage&lt;/span&gt;&lt;br /&gt;* It is memtioned that low memory configuration changed but I could not find a definite number yet. As far as the kernel space increased upto 4GB 4 times larger than before low memory should also have been increased. If I can find a hugemem kernel installed I will cat /proc/meminfo&lt;br /&gt;* Hugemem kernel support was introduced in RedHat 3-4 but droped later. This is because highmem patches were never accepted upstream. The guys in the Red Hat team assumed that 64bit architecture is wide spreading and the hugemem effort to cure the 32+4 bit architecture sickness should not be carried on.&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;1.0 GB Text/code &lt;br /&gt;2.7 GB available process memory for mmap, malloc / address &lt;br /&gt;        space (e.g. usable by shared Pool) &lt;br /&gt;0.3 GB Stack &lt;br /&gt;4.0 GB Kernel&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Conclusion:&lt;/span&gt;&lt;br /&gt;So if you take a look at the official &lt;a href=&quot;http://www.redhat.com/rhel/compare/#note_4&quot;&gt;Red Hat Enterprise Linux Technology capabilities and limits&lt;/a&gt; page you will see that max phy memory support drops 16GB from 64GB for Redhat 5 and later on 32-bit architecture. You should remember that 64GB still possible for SMP PAE kernel but dangerous for consuming kernel resources and bringing the system in a hang state.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Remember that 64-bit arch treats all memory as low memory and memory limit is theoretically upto 8TB and practically 250GB-1TB for linux kernels. And I think its important to align the development strategies for 32-bit or 64-bit with RedHat teams strategic decisions; if you are developing software for this platform.</content><link rel='replies' type='application/atom+xml' href='http://barisergun.blogspot.com/feeds/6219375416248194885/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://barisergun.blogspot.com/2011/06/information-about-red-hat-32-bit.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/6219375416248194885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/6219375416248194885'/><link rel='alternate' type='text/html' href='http://barisergun.blogspot.com/2011/06/information-about-red-hat-32-bit.html' title='Information about Red-Hat 32-bit kernels from Memory Management Perspective'/><author><name>Barış ERGÜN</name><uri>http://www.blogger.com/profile/16148697260305720089</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5836918687697385350.post-1386160721016048555</id><published>2011-05-09T13:43:00.000-07:00</published><updated>2011-05-09T13:53:29.483-07:00</updated><title type='text'>rsync with ssh for resumable scp behaviour</title><content type='html'>Dont you get annoyed when you have a fragile vpn or internet connection to a site where you are trying to download a large file via scp and the transfer is broken on the half way or even when you are about to finish %99 lol.&lt;br /&gt;&lt;br /&gt;So this happened to me these days so I discovered rsync with ssh option to continue downloading from where just the download was interrupted.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;sudo rsync --partial --progress --rsh=ssh username@ipaddress:/path_to_file /path_to_target_folder &lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;If you have a different port than default ssh port&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;sudo rsync --partial --progress --rsh=&#39;ssh -p12321&#39; username@ipaddress:/path_to_file /path_to_target_folder &lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Note: This also works after when scp transfer was broken. You still continue to download from where you remained.</content><link rel='replies' type='application/atom+xml' href='http://barisergun.blogspot.com/feeds/1386160721016048555/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://barisergun.blogspot.com/2011/05/rsync-with-ssh-for-resumable-scp.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/1386160721016048555'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/1386160721016048555'/><link rel='alternate' type='text/html' href='http://barisergun.blogspot.com/2011/05/rsync-with-ssh-for-resumable-scp.html' title='rsync with ssh for resumable scp behaviour'/><author><name>Barış ERGÜN</name><uri>http://www.blogger.com/profile/16148697260305720089</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5836918687697385350.post-8445709436649643815</id><published>2011-04-18T13:27:00.000-07:00</published><updated>2011-04-18T13:29:02.417-07:00</updated><title type='text'>How to extend a Virtual Box Image Hard Disk Size</title><content type='html'>1-) Use clonezilla latest.iso and boot from Virtual Machine the iso.&lt;br /&gt;&lt;br /&gt;2-) Copy the source disk to target disk with Expert mode and k1 mode selected which is for scaling up the existing virtual disk to target virtual disk.&lt;br /&gt;&lt;br /&gt;3-) When finished open the virtual machine with a latest gparted.iso image.&lt;br /&gt;&lt;br /&gt;4-) Enter the commmand line mode and pvscan the virtual hard disk and Note your virtual harddisk path such as /dev/sda2&lt;br /&gt;&lt;br /&gt;5-) sudo pvresize /dev/sda2 This is done for resizing the outer LVM2 type Virtual Disk partition.&lt;br /&gt;&lt;br /&gt;6-) lvscan to discover internally mapped virtual ext3 or ext2 linux partitions such as /dev/mapper/virtual-disk-name&lt;br /&gt;&lt;br /&gt;7-) sudo lvresize -L &lt;size&gt; /dev/mapper/virtual-disk-name This will extend your inner mapped linux partition.&lt;br /&gt;&lt;br /&gt;8-) resize2fs /dev/mapper/virtual-disk-name  This will resize the filesystem.&lt;/size&gt;</content><link rel='replies' type='application/atom+xml' href='http://barisergun.blogspot.com/feeds/8445709436649643815/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://barisergun.blogspot.com/2011/04/how-to-extend-virtual-box-image-hard.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/8445709436649643815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/8445709436649643815'/><link rel='alternate' type='text/html' href='http://barisergun.blogspot.com/2011/04/how-to-extend-virtual-box-image-hard.html' title='How to extend a Virtual Box Image Hard Disk Size'/><author><name>Barış ERGÜN</name><uri>http://www.blogger.com/profile/16148697260305720089</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5836918687697385350.post-7994262045928827042</id><published>2011-03-24T13:06:00.000-07:00</published><updated>2011-03-24T13:08:16.224-07:00</updated><title type='text'>Robolectric: Test-Drive Your Android Code</title><content type='html'>&lt;a href=&quot;http://pivotal.github.com/robolectric/&quot;&gt;What does Roboelectric do?&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://barisergun.blogspot.com/feeds/7994262045928827042/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://barisergun.blogspot.com/2011/03/roboelectric-hmm-mightbe-interesting.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/7994262045928827042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/7994262045928827042'/><link rel='alternate' type='text/html' href='http://barisergun.blogspot.com/2011/03/roboelectric-hmm-mightbe-interesting.html' title='Robolectric: Test-Drive Your Android Code'/><author><name>Barış ERGÜN</name><uri>http://www.blogger.com/profile/16148697260305720089</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5836918687697385350.post-5620006432410087598</id><published>2011-03-05T06:37:00.000-08:00</published><updated>2011-03-05T06:40:46.310-08:00</updated><title type='text'>Graph Visualization tool for Ant makefiles.</title><content type='html'>I recommend Grand as a graph visualization tool for Ant files.&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.ggtools.net/grand/&quot;&gt;Reach from here&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://barisergun.blogspot.com/feeds/5620006432410087598/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://barisergun.blogspot.com/2011/03/graph-visualization-tool-for-ant.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/5620006432410087598'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/5620006432410087598'/><link rel='alternate' type='text/html' href='http://barisergun.blogspot.com/2011/03/graph-visualization-tool-for-ant.html' title='Graph Visualization tool for Ant makefiles.'/><author><name>Barış ERGÜN</name><uri>http://www.blogger.com/profile/16148697260305720089</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5836918687697385350.post-4128819250732963212</id><published>2011-01-17T07:23:00.000-08:00</published><updated>2011-02-08T06:29:17.403-08:00</updated><title type='text'>Tips for installing memcached on Red-Hat 4</title><content type='html'>1-) web access :)&lt;br /&gt;&lt;br /&gt;2-) rpm -ihv  ftp://ftp.pbone.net/mirror/ftp.pramberger.at/systems/linux/contrib/rhel4/archive/x86_64/libevent-1.3e-4.el4.pp.i386.rpm&lt;br /&gt;&lt;br /&gt;3-) rpm -ihv htp://ftp.pbone.net/mirror/ftp.pramberger.at/systems/linux/contrib/rhel4/archive/i386/memcached-1.4.5-1.el4.pp.i386.rpm&lt;br /&gt;&lt;br /&gt;Dont install memcached 1.2 versio0n and the stupid libevent 1.3b beta release than you will get EAGAIN resource temporyliy unavailable erro when trying to asyncroushly write to memcached server.</content><link rel='replies' type='application/atom+xml' href='http://barisergun.blogspot.com/feeds/4128819250732963212/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://barisergun.blogspot.com/2011/01/tips-for-installing-memcached-on-red.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/4128819250732963212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/4128819250732963212'/><link rel='alternate' type='text/html' href='http://barisergun.blogspot.com/2011/01/tips-for-installing-memcached-on-red.html' title='Tips for installing memcached on Red-Hat 4'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5836918687697385350.post-1279822897234876884</id><published>2011-01-11T14:10:00.000-08:00</published><updated>2012-09-29T10:07:33.951-07:00</updated><title type='text'>Our Coreopsis Rota Video Monitoring Deprecated Latest release</title><content type='html'>We stopped developing the Coreopsis Project on 2007. This is the latest release of our Windows Based Ip Camera management system (2007). From the below link download Setup1_05.zip. Only Windows XP Windows 2000 and Windows 2003 servers are supported. The software is for free.... &lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://code.google.com/p/barisergunexperimentalstuff/downloads/list?can=1&amp;amp;q=&quot;&gt;http://code.google.com/p/barisergunexperimentalstuff/downloads/list?can=1&amp;amp;q=&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://barisergun.blogspot.com/feeds/1279822897234876884/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://barisergun.blogspot.com/2011/01/our-coreopsis-rota-video-monitoring.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/1279822897234876884'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/1279822897234876884'/><link rel='alternate' type='text/html' href='http://barisergun.blogspot.com/2011/01/our-coreopsis-rota-video-monitoring.html' title='Our Coreopsis Rota Video Monitoring Deprecated Latest release'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5836918687697385350.post-1871873163489877968</id><published>2010-12-22T05:56:00.000-08:00</published><updated>2010-12-22T06:26:09.845-08:00</updated><title type='text'>Memcached Performance Tests and Source Code (Java Source, Ant Project)</title><content type='html'>&lt;a href=&quot;http://http://www.memcached.org/&quot;&gt;What is Memcached?&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I have prepared some test cases in order to test the performance  of Memcached distributed caching library. You can get them from my code repository with the following mercurial script.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;hg clone https://barisergunexperimentalstuff.googlecode.com/hg/ barisergunexperimentalstuff&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;For your information if you don&#39;t have a mercurial rep client than you can get it with your favorite package manager. I use &quot;sudo apt-get install tortoisehg&quot; on my Ubuntu.&lt;br /&gt;&lt;br /&gt;A-) Local tests:&lt;br /&gt;&lt;br /&gt;Local tests are done with a sample DataObject. when you run the tests 8 different memcached instances are started on 8 consequent ports. &lt;br /&gt;&lt;br /&gt;Steps to follow &lt;br /&gt;&lt;br /&gt;- Install memcached (eg. sudo apt-get install memcached). On my previous post I also have information about on installing memcached on Centos 5.5&lt;br /&gt;&lt;br /&gt;- Then, run tests with below ant script&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;ant local.test -Dentry.count=10000 -Dttl=60&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Dentry.count is used to configure number of objects to cache. Dttl is used to configure TTL for each object in the cache.&lt;br /&gt;&lt;br /&gt;A-) Distributed tests:&lt;br /&gt;&lt;br /&gt;Local tests automatically starts and terminates the memcached servers on local machine. For distributed tests you will have to start the memcached servers on remote machines and give the server_ip:server_port combinations with a specific format as shown below.&lt;br /&gt;&lt;br /&gt;Steps to follow:&lt;br /&gt;&lt;br /&gt;- Install memcached on remote servers&lt;br /&gt;&lt;br /&gt;- Start memcached servers.&lt;br /&gt;&lt;br /&gt;Eg:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;memcached -d -u root -m 1024 10.34.3.13 -p 1121&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;- Run distributed tests with following arguments(just a sample)&lt;br /&gt;&lt;br /&gt;ant distributed.test -Dentry.count=10000 -Dget.timeout=10 -Dttl=300 -Dservers=&quot;10.34.3.11:1121 10.34.3.12:1121 10.34.3.13:1121&quot;&lt;br /&gt;&lt;br /&gt;Dget.timeout is for timeout for reading from cache&lt;br /&gt;Dservers is list of memcached servers.</content><link rel='replies' type='application/atom+xml' href='http://barisergun.blogspot.com/feeds/1871873163489877968/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://barisergun.blogspot.com/2010/12/memcached-performance-tests-and-source.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/1871873163489877968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/1871873163489877968'/><link rel='alternate' type='text/html' href='http://barisergun.blogspot.com/2010/12/memcached-performance-tests-and-source.html' title='Memcached Performance Tests and Source Code (Java Source, Ant Project)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5836918687697385350.post-8688776030373941819</id><published>2010-12-22T01:12:00.000-08:00</published><updated>2011-03-30T06:29:05.956-07:00</updated><title type='text'>Tips for installing memcached on Centos 5.5</title><content type='html'>1-) Get the below memcached rpm file&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;wget ftp://ftp.pbone.net/mirror/ftp.pramberger.at/systems/linux/contrib/rhel5/i386/memcached-1.4.5-2.el5.pp.i386.rpm&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;My architecture was i386 you find yours an get the appropriate one.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2-) rpm -ihv memcached-1.4.5-2.el5.pp.i386.rpm&lt;br /&gt;&lt;br /&gt;There you go....</content><link rel='replies' type='application/atom+xml' href='http://barisergun.blogspot.com/feeds/8688776030373941819/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://barisergun.blogspot.com/2010/12/tips-for-installing-memcached-on-centos.html#comment-form' title='0 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/8688776030373941819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/8688776030373941819'/><link rel='alternate' type='text/html' href='http://barisergun.blogspot.com/2010/12/tips-for-installing-memcached-on-centos.html' title='Tips for installing memcached on Centos 5.5'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5836918687697385350.post-7373834304842219991</id><published>2010-12-14T04:19:00.000-08:00</published><updated>2010-12-14T04:38:33.375-08:00</updated><title type='text'>Performance of inserting data on Jboss Cache compared to ConcurrentHashMap.</title><content type='html'>You can use the below Beanshell script directly with the Jboss Cache 3.2.5 GUI Demo with embedded Beanshell. Just copy the below code piece to a file eg trial.bsh. And to run it from the embedded Beanshell of JBoss Cache GUI Demo do -&gt; source(&quot;trial.bsh&quot;). You should see some tps and performance related text output. The below beanshell script file is for ENTRY_COUNT = 120000; You can play with different number of entries. Also do not forget to play with Xms arguments not to get a stack overflow for large entries.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;import org.jboss.cache.Fqn;&lt;br /&gt;import java.util.Date;&lt;br /&gt;import java.io.*;&lt;br /&gt;import java.util.concurrent.ConcurrentHashMap;&lt;br /&gt;import java.lang.instrument.*;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;public class LocationDataObject implements Externalizable {&lt;br /&gt;&lt;br /&gt; private static final long serialVersionUID = 3383966388917008053L;&lt;br /&gt;&lt;br /&gt; private Double xCoord;&lt;br /&gt; private Double yCoord;&lt;br /&gt; private  Date timeStamp;&lt;br /&gt;&lt;br /&gt; public Double getXCoord(){&lt;br /&gt;  return xCoord;&lt;br /&gt;  &lt;br /&gt; }&lt;br /&gt; public Double getYCoord(){&lt;br /&gt;  return yCoord;&lt;br /&gt; }&lt;br /&gt; public Date getTimeStamp(){&lt;br /&gt;  return timeStamp;&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; public void setXCoord(Double xCoord){&lt;br /&gt;  this.xCoord =xCoord ;&lt;br /&gt;  &lt;br /&gt; }&lt;br /&gt; public void setYCoord(Double yCoord){&lt;br /&gt;  this.yCoord = yCoord;&lt;br /&gt; }&lt;br /&gt; public void setTimeStamp(Date timeStamp){&lt;br /&gt;  this.timeStamp = timeStamp;&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;        public void readExternal(ObjectInput in) &lt;br /&gt;        throws IOException,ClassNotFoundException {&lt;br /&gt;&lt;br /&gt;            xCoord = in.readDouble();&lt;br /&gt;            yCoord = in.readDouble();&lt;br /&gt;            timeStamp = (Date)in.readObject();&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        &lt;br /&gt;        public void writeExternal(ObjectOutput out) &lt;br /&gt;        throws IOException {&lt;br /&gt;            out.writeDouble(xCoord);&lt;br /&gt;            out.writeDouble(yCoord);&lt;br /&gt;            out.writeObject(timeStamp);&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;public class TestJbossCachevsHasmap{&lt;br /&gt; private static final Long ENTRY_COUNT = 120000;&lt;br /&gt;&lt;br /&gt;    private static Instrumentation instrumentation;&lt;br /&gt;&lt;br /&gt;    public static void premain(String args, Instrumentation inst) {&lt;br /&gt;        instrumentation = inst;&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; public static void main(String [] args){&lt;br /&gt;&lt;br /&gt;  childFqn1 = Fqn.fromString(&quot;/Msisdn&quot;);&lt;br /&gt;&lt;br /&gt;  tm = cache.getTransactionManager();&lt;br /&gt;&lt;br /&gt;  tm.begin();&lt;br /&gt;  msisdnMap = root.addChild(childFqn1);&lt;br /&gt;  tm.commit();&lt;br /&gt;&lt;br /&gt;  locData = new LocationDataObject();&lt;br /&gt;&lt;br /&gt;  Long startTime = System.currentTimeMillis ();&lt;br /&gt;&lt;br /&gt;  for(Long fakeMsIsdn=0; fakeMsIsdn &lt; ENTRY_COUNT; fakeMsIsdn++){&lt;br /&gt;&lt;br /&gt;   locData.setXCoord(10.00D);&lt;br /&gt;   locData.setYCoord(20.00D);&lt;br /&gt;   Date dateNow = new Date();&lt;br /&gt;   locData.setTimeStamp(dateNow);&lt;br /&gt; &lt;br /&gt;   tm.begin();&lt;br /&gt;   msisdnMap.put(fakeMsIsdn.toString(), locData);&lt;br /&gt;   tm.commit();&lt;br /&gt; &lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  Long endTime = System.currentTimeMillis ();&lt;br /&gt;&lt;br /&gt;  Long executionTime = (endTime - startTime);&lt;br /&gt;&lt;br /&gt;  double tps = (ENTRY_COUNT*1000)/executionTime;&lt;br /&gt;&lt;br /&gt;  System.out.println(&quot;Duration of Jboss Cache for inserting &quot; + ENTRY_COUNT + &quot; entries in &quot; +  executionTime + &quot; msec. Average tps is &quot; +tps );&lt;br /&gt;&lt;br /&gt;  //System.out.println(ObjectSizeFetcher.getObjectSize(root));&lt;br /&gt;&lt;br /&gt;  concurrentMap = new ConcurrentHashMap ();&lt;br /&gt;&lt;br /&gt;  Long startTime2 = System.currentTimeMillis ();&lt;br /&gt;&lt;br /&gt;  for(Long fakeMsIsdn=0; fakeMsIsdn &lt; ENTRY_COUNT; fakeMsIsdn++){&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;   locData.setXCoord(10.00D);&lt;br /&gt;   locData.setYCoord(20.00D);&lt;br /&gt;   Date dateNow = new Date();&lt;br /&gt;   locData.setTimeStamp(dateNow);&lt;br /&gt;   concurrentMap.put(fakeMsIsdn.toString(), locData);&lt;br /&gt; &lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  Long endTime2 = System.currentTimeMillis ();&lt;br /&gt;&lt;br /&gt;  Long executionTime2 = endTime2 - startTime2;&lt;br /&gt;&lt;br /&gt;  double tps2 = (ENTRY_COUNT*1000)/executionTime2;&lt;br /&gt;&lt;br /&gt;  System.out.println(&quot;Duration of ConcurrentHashMap for inserting &quot; + ENTRY_COUNT + &quot; entries in &quot; +  executionTime2 + &quot; msec.  Average tps is &quot; +tps2 );&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;    public static long getObjectSize(Object o) {&lt;br /&gt;        return instrumentation.getObjectSize(o);&lt;br /&gt;    }&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;TestJbossCachevsHasmap.main(null);&lt;/code&gt;</content><link rel='replies' type='application/atom+xml' href='http://barisergun.blogspot.com/feeds/7373834304842219991/comments/default' title='Kayıt Yorumları'/><link rel='replies' type='text/html' href='http://barisergun.blogspot.com/2010/12/performance-of-inserting-data-on-jboss.html#comment-form' title='1 Yorum'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/7373834304842219991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5836918687697385350/posts/default/7373834304842219991'/><link rel='alternate' type='text/html' href='http://barisergun.blogspot.com/2010/12/performance-of-inserting-data-on-jboss.html' title='Performance of inserting data on Jboss Cache compared to ConcurrentHashMap.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>