# Polling

*noun*

say it: **“POH-ling”** **/ˈpoʊlɪŋ/**

Checking again and again, at a steady pace, whether something is ready, instead of waiting to be told.

## What is **polling**?

**Polling** is asking "is it ready yet?" over and over at a steady pace, like checking the oven every minute. A script polls a server it has started, once a second, and carries on as soon as it answers, instead of guessing how long to wait. A time limit keeps it from asking forever.

```bash
until curl -s -o /dev/null http://localhost:8000/; do
  echo "Waiting for the server..."
  sleep 1
done
```

## In a sentence

- “The until loop is **polling**: it asks the server once a second.”
- “**Polling** waited exactly as long as the server took, about four seconds.”

Level: Journeyman · [More Operating System terms at this level](https://www.ask-codey.com/glossary?category=operating-system&level=3)

Updated: November 10, 2026

Source: https://www.ask-codey.com/glossary/polling
