Profile cover photo
Profile photo
Anurag Kapur
About
Posts

Post has attachment
Heroku for Highly Available Dropwizard Apps
Introduction This post documents how we are using Heroku for HA dropwizard based java applications at my workplace. It is worth noting, that while I have used Heroku in side projects and hacks, this is my first experience in using it for a business critical...
Add a comment...

Post has attachment
Automated Test Types
Introduction Automated Tests are everywhere and gone are the days when they were optional. All technical projects we work on these days, have large automated tests suites. Working across several projects and a couple of organisations, a trend I have observe...
Add a comment...

Post has attachment
Add a comment...

Post has attachment
Add a comment...

Post has attachment
Prevent your Heroku App from "Sleeping"
By default, if your Heroku app uses a single dyno (which comes for free), it sleeps after 1 hour of inactivity [1]. This results in the first request on a sleeping app to have a high response time. To prevent this from happening, I use a simple hack. I have...
Add a comment...

Post has attachment
Potential Jetty Concurrency Bug seen in Dropwizard v0.6.2 Application
After spending a good 4 days looking into what seemed like a concurrency related bug in one of our dropwizard based applications, I thought I should definitely log what I did and what I found. TL;DR A simple HttpServletRequest object, injected into a dropwi...
Add a comment...

Post has attachment
Error: java.lang.VerifyError when using JDK 7 update 65
Today I noticed tests for an existing project that had been working as expected, stopped working on my development machine. The error trace was something like below: java.lang.VerifyError: Bad <init> method call from inside of a branch Exception Details:   ...
Add a comment...

Post has attachment
Beta and A/B Testing using a PaaS Provider
I have been playing with two popular PaaS options in random hacks - Google App Engine Heroku Apart from all the benefits (and pain!) that come with using PaaS which I do not intend to discuss in this post, I was specifically excited about the ease with whic...
Add a comment...

Post has attachment
An Introduction to Semantic Data
We recently looked at a few options pertaining to Content Stores for our publishing platform at the media and publishing company I presently work for. While there were some popular options in the developer community, it was decided that we will experiment w...
Add a comment...

Post has attachment
I won candy on the #googlebirthday doodle! Score: 166
Add a comment...
Wait while more posts are being loaded