Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 03 · From Scratch · HTTP Server · with code: Go · about 21 min to read

Play it as a journeyTutor comes with a plan

HTTP Server: Concurrency

Concurrency
Concurrency · Open board

The board behind this lesson. Follows HTTP Keep-Alive, and hands off to HTTP 07: Chunked Encoding.

Before you start. This series builds a small copy of a web server, the program that answers when a browser asks for a page. Think of a connection as a phone line held open between the server and one visitor’s browser. So far the server can pick up that line, hear what the visitor asks for, and answer. It can also keep the line open for a second question instead of hanging up after every reply. The catch: it serves one visitor at a time. It finishes with one line completely, then picks up the next, and everyone else waits.

Lesson 19 of 117 in From Scratch

The rest of this lesson is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • 1998: Slashdot links to your page, and ten thousand people show up at once
  • One clerk was already too slow, so hire more
  • The shop with no bouncer
  • The bouncer at the door
  • Turning customers away is not a failure
  • The clock on every till

Terms it explains: A fixed pool, before.

Review From Scratch