
#146: Building Alexa Skills with Python and Flask
Talk Python To Me
00:00
The Streaming Problem in a Streamed Skill
i had a found flask ask when i first started doing skill development, and i used it as the basis for the the streaming skill for vermont public radio. And everything was working great, and we went and pushed out kind of a testable version into horoku. We found that every once in a while the stream would just sort of get interrupted or stop. After some debugging, i found out that with a running gunicorn, i never know how to pronounce it, gunicorn,. They had multiple sort of workers, and one worker would retreat or respond to a request from amazon, and then the other one would and they didn't have any sort of shared state. So
Transcript
Play full episode