FIFO Queue Demo

Interactive demonstration of First-In-First-Out queue operations using Cloudflare Durable Objects.

WebSocket:disconnected

Queue Size

0

Front Item

Empty

Last Operation

None

Enqueue (Add Item)

How It Works

  • Enqueue: Adds an item to the back of the queue
  • Dequeue: Removes and returns the item from the front of the queue
  • Peek: Shows the front item without removing it
  • Size: Returns the number of items in the queue
  • Clear: Removes all items from the queue
  • Real-time updates: WebSocket connection shows live queue changes from other users