In memory prefix searches – TST Vs HashMap

Ternary Search Trie (TST) is an advanced data structure to store simple key-value pairs that lends itself to really fast searches. TST typicall works well when: Search results are significantly less in number compared to total size of the data store. Keys are of String type For example, TST is a very effective solution when…

Big Data implementations – 2 common mistakes

Big Data is a term used to refer to an ecosystem where huge amount of unstructured data is handled to typically meet the analytics/reporting needs of organizations. We have had our own share of excitement and problems while implementing such solution in our IT shop. Couple of years back, we had a data handling system…

Getting started with Hadoop

Purpose of this post is to help Java developers new to Hadoop. Especially those folks who have read about Hadoop and Big Data but are unsure about how to get started. Problem is that the Hadoop related APIs require a complicated infrastructure to be setup even before you can run a “Hello World” type of…

Callback Functions

A function that takes another function as one of its parameters is termed as callback function. This is an interesting concept but developers generally tend to ignore it. Many languages support this feature – some do it easily while others need some code setup. In this post, I will be using Javascript to demonstrate a…

z/OS DB2 connectivity using Java client

Connecting to a DB2 instance hosted on z/OS(Mainframe) requires a series of configuration and coding steps. This blog post explains the steps: · Request EXECUTE privileges on package ‘NULLID.SYSLH200’ for user login id · Get the below information from SDSF log for DB2 startup job ‘DB8’. This data will be used while configuring the Java client. DB8GMSTR…