Skip to content Skip to sidebar Skip to footer
Showing posts with the label Tornado

Connect To Redis From Another Container In Docker

I have app, that used Tornado and tornado-redis. [image 'app' in docker images] I start red… Read more Connect To Redis From Another Container In Docker

Multiple Static Directories In Python Tornado

I have a directory structure setup like: root/ js/ css/ libs/ index.html From Tornado, I w… Read more Multiple Static Directories In Python Tornado

Tornado Custom Error Handler For Static File

How can I show custom 404 error page for static files? in my current application handler I have add… Read more Tornado Custom Error Handler For Static File

Don't Wait For An Async Function To Finish

I have a async tornado server that calls an async function. However, that function just does some b… Read more Don't Wait For An Async Function To Finish

What's The Tornado Ioloop, And Tornado's Workflow?

i want to know tornado's internal workflow, and have seen this article, it's great, but som… Read more What's The Tornado Ioloop, And Tornado's Workflow?

Tornado: Can I Run Code After Calling Self.finish() In An Asynchronous Requesthandler?

I'm using Tornado. I have a bunch of asynchronous request handlers. Most of them do their wor… Read more Tornado: Can I Run Code After Calling Self.finish() In An Asynchronous Requesthandler?

Python Demo Web Projects On A Tornado Server?

Are there any Python demo projects available I can learn from. I am basically looking into learning… Read more Python Demo Web Projects On A Tornado Server?

How To Use A Test Tornado Server Handler That Authenticates A User Via A Secure Cookie

How can I write a unit test for a tornado handler that authenticates a user via a secure cookie? He… Read more How To Use A Test Tornado Server Handler That Authenticates A User Via A Secure Cookie

How To Set React To Production Mode When Using Gulp

I need to run React in production mode, which presumably entails defining the following somewhere i… Read more How To Set React To Production Mode When Using Gulp

Is It Possible To Use Tornado's Gen.engine And Gen.task With Twisted?

The project I am working on is all written in Tornado, but I have included a bit of Twisted to deal… Read more Is It Possible To Use Tornado's Gen.engine And Gen.task With Twisted?

How To Pass Arguments From Tornado To A Js File But Not Html?

In the server I render a template with an argument, like this: self.render('templates/test.… Read more How To Pass Arguments From Tornado To A Js File But Not Html?

Python Tornado Send Websocket Messages From Another Thread

I want to use WebSockets in Python to keep web clients up to date about data that I am reading from… Read more Python Tornado Send Websocket Messages From Another Thread

Why Would A Timeout Avoid A Tornado Hang?

Waiting on a concurrent.futures.Future from a ThreadPoolExecutor in a Tornado coroutine sometimes h… Read more Why Would A Timeout Avoid A Tornado Hang?