Letsgetdugg

Random tech jargon

Browsing the tag perl

*Update* Patches got accepted into MogileFS Trunk 😉 Just go check out trunk, it has all my patches already included. http://code.sixapart.com/svn/mogilefs/trunk/ The only thing you need is my mogstored disk patch which is still pending. All the issues revolving around postgresql and solaris have been already included in trunk. I fixed a few issues with […]

There seems to be some interest Catalyst vs Rails vs Django benchmark. The older benchmark is quite old, it was done in 2007. A lot has changed since then. I am re-running the numbers once again to see what has changed. This time around the hardware is faster and the benchmark is slightly more simple. […]

Tagged with , , , ,

You might find this plugin nifty if you have multiple application servers processing requests. The Perlbal BackendHeaders plugin appends X-Backend headers with which backend served the request. Update 06/26/09 Now on github perlbal-plugin-backendheaders syris:~ victori$ curl -I http://fabulously40.com/questions HTTP/1.1 200 OK Server: nginx/0.7.52 Content-Type: text/html; charset=utf-8 Expires: Thu, 01 Jan 1970 00:00:00 GMT Content-Language: en […]

Tagged with ,

Well this has been a long time coming but I can declare the Typeface blogging platform to be a dead project. I have migrated this blog to wordpress.

Tagged with ,

Try this fun perl benchmark, to test your dual core, SMP or hyperthreaded system. Before running, make sure you have perl 5.8 with threading support compiled in. Perl has native ithreads as of perl 5.8. #!/usr/bin/perl -w use threads; use strict; my $y1=Bench->new(); print “Bencmarking multi-threadedn”; $y1->benchmark(); print “Benchmarking single-threadedn”; $y1->ncpu(1); $y1->benchmark(); package Bench; sub […]

Tagged with , ,

Dynamic type languages such as Perl, Ruby, PHP, and Python free you as the developer from managing memory in your application. However, it isn’t a fool proof solution that you won’t have memory leaks in your application. You as the developer should be aware of how the underlying garbage collector of your preferred language works […]

Tagged with ,

I *really* needed session affinity for our wicket application. HAproxy does session affinity but can’t be reconfigured at runtime without a restart. Perlbal is much more configurable, it lets you add and remove nodes in a pool at runtime. This makes deploying a new version of our web application a lot easier. I have the […]

Tagged with , ,

Update: See my newer post that re-evaluates the frameworks. Things have changed since then. Today I began working on a new project and decided to benchmark Catalyst and Rails for fun. See how my new favorable framework does against Rails. I was a bit shocked at the results though. I guess this is worth mentioning […]