Tornado is a scalable, non-blocking web server and web application framework written in Python.[2] It was developed for use by FriendFeed; the company was acquired by Facebook in 2009 and Tornado was open-sourced soon after.[3]
Tornado is noted for its high performance. Its design enables handling a large number of concurrent connections (i.e., tries to solve the "C10k problem").
Modules
- An asynchronous MongoDB driver called Motor.
- CouchDB drivers called corduroy and trombi.
- Asynchronous driver for PostgreSQL wrapping psycopg called Momoko
Example
The following code shows a simple web application that displays "Hello World!" when visited:[4]
import asyncio
import tornado.web
class MainHandler(tornado.web.RequestHandler):
def get(self):
self.write("Hello, world")
def make_app():
return tornado.web.Application([(r"/", MainHandler),])
async def main():
app = make_app()
app.listen(8888)
await asyncio.Event().wait()
if __name__ == "__main__":
asyncio.run(main())
See also
References
External links
|
---|
|
Most popular | |
---|
Other | |
---|
Discontinued | |
---|
|
---|
Products and services | Facebook | |
---|
Instagram |
- Hyperlapse
- IGTV
- List of most-followed accounts
- List of most-liked pictures
- Threads
|
---|
Hardware |
- Portal
- Meta Quest
- Ray-Ban Meta
|
---|
Other | |
---|
Former | |
---|
|
---|
People | Founders |
- Mark Zuckerberg (28% equity)
- Dustin Moskovitz (7%)
- Eduardo Saverin (5%, formerly)
- Chris Hughes (1%, formerly)
- Andrew McCollum
|
---|
Board | Current |
- Mark Zuckerberg
- Marc Andreessen
- John D. Arnold
- Patrick Collison
- John Elkann
- Drew Houston
- Nancy Killefer
- Robert M. Kimmitt
- Dina Powell
- Hock Tan
- Dana White
- Tony Xu
|
---|
Former |
- Sheryl Sandberg
- Peter Thiel
|
---|
|
---|
Executive officers | Current |
- Mark Zuckerberg (Chairman and CEO)
- Javier Olivan (COO)
- Andrew Bosworth (CTO)
- Chris Cox (CPO)
- Joel Kaplan (Chief Global Affairs Officer)
- Jennifer Newstead (Chief Legal Officer)
- Alexandr Wang (Chief AI Officer)
- David Wehner (Chief Strategy Officer)
|
---|
Former |
- Sean Parker (4%, formerly)
- Owen Van Natta
- Gideon Yu
- Adam D'Angelo
- Nick Clegg
- Chris Kelly
- Bret Taylor
- Sheryl Sandberg
- Mike Schroepfer
- David Ebersman
- Marne Levine
- Alex Stamos
|
---|
|
---|
Oversight Board | Members |
- Catalina Botero Marino, Co-Chair (2020–)
- Jamal Greene, Co-Chair (2020–)
- Michael W. McConnell, Co-Chair (2020–)
- Helle Thorning-Schmidt, Co-Chair (2020–)
- Afia Asantewaa Asare-Kyei (2020–)
- Evelyn Aswad (2020–)
- Endy Bayuni (2020–)
- Katherine Chen (2020–)
- Nighat Dad (2020–)
- Tawakkol Karman (2020–)
- Maina Kiai (2020–)
- Sudhir Krishnaswamy (2020–)
- Ronaldo Lemos (2020–)
- Julie Owono (2020–)
- Emi Palmor (2020–)
- Alan Rusbridger (2020–)
- András Sajó (2020–)
- John Samples (2020–)
- Nicolas Suzor (2020–)
- Suzanne Nossel (2021–)
- Khaled Mansour (2022–)
- Pamela San Martin (2022–)
- Paolo Carozza (2022–)
- Kenji Yoshino (2023–)
|
---|
Board of Trustees |
- Stephen Neal, Chair (2021–)
- Kristina Arriaga (2020–)
- Cherine Chalaby (2020–)
- Wanda Felton (2020–)
- Kate O'Regan (2020–)
- Robert Post (2020–)
|
---|
Former members |
- Pamela S. Karlan (Board Member, 2020–2021)
- Paul G. Haaga Jr. (Board of Trustees Chair, 2020–2021)
|
---|
|
---|
Notable employees | Current |
- Lars Rasmussen (Graph Search director)
- Naomi Gleit (VP of social good)
- Nicola Mendelsohn (head of Global Business Group)
- Adam Mosseri (head of Instagram)
- Thomas Reardon (Reality Labs director)
|
---|
Former |
- Blake Ross (Director of Product)
- Ted Ullyot (VP, General Counsel, and Secretary)
- Hugo Barra (VP of Reality Labs)
- John Carmack (CTO of Reality Labs)
- Matt Cohler
- Charlie Cheever
- Randi Zuckerberg
- Yishan Wong
- George Hotz
- Joe Lockhart
- Andrei Alexandrescu (research scientist)
- Chamath Palihapitiya (VP of User Growth)
- Elliot Schrage (VP of Global Communications, Marketing and Public Policy)
- Frances Haugen (Product Manager of Civic Integrity Team)
|
---|
|
---|
|
---|
Open source | |
---|
Mass media |
- The Facebook Effect
- The Accidental Billionaires
- The Social Network
- The Great Hack
- Careless People
|
---|
Concepts | |
---|
Business | |
---|
Lists |
- Most-followed Facebook pages
|
---|
Related |
- Priscilla Chan (wife of Mark Zuckerberg)
- Chan Zuckerberg Initiative
- Aquila Internet relay drone
- Willow Village
- WaveGroup Sound
- 2021 Facebook outage
|
---|