Paul Hill
-
All Your API Are Belong to Us
Location:Abstract:
Recently a small team at KIXEYE was tasked with a ground-up rebuild of the KIXEYE platform API and web properties with high expectations (millions of active players), and short timelines (from concept to delivery of features in days). This is not a lesson about how to build the perfect hypermedia API. This is a story about going to battle with difficult deadlines and deliverables and winning the day.
We built a hypermedia API supporting thousands of requests per second, taking full advantage of the benefits of an asynchronous architecture (Node.js), bi-directional persistent communication channels (websockets), and the performance and flexibility of a document data store (MongoDB) while retaining standards based data validation (JSON-Schema v4), transactional control and error handling (Promises), dynamic documentation (Swagger), efficient caching (Memcached & Varnish), and ease of maintenance (Hypermedia ReST).
We'll discuss what technology survived contact with the enemy, and what didn't. Join me for a survival guide to building respectable APIs under fire.