Suchergebnisse für „Perl“
Perl doesn't care about numbers, integer or float - at least on the script level - but MongoDB does. The driver's default number detection algorithm treats floats as strings and MongoDB doesn't like to compare strings with less-than or greater-than operations.
My development server is a remote Vserver image running under VirtualServer or OpenVZ or anything else. I don't know because I don't care because other people do. I'm used to develop over SSH a lot, this is not problem, but I'm limited to CIFS as a Vserver can't provide NFS. NFS with cachefilesd was fast enough to work on the sources, at least most of the time, but CIFS is a complete fail. Browsing a small directory in my editor may easily take two or three minutes and saving files takes up to 30 seconds.
My laptop has "only" 20 GB for the root-partition / including home, usr and var. This is enough but recent updates dropped my free space below 1 GB and lately below 500 MB. I noticed that various kernel images & modules are wasting spaces but not used at all.
Database load, disk, CPU and memory usage are known ressources on modern servers, but there is another one which is much more important: The I/O volume is limited and can't be raised as easy as all the others. It has no fixed limit and can't be measured (very good). It's a rare (maybe the most rare) good and shouldn't be wasted.
Heute wurde mir eine kurze Frage gestellt:
Wir wollen in Richtung DB Slaves gehen, um die Hauptdatenbank zu entlasten. Ich würde gerne aus Deiner Sicht erfahren, wo Probleme auftauchen können.
I recently decided to prefer MongoDB for new projects and it turned out that I still need to learn a lot of things about it. One of them is MapReduce which is more powerful than (most) SQL SELECT options.
Someone asked me about a CRC32B checksum today. No problem, there is CPAN and a common checksum like CRC should be very easy, there must be a module (or two or three or so) on CPAN, task done, next one. Stop. There are two modules for CRC32: Digest::CRC32 and String::CRC32 but really nothing for CRC32B.
sed ist das Universaltool zur massenweisen Dateimanipulation, allerdings schlägt sich seine unglaubliche Flexibilität auch in einer komplizierten Nutzung wieder, hier sind ein paar wichtige Anwendungsfälle und Aufrufbeispiele.
I tried to set up a little notification daemon in one of my projects: It should send a message to my GoogleTalk account for special events and that should be easy using one of the huge amount of Jabber/XMPP modules on CPAN.
I wrote about Gearman some time ago and didn't get the tuits to write the next posts, but here we go: How to start working with Gearman.
I strongly suggest that you don't start by adding Gearman to your productional systems because there are many things to consider and you probably don't want to rewrite everything once it's running.