MediaMath Developer Blog Authors

A Picture of Victor Chan
VICTOR CHAN Software Engineer

Victor Siu-Leung Chan (@joyfulv) is a Software Engineer on the Creative Tribe at MediaMath. He is a Scala enthusiast with years of experience on microservice architecture. Before joining MediaMath, he worked on the CMS team at The New York Times and as a consultant in top-tier investment banks, building high performance trade capture systems. He has an MS in Computer Science from New York University.

A Picture of Victor Chan
VICTOR CHAN Software Engineer

Victor Siu-Leung Chan (@joyfulv) is a Software Engineer on the Creative Tribe at MediaMath. He is a Scala enthusiast with years of experience on microservice architecture. Before joining MediaMath, he worked on the CMS team at The New York Times and as a consultant in top-tier investment banks, building high performance trade capture systems. He has an MS in Computer Science from New York University.

articles by this author:

How to write better multi-threaded code using Akka, Futures, and For-Comprehension

Here at MediaMath, we use Scala to help our API engine handle thousands of concurrent requests per second. We chose Scala because it is designed for use in concurrent, asynchronous, and distributed environments. After all, according to Amdahl’s Law, which states that the more parallel code you have, the more you can benefit from using a modern multi-core processor. But building a high performance system in Scala is always an interesting task. Parallel and concurrent code is historically difficult to write and prone to errors. In this post, I want to share some techniques I’ve learned that will hopefully help […]