Latest entries

Event processing with Kafka

Kafka and its components Kafka is considered as the next-gen distributed messaging system. It is a very fast, distributed pub-sub messaging system which by design is highly scalable and durable (http://kafka.apache.org/ ). Apache Zookeepers ( http://zookeeper.apache.org/ ) are used for managing Kafka brokers. A Kafka brokers cluster can handle millions of messages. Hence along with...

What is Just In Time (JIT) Compilation ?

In this post, I am going to explain you about Just-In-Time Compiler. Many developers either have no clear understanding or have partial understanding of JIT. Some developers have misconception as well. I will try to explain the logic behind JIT and also try to clear the misconceptions regarding JIT.   WHY DOES JIT EXIST ?...

Comparing Distributed Caching Frameworks

Comparing distributed caching frameworks … Redis, Hazelcast and Memchached!! “Comparing Redis, Hazelcast and Memchached to build a session caching mechanism for our web application using a cache store” would be more precise here! Before putting Redis for use in our production environment finally, we did take a look at two other caching systems. viz. Hazelcast...

Session Caching with Redis

As there is growing need for supporting cross-cluster availability with zero downtime deployment of our application, the need to implement a session caching mechanism which helps us achieve this and other requirements (viz. support clustering without depending on weblogic session replication, better visibility into cache contents for better application performance and management) became evident. With...

Using Mongoose with Node JS

What is Node.js? Node.js is a platform built on Chrome’s V8 JavaScript run time for easily building fast, scalable network applications. It helps build high performance network applications that are optimized for a concurrent environment. Node uses  an event driven non-blocking IO which makes it lightweight hence very fast. It uses JavaScript’s callback functionality to...

Automated Load Testing with Gatling

Gatling is a load testing tool with excellent support for testing out all the HTTP calls in a application. With the latest release there is JMS support as well among many other things. Gatling scripts are written in Scala DSL. Test simulations will simply have to extend “Simulation”. The DSL is built as fluent API...

To Test Or Not To Test – TestNG VS. JUnit

If you are finding it difficult to decide which testing framework to use for your project, this post would help you make the right decision based on the features available in the two frameworks. I have also listed the most common pain points that developers face while writing test cases.   FEATURES Fixtures   Features...

Developing Spring MVC portlets using Liferay 6.2 CE edition

Liferay is an open source Java based portal server. It has built-in support for common portal features like user/organization management, site management, workflow based content management, document management and is extensible via plugins.  This blog will focus on developing Spring MVC portlet plugins using Eclipse/Liferay IDE and Maven. Spring MVC portlet has many advantages over...
ELK Stack - End to End Search and Analytics Platform

ELK Stack – End to End Search and Analytics Platform

Introduction ELK stands for Elasticsearch, Logstash and Kibana. It is complete suite of tools for reading, storing or indexing and analysing data in real time. People have been using HDFS, MapReduce, Pig etc. for data analytics in offline or batch mode. In those applications, data is sent to HDFS as soon as they come, but...

Frame Animation In Android

I remember my childhood days when I used to draw images of a man walking, on different pages of my book. I then used to flip across the pages which used to give me an illusion of a small video clip. It was my favorite passtime in those days. I am sure most of us...

Location AutoComplete and Bing Maps in WindowsPhone

Location autocomplete is a nice way of providing real-time location suggestions based on input text by the user. This little feature could be invaluable in a lot of applications. If you want just a location autocomplete textbox, with no map control in your app, I suggest you look at Google Places API. It is astoundingly...
Google Maps for iOS

Google Maps for iOS

Apple received a LOT of flak for their undercooked Maps app. Luckily for iPhone users, Google swooped in to assert some dominance in the Maps department with their lovely Google Maps app. They launched the SDK earlier this year after initially rolling it out  to developers on a request basis only. Here is a simple...