CookTwo logo CookTwo
Infrastructure

Changes sync in under
100 milliseconds.

CookTwo's real-time sync runs on Cloudflare Durable Objects at the edge. Every grocery item, pantry update, and meal plan change syncs near-instantly — even on slow connections.

The live app

One shared kitchen, always in step. When Alex checks off milk at the store, it vanishes from Jordan's screen before they've walked down the aisle — powered by a per-couple Durable Object.

CookTwo live shopping list sync

Architecture

Phone A

Partner 1

WebSocket

Durable Object

Cloudflare Edge

WebSocket

Phone B

Partner 2

Persistent connection <100ms latency Auto-reconnect

What Syncs

Every shared data point stays in perfect sync between both partners.

Grocery Items

Add, check, remove — instant sync

Pantry Updates

New items and changes propagate live

Saved Recipes

Saved meals sync across both devices

Partner Profiles

Goals, preferences, and settings stay aligned

Offline Queue

Dead zones in the grocery store? Elevator with no signal? No problem. CookTwo queues all changes locally and syncs them the moment you reconnect.

localStorage Queue

Changes are persisted to localStorage immediately. Even if the app closes, nothing is lost.

Auto-Drain on Reconnect

When the connection is restored, the queue drains automatically — FIFO, no duplicates, no conflicts.

Conflict Resolution

Last-write-wins with server reconciliation. If both partners edit the same item, the server merges intelligently.

Progressive Web App

Install CookTwo directly from the browser. No App Store review, no 30% cut, no update delays. Works like a native app.

No App Store Needed

Install directly from Chrome, Safari, or Edge. Full-screen experience with home screen icon.

Works Like Native

Push notifications, offline support, smooth animations, and fast load times — indistinguishable from a native app.

Instant Updates

No waiting for App Store review. New features and fixes go live immediately — you always have the latest version.

Global Edge Deployment

Cloudflare's network spans 300+ cities worldwide. Your data is always close.

300+

Edge Cities

<50ms

Avg Latency

99.9%

Uptime

0

Cold Starts

Durable Objects = Stateful WebSocket

Unlike serverless functions that spin down between requests, Durable Objects maintain a persistent in-memory state and an open WebSocket connection. That's how CookTwo achieves sub-100ms sync — the connection is always alive, always ready.

Built on a Solid Foundation

Real-time sync powers every CookTwo feature. See how it enables the full experience.

Made with ❤️ by BYTEDIGITAL
Digital solutions for local businesses.
Got a question? Ask me anything

CookTwo

Ask me anything about cooking for two

Hello! 👋 I'm the CookTwo assistant. I can help with adaptive cooking, pricing, supported diets, how the app works — anything about cooking for two. What would you like to know?