TL;DR: This a solution we came up with until we are possibly able to run Wordpress entirely on a canister. WASP uses ICP canisters as a security and caching layer in front of WordPress backends. If a server dies, your sites automatically restore to a standby TEE server from blockchain backups within minutes.
What WASP Is (And What It Isn’t)
WASP is not about running PHP inside a canister. Instead, it’s a hybrid architecture where ICP canisters act as an intelligent edge layer that caches content, queues forms, and handles authentication, while WordPress runs on traditional TEE SERVER servers behind the scenes.
User → ICP Boundary Nodes → wp_site Canister (cache/auth/forms) → WordPress TEE SERVER
The Key Feature: Automatic Disaster Recovery
Server Dies? Sites Restore Automatically
When a TEE SERVER fails, WASP does not just failover traffic, it restores your entire WordPress site to a standby server automatically:
-
Continuous Backup to Blockchain: Your database and files sync to ICP canisters in real-time (every 30 seconds for transaction tables, chunked in 2MB pieces with delta detection)
-
Circuit Breaker Detection: The wp_site canister tracks backend health. After consecutive failures, it opens the circuit and returns a 503 while coordinating with the orchestrator
-
Automatic Restore on Boot: When a new/standby TEE server starts, the wasp-agent runs run_startup_check() which:
o Gets list of sites assigned to this TEE SERVER from the orchestrator
o Checks each site: Does the directory exist? Is wp-config.php present? Are database tables populated?
o If anything is missing, automatically restores from canister backup
- Sites Back Online in Minutes: Database tables restore first (parallel chunk downloads), then files. Docker containers start automatically. Validation confirms WordPress is functional.
The restore process includes retry logic with exponential backoff (3 attempts with 5s, 15s, 45s delays), and creates recovery markers if restoration fails so the next boot attempt will retry.
What Gets Backed Up
· Critical tables (synced frequently): wp_posts, wp_postmeta, wp_users, wp_options, wp_usermeta
· Transaction tables (synced every 30 seconds): WooCommerce orders, subscriptions, customers
· Files: WordPress core, plugins, themes, uploads (chunked and compressed)
· Configuration: wp-config.php settings, site metadata
All backups are encrypted before upload to the canister.
Other Features
Sub-Second Cached Page Delivery
The wp_site canister caches HTML pages and serves them directly from the Internet Computer. Cached pages return in approximately 200ms globally, compared to 2-5 seconds when making HTTP outcalls to the backend on every request.
Internet Identity Authentication (Passwordless Admin)
WordPress admin access uses Internet Identity. On production domains, II authentication is automatically enforced, meaning traditional username/password login is blocked.
All WordPress Edits Require Internet Identity
Content editing, plugin management, and all wp-admin actions require a valid Internet Identity session. This is enforced at the code level on production networks. Password-based admin login is completely disabled.
Form Queue Persistence
Contact form submissions are queued in the canister if the backend is temporarily unavailable. Forms persist on-chain with retry logic (up to 5 attempts) until successfully delivered. No lost leads during outages.
Tamperproof Cached Content
Pages served from the canister cache cannot be modified without going through ICP consensus. Even if the TEE SERVER backend is compromised, cached public content remains intact on the blockchain.
Who Is This For?
· Anyone who has lost a WordPress site to server failure and never wants that again
· E-commerce sites that cannot afford to lose orders during outages
· Content publishers wanting fast, globally-distributed delivery
· Security-conscious organizations requiring passwordless admin access
Current Status
Core features (auto-restore, continuous backup, caching, II auth, form queue, circuit breaker failover) are fully implemented.
Beta
We’re currently opening access to about ten to twenty testers, and we’ll gradually increase the pace. Please head to https://www.wasptech.cloud/waitlist and tell us why we should select you
We should start testing in the next couple of days.
You can also visit to https://www.wasptech.cloud for more info. (Running on WASP :D)




