MongoDB has an internal profiler, but it’s often too complex for a quick statistics to see what kind of queries the database is getting. Luckily there’s an easy way to get some quick statistics with tcpdump. Granted, these examples are pretty naive in terms of accuracy, but they are really fast to do and they [...]
As a company grows, there comes a point when it’s no longer feasible that the founders and programming gurus keep maintaining the servers. Your clients are calling in the middle of the weekend just to tell that a server is down and you didn’t even notice. Sounds familiar? It’s time you spin up the TechOps [...]
Osana valtionhallinnon avoimen datan hanketta Maanmittauslaitos avasi vihdoin arkistonsa kaiken kansan nähtäville. Ehkä mielenkiintoisin näistä on Maastotietokanta, joka sisältää eritellysti yhtenä valtavana tietokantana kaikki Maanmittauslaitoksen kartoittamat yksityiskohdat maastosta. Kiipeilijät ovat pitkään etsineet uusia potentiaalisia kiipeilypaikkoja selailemalla karttoja, mutta voisiko hommaa helpottaa? Maanmittauslaitos määrittelee Kiven seuraavasti: Yli 2.5 m korkea tai yleisesti tunnettu tai vähäkivisellä seudulla [...]
I’m running a MongoDB 2.2 cluster in Amazon EC2 consisting of three machines. One of these machines is used to take hourly snapshots with LVM and EBS and I noticed a rare bug which leads to silent data corruption on the restore phase. I’m using Rightscale to configure the machines with my own ServerTemplate, which [...]
As part of my LifeArchive project, I had to verify that I have sufficient methods to back all my valuable assets so well that they will last for decades. Sadly, there isn’t currently any mass media storage available that is known to function for such a long time, and in any way you must prepare for losing a site due to floods, fire and other disasters. This post explains how I solved my backup needs for my entire digital legacy.
Remember the moments when you, or your parents, found some really old pictures buried deep into some closet and you instantly get a warm and fuzzy feeling of memories? In this modern era of Cloud Services, we’re producing even more personal data which we want to retain. Pictures form your phone and your DSLR camera, documents [...]
I only recently learn about the HP MicroServer product family. HP has been making these small little servers for a few years and they are really handy and really cheap for their features. I bought a HP MicroServer N40L for just 242 euros.
I have a fairy typical setup where I have nginx in front of haproxy, where nginx is terminating the ssl connections from client browsers. As our product grew, my loadbalancer machines didn’t have enough CPU to do all the required ssl processing. As this zabbix screenshot shows, the nginx takes more and more cpu, until [...]
If you’re like me, you’ll have a terminal with dozen or so tabs open and you can’t remember which tab was which. The problem is even more annoying when you have some programs running on each tab and you can’t differentiate them. By adding this oneliner to your ~/.bash_profile you can set the title for [...]
We’re big fans of opensource community here at Applifier. So much, that we believe that opensourcing software components and tools developed in house will result in better quality, increased cost savings and increased productivity. Here’s why:
Tired of pasting a bunch of lines into your irssi by a right mouse button misclick? Well, no more! Set these two irssi settings and irssi will ask you every time if you try to paste an entire line, or more. /set paste_detect_time 5msecs /set paste_verify_line_count 1 /save And that’s it!
I just recently built a storage server based on Solaris OpenIndiana with SuperMicro 45 disk enclosure. The current configuration can host 84 TB of usable disk space, but we plan to extend this at least to 200TB in the following months. This blog entry describes the configuration and steps how to implement such beast by yourself.
I’ve just uploaded my Pitfalls and Lessons Learned with node.js presentation slides from #ReaktorDevDay 2011 to http://www.juhonkoti.net/media/reaktordevday-juhomakinen-nodejs-2011-09-02.pdf.
I had the privilege to do a presentation at yesterdays (2011-05-11) Frontend Finland event. Thanks for everybody who had the time to listen my presentation even when the time was a bit late. I’ve uploaded my slides so you can download them (PDF). Remember to check our career page if you would like to work with [...]
I’ve been experimenting with a Multi Level Security implementation in Windows 7 using VirtualBox and VMLite to run Chrome and other browsers inside a virtual machine (guest system) and to use this browser as the default browser for the entire computer (host system) for additional security.
Törmäsin asennusongelmiin Saunalahden mobiilitikun ohjelmiston kanssa yrittäiessäni asentaa sitä OS X:ään (10.6.5). Asennusohjelma ilmoitti virheen “An internal error has occured during configuration (5370)”. Ongelma voidaan ratkaista seuraavasti…