I built Infillion's ad SDKs and a bidder that handled 100,000 requests a second.
I joined Infillion, a mobile advertising company, as its first employee. I built and managed product development of our mobile ad SDKs, then a real-time bidder, the data pipelines behind it, and the dashboards on top, and grew engineering from 1 to 20+.
Bidding on thousands of apps with nothing to install.
Our SDK was in about ten publishers' apps. Every new publisher meant a negotiation to get our code in, and every update meant asking them to ship a new version. When OpenRTB arrived, most people saw it as a channel for leftover inventory. I saw that through the exchanges we could bid across thousands of apps without installing anything.
I learned the spec and built the Java bidder prototype myself. It was in production in under a month. Then I hired three Java developers to scale it, connected to exchanges through one partner instead of integrating each one, and it grew to about 100,000 bid requests a second.
- Machine learning for bidding: models predicted the chance of a click, a win and a conversion, and those set what an impression was worth.
- Location targeting and store visits: ads targeted by place, and visits to stores measured after exposure.
- Audience segments built from our data and synced to our own bidder and to partner platforms such as AppNexus and DV360.
- Knowing when to stop: a couple of years later I was part of the decision to retire it, once established bidders had more features and exchange access, and to put our engineering into data products instead.
An ad should never be able to crash the app.
I built and maintained our ad SDKs for Android, iOS, Unity and web. Early on, a new SDK version crashed our biggest publisher's hit game every time we served an ad. I reproduced and fixed it, then called them and told them it was our bug and that they'd need to ship an app update.
The fix that mattered was the design. I rebuilt the SDK so each ad ran in its own sandbox: if an ad failed, the game kept running. And ad changes no longer needed an app release. That made room for richer formats like forms, video and ads styled to match the app.
- adkit: a library over MRAID and standard JavaScript, so ad developers didn't have to know every app's quirks.
- A/B tests on ad formats and creative.
Score 48,210
Your nearest store is 0.4 mi away
Get directions
Letting a Ruby team build big-data jobs.
The Java engineers were fully committed to the bidder, but we also needed a pipeline to build audience segments from our data. We had a strong Ruby team. So I designed a Scala reference application written the way our Ruby apps were: the same collection methods, models and service objects, test-driven development and dependency injection. Spark ran the same familiar operations across a cluster, and developers tested locally on sample data, then deployed the identical code. Big-data jobs were built like any other service, with the same style and workflow.
The style, in Scala (illustrative, not the original code)
class SegmentBuilder(events: EventSource) { // injected: sample data locally, Spark in production def visitorsNear(store: Store, days: Int) = events.since(days) .filter(e => e.distanceTo(store) < 0.5) .map(_.deviceId) .distinct() }
I also moved our infrastructure from on-premise servers to AWS.
Want to talk about it?
I'm based in Los Angeles and open to product and engineering roles.
therevoltingx@gmail.com