There are several pieces to our code. The majority of our program is written in Python and Javascript. The main machine-learning server is the following.
Flask for routing
Flask has served really nicely for fast prototyping. However there are known problems for using Flask as a production environment.
Tornado for production
To avoid Flask production problems, we use Tornado for a WSGI container. It works nicely, and is async so it can support lots of connections.
Sqlite3 for databases
For modularity we aim to have easily transferable databases. Sqlite3 is a strong candidate and works fine for the small scale applications. In the future we might move to MongoDB or MySQL.
comments powered by Disqus