• Auto tag my photos (beach, birthday) • Survive in a country 6 years without speaking the language (translate emails, docs by photo) • … 60% of airbnb customers use translate (listing, comments
• Speech API - https://cloud.google.com/speech/ • Natural language API - https://cloud.google.com/natural-language/ • Translate API • Video Intelligence API
have free tier https://cloud.google.com/free - Translate API, 1 billion character per month - Vision API, 1000 feature detection per month - Speech API, 1 hour per month • 300$ credit for 1 year (requires credit card) No, but ...
➔ Enable API to use ➔ Create API key or Service account depending of API to use ➔ Call API via HTTP or use python client Demo Translate API - https://console.cloud.google.com/home
Websocket can implement HTTP • Websocket less overhead • Websocket persistent, HTTP 1.1 stateless (HTTP 2 still early stage) • Server to client communication
time applications (online games, chats, financing, etc) Why limited to real time? • HTTP has plenty of tooling already there (caching, load balancing, etc.) • It is not so easy (state handling, faulty connections, scaling) → Pubsub as a service (eg. Pusher/PubNub)
Flask, bottle, Pyramid, etc.) DO not support websockets • Event loop frameworks (tornado, twisted, frameworks based on asyncio) • django-channels with ASGI