# App Engine Flex Language Shootout

DevFeed: [App Engine Flex Language Shootout](<https://devfeed.tech/articles/app-engine-flex-language-shootout-27376.md>)

Original publisher: [Read original article](<http://engineering.khanacademy.org/posts/flex-language-shootout.htm>)

Author: Khan Academy

Published: 2017-04-17T22:00:00Z

Content type: article

Language: en

Sources: [Khan Academy](<https://devfeed.tech/sources/khan-academy.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [Erlang](<https://devfeed.tech/topics/erlang.md>), [Test automation](<https://devfeed.tech/topics/test-automation.md>)

Tags: [about](<https://devfeed.tech/tags/about.md>), [algorithm](<https://devfeed.tech/tags/algorithm.md>), [all](<https://devfeed.tech/tags/all.md>), [all-in](<https://devfeed.tech/tags/all-in.md>), [also](<https://devfeed.tech/tags/also.md>), [alternatives](<https://devfeed.tech/tags/alternatives.md>), [am](<https://devfeed.tech/tags/am.md>), [apis](<https://devfeed.tech/tags/apis.md>), [app](<https://devfeed.tech/tags/app.md>), [argument](<https://devfeed.tech/tags/argument.md>), [away](<https://devfeed.tech/tags/away.md>), [backend](<https://devfeed.tech/tags/backend.md>), [engine](<https://devfeed.tech/tags/engine.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [flex](<https://devfeed.tech/tags/flex.md>), [i](<https://devfeed.tech/tags/i.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [language](<https://devfeed.tech/tags/language.md>), [news](<https://devfeed.tech/tags/news.md>), [silicon](<https://devfeed.tech/tags/silicon.md>), [silicon-valley](<https://devfeed.tech/tags/silicon-valley.md>), [this](<https://devfeed.tech/tags/this.md>), [time](<https://devfeed.tech/tags/time.md>)

## AI overview

The hackathon project compared microservices in Elixir, Go, Kotlin, Python, and Crystal on App Engine Flex. Each was meant to validate a signed Pub/Sub message, parse it, and write exercise data to BigQuery through a web server. The benchmark was explicitly rough and incomplete: message validation was not implemented across all services, and the team measured how far services fell behind a Pub/Sub firehose and how quickly they cleared the backlog. Crystal could not be benchmarked because of unresolved SSL errors. Elixir nearly kept pace with Kotlin, but the results did not make a strong case for leaving Python. The author says Google Cloud Platform library quality may matter more than speed for this workload, and suggests that pull-based consumption could allow batched BigQuery inserts, making algorithm choice a possible performance gain. The work provided practical App Engine Flex experience and suggested microservices can work for a simple task bounded by external APIs, but did not settle Khan Academy's language strategy.

## Source excerpt

By Amos Latteier This is the second time I've been to Silicon Valley. Some years ago - never ... Read more