Feel free to reach out to me at bhalla.kunal@gmail.com: I must warn you that I'm remarkably bad at replying to email.


The latest incarnation of this site was rendered using org-mode’s project publishing support.

You should check out the rendering configuration here — it’s interesting enough to write a note about at some point. You’ll also be interested in the source links in the footers throughout the site.


I'm a Software Engineer at Facebook New York working on developer tools for data and ML engineers. You can find me around the internet on Facebook, Instagram and Twitter. 1

October 2019 - present: Developer Infrastructure

I'm now working on infrastructure that powers tools for AI and Data developers at Facebook; moving back to server side development after a 5 year stint on Android.

I spend my days playing with python and working with – and stretching the limits of – python notebooks.

July 2016 - October 2019: Android Battery

Going back into systems, I worked on instrumenting and understanding Facebook's battery consumption and setting up systems to keep battery consumption within reasonable limits. We worked on getting these systems set up across Facebook's family of Android apps.

We've talked publicly about this work – at Droidcon SF and Mobile@Scale, and also open sourced the core library for instrumentation: Battery Metrics.

I also spent a significant amount of time working on underlying infrastructure in Facebook for Android to make it consume less resources without affecting behavior.

July 2015 - July 2016: Android Checkins

I was curious about what user-facing product work was like after spending almost 4 years working on very different layers of infrastructure.

We worked on testing out new types of stories for checkins, where I was leading the Android engineering team.

July 2014 - July 2015: Android Maps

After working on mobile stack traces without actually understanding how mobile development worked, I was very curious about how Android worked and learned Android at Facebook.

I had a chance to work on a tiny maps client that allowed scrolling, panning, interacting with maps, drawing geodesics, etc.

I have 2 patents from this work: fast caching/ rendering as well as rendering multiple sources.

2013 - July 2014: Mobile Reliability

This was around Facebook's transition to mobile: we have tools that aggregate stack traces to allow actually understanding what's broken and how badly it's broken.

I worked on converting the tool to work properly for mobile: new ways to categorize traces as well as setting up the infrastructure to scale with new error sources.

2012 - 2013: Web Reliability

I worked on tools that measured how many errors Facebook's web-endpoints were having. A lot of visualization, PHP, Javascript and a smattering of C++.

I'm most proud of a pipeline rewrite that allowed us to get information about the status of www.facebook.com in 30 seconds instead of the earlier 15 minutes.


In a past life I studied Civil Engineering at IIT Delhi from 2007 — 2011, with a minor degree in Computer Science.

I also interned at Yahoo Bangalore, Peri, Foodiebay (now known as Zomato) and some other startups; apart from taking part in Google Summer of Code 2010.


The opinions expressed on this site are mine and do not necessarily represent those of my employer. You won't find any confidential company information here, and while you're welcome to get in touch with me, I'm afraid I can't put you in contact with my employer.


and even Linked-In, and Quora.

view source