Skip to content

Instantly share code, notes, and snippets.

View pigletfly's full-sized avatar
🎯
Focusing

Bing Wang pigletfly

🎯
Focusing
  • Hangzhou
  • 16:09 (UTC +08:00)
View GitHub Profile
@pigletfly
pigletfly / README.md
Created July 5, 2017 10:31 — forked from lbolla/README.md
Asynchronous programming in Tornado

Asynchronous programming with Tornado

Asynchronous programming can be tricky for beginners, therefore I think it's useful to iron some basic concepts to avoid common pitfalls.

For an explanation about generic asynchronous programming, I recommend you one of the [many][2] [resources][3] [online][4].

I will focus on solely on asynchronous programming in [Tornado][1]. From Tornado's homepage:

Effective Engineer - Notes

What's an Effective Engineer?

  • They are the people who get things done. Effective Engineers produce results.

Adopt the Right Mindsets

@pigletfly
pigletfly / main.go
Created January 8, 2018 01:36 — forked from enricofoltran/main.go
A simple golang web server with basic logging, tracing, health check, graceful shutdown and zero dependencies
package main
import (
"context"
"flag"
"fmt"
"log"
"net/http"
"os"
"os/signal"