Suchergebnisse für „Perl“
Data is getting bigger and bigger as technology advances. We didn't even think about using something inefficent like XML when I started writing sourcecode on a Datapoint 6600 or even in MS-DOS world, but today? A meg more or less doesn't matter today. But sometimes space is still premium and so it is for my current project. I'm working with short strings (text plus some extra chars, about 6 bit  per char) and they should be compressed.
We started using Memcache for a project some time ago and the sessions of our web users had been one of the first functions using it. Here is how to use Memcache to reduce database load and speed up your websites.
SQL has some drawbacks, the worst one might be the SQL injection chance. There are many ways to avoid them but few of them are really working, one of them is using bind values by replacing all values by ? and passing the real values at execution time.
Race conditions are nice: Two (or more) tasks are fighting for the same thing at the same time. Row locking on the database may help to avoid such races but only if the database supports them.
The Perl CGI module is commonly used, but it's heavy. CGI::Simple is more lightweight but lacks some features. Here is a feature not supported by CGI but by CGI::Simple.
Gestern war Vatertag, den Brückentag frei nehmen lohnt sich nicht so ganz, wenn ich eh zu Hause bin. Der Tag selbst war dann eher ruhig, der Abend allerdings weniger.
Dieser Artikel ist etwas besonderes. This post is something really special. Er ist nicht besonders lang, interessant oder schön geschrieben, aber trotzdem einmalig. It isn't the longst, most interesting or best written post, but it's very unique. Es ist mein - soweit ich mich erinnern kann - erster zweisprachiger Artikel. This is my first dual-language post, as far as I remember. Aber vor allem ist es mein erster Geburtstagsartikel und dabei habe ich noch gar nichtt Geburtstag. But much more important - this is my first birthday-post - but it's not my birthday.I recently announced an article about Gearman, today I'ld like to start with setting up a Gearman dispatcher server.
Web scripts usually do one thing at a time which is quite good as long as there is not too much to do. But serving thousands of request per minute with thousands of source code lines per request starts getting challenging. Bon Jovi asked for help for web scripts some time ago by writing his song "(Whos gonna) work for the working man". Well, there are little chances that he had something else in mind, but who cares.
Typical Perl scripts (and others running as CGI-scripts) run and exit once they're done, but this isn't very efficient with medium or high request counts. Persistent solutions like FCGI and ModPerl avoid the additional interpreter loading and compiling phases, but start being challenging if any source file is changed.


