Machine Learning and Scaling Web Apis
The JAX conference, in Mainz, Germany, is coming to an end. I was there with my colleagues Mete and Robert, and had the chance to cover two topics: Machine Learning and Scaling Web APIs. It’s a pleasure to come back to this conference where the audience is always very focused, eager to learn, and is engaging in great and interesting conversations.
Machine Intelligence at Google Scale
My first presentation was about Machine Learning, and in particular with the Google Cloud APIs, including Vision, Speech, Natural Language, Translate, and Video Intelligence. Although I’m not an expert in TensorFlow and the Cloud Machine Learning Engine, I got a chance to say a few words about these. I guess I’ll have to play with both at some point to be able to tell even more!
The biggest challenge of Deep Learning technology is the scalability. As long as using single GPU server, you have to wait for hours or days to get the result of your work. This doesn’t scale for production service, so you need a Distributed Training on the cloud eventually. Google has been building infrastructure for training the large scale neural network on the cloud for years, and now started to share the technology with external developers. In this session, we will introduce new pre-trained ML services such as Cloud Vision API and Speech API that works without any training. Also, we will look how TensorFlow and Cloud Machine Learning will accelerate custom model training for 10x – 40x with Google’s distributed training infrastructure.
Scale a Swagger-based Web API with Google Cloud Endpoints
My second session was about scaling web APIs, defined using the Open API specification, thanks to Kubernetes and Google Container Engine, for the scaling part of the story, and managing those APIs thanks to Google Cloud Endpoints.
Web APIs are more often specified with API definition languages like Swagger (now named OpenAPI Spec), as it can help you generate nice interactive documentation, server skeletons, and client SDKs, mocks, and more, making it simpler to get started both producing and consuming an API. In this session, Guillaume will demonstrate how to define a Web API with Swagger/OpenAPI Spec, and scale it using Cloud Endpoints, on the Google Cloud Platform.