Victories and defeats in computer programming

Latest Escapades

  • February 18, 2014

    How I solved my first server crash @ lab.sokratik.com

    Our first beta product http://lab.sokratik.com uses two nodejs servers, one of them is a binaryjs socket which is a wrapper around amazon s3, the other powers all the html you see on your browser. This is an expressjs application sitting behind nginx and talking to browser and mongolab. The server architecture is based on mean . If you are writing a new application, I would strongly recommend building your code on top of mean. Having spent considerable time writing javascript, I zeroed in on angularjs for my frontend framework. Without going into merits of why chose this technology over other, I can say that any angularjs application talks in the language of json. My experience with server crashes also dictated that I use forever. When a server goes down even more important than finding why it went down is to bring the server up.