Posts

Showing posts from November, 2011

A simple vegetarian curry

Image
A simple curry Here is a simple curry recipe for the busy week days. There are no particular vegetables or ingredients that you need for this recipe, just put together any set of vegetables or spices that you may have. Contributed by Rajan Manickavasagam . Published 27. Nov 2011 Ingredients 2 diced potatoes 2   diced  carrots 1 cup of green peas 1 sliced green beans 2 sliced green chillies 1 teaspoon of ginger garlic paste 1 sliced onion 4 tablespoon vegetable oil 1 handful of coriander leaves 1 clove 1 cardamom 1  teaspoon of cumin seeds 1/2 teaspoon of turmeric powder 1/2 teaspoon of chilli powder 1 cup of fresh single cream 1-2 teaspoon of salt (or to taste) Instructions Heat the oil in pan. Add cumin seeds, green chillies and onions and saute them. Once the onions are golden brown, add the ginger garlic paste and the remaining spices. Add the turmeric and chilli powder to the pan. Add...

Why everyday should be a Friday

Surprise, I am writing this post on a Friday. It all started post lunch in the office with someone singing as they were working. Suddenly, the question of someone's age came up. And, then someone else was nominated the 'Daddy' of the group, by virtue of being the oldest! A few quips and laughs and people were quickly back to work. It's just once of those 'Friday' moments in work places all over the world. It's certainly something you don't see on a Monday. While I prefer a quiet work atmosphere, office banter keeps the spirits going and helps people bond. And, probably it will be good if every day were a 'Friday'. Nevertheless, happy weekend.

Tech - NOSQL Tutorial - Part 3 (Performance)

Image
​As promised, here are the results of the database shoot out between MongoDB and SQL Server. Before we get into the results, a few things worth noting. The objective of the performance test is a simple use case - search data based on some keys. I have a few self imposed principles to ensure that the test is fair and square - Use the standard configuration for the databases so that it's a fair comparison. Exactly the same data loaded into both the databases, including creating the same kind of indexes too. Exactly the same queries and parameters used for both the databases. Exactly the same client used to execute the queries against both the databases. The same kind of OS and underlying hardware (CPU, RAM etc). There are 3 separate database servers that have been used here. They are - Server 1 - Windows 2008 R2 (64 bit) physical server running MongoDB (64 bit). Server 2 - Windows 2008 R2 (64 bit) virtual server running MongoDB (64 bit). Server 3 - Windows 2008 R2 (...

Tech - NOSQL Tutorial - Part 2 (Overview)

I started looking at various NOSQL databases like Hbase, CouchDB and MongoDB. I finally settled on MongoDB, mainly because it was easy to setup in Windows. The name Mongo is derived from 'humongous', interesting name! For more details, you can refer - http://www.mongodb.org . As it says on the website, it is very easy to setup and highly scalable. Here are my first set of statistics - Time to download the software (64 bit edition) - 2 minutes Time to setup the database - 2 minutes Time to get the database up and running - 1 minute And, this is where I found the database to be refreshing. It is quick, even to setup, leave alone processing of data! Overall, I found these to be key features of this database - Light foorprint. Easy to setup either single or replicated instances and to administer. Schema-free data storage. In other words, there is no need to define any data structure. Incredibly quick for reads and writes. Map Reduce (with Javascript). Very ...

Tech - NOSQL Tutorial - Part 1 (Introduction)

Several people and organizations have cited the growing size and consumption of data in the current digital age. I have deliberately used the word 'digital' instead of 'internet'. There is growing convergence of internet, media (video, audio) and devices. One can today, browse a newspaper on a Smart TV and conversely view a movie on a phone or tablet. There is of course the 'social' chatter on sites such as Facebook, Flickr and Twitter to name a few. The implication of all this is of course transmission and storage of data. I am going to cover the latter aspect in this series of articles. I have worked on various RDBMS starting from databases like SQL Server, Oracle and right up to DB2 and Teradata. I have always been curious about how data and it's application. So, I have been researching on some of the technologies that power large scale data. A key component has been the rising use 'NOSQL' databases. The NO - doesn't stand for No as in Dr...