Development

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...

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...

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...

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...

Twitter integration with Android app using OAuth

The idea behind this post is to illustrate how to integrate Twitter with an Android app. I have also included a demo where OAuth is used to authenticate the user and send tweets from the Android app. OAuth is open standard used to authenticate and share user resources and information of a site to a...