by radarsat1 · 6y ago · 0 comments
I wrote a machine learning "deployment" microservice using Django, and wrote a client for it in Flask, with the front-end doing some nice d3 graphs of the output in JavaScript. Works great, although in the end I thought Flask maybe would have been a better choice for the service, and Django for the client! Not sure. Both running in Docker on separate machines, one a dedicated host, the other on Heroku. Frankly the whole thing was a pretty pleasant experience and only took me a week so I felt gratified that I made the attempt and now have something to point to when people ask if I can program in Python. (I won't post the link unfortunately as there is no way my server can handle the HN load; it's just for my own personal demonstrations while I'm working on getting hired, anyway. In the future I might move the model execution to tensorflow.js and then the whole thing could be an almost static site running on Heroku with some client-side processing handling the heavy stuff, but no time for that now.)
Do you have a demo link? Would love to check it out!