Version maintenance in REST APIs

REST based APIs provide significant advantages over other standards heavy interfaces like SOAP. REST makes it very easy to expose your business services to external world. It is not only simple data access, you can even encapsulate business logic in each API execution. From a developer / architect standpoint, there are various areas that need…

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…

Special characters in cURL – especially with Solr

cURL is an excellent utility to check processing / download times of your web application. It just downloads the content from http url but gives useful insights as well. There are Linux and Windows versions of the tool. Now, handling special characters is tricky as the command will fail. For example, below command fails as…

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…