User-defined Playground

Restate Playground

Durable execution runtime for services, workflows, and agents.

Startup configuration
restate
Restate playground: Durable execution runtime for services, workflows, and agents.

📖 Overview

Restate is a durable execution runtime for services, workflows, and agents.

This playground gives you a single Restate Server running as a systemd service. It is intentionally Restate-only: no application service is deployed for you.

🔧 System Components

ComponentPortPurpose
Restate ingress8080Invoke registered services
Restate Admin API and UI9070Manage deployments, inspect services, query state
Restate fabric5122Node control and metrics endpoint

🛠️ Tools

  • restate: Restate CLI for service and deployment management.
  • restatectl: Restate control CLI for node and cluster inspection.

🎯 Getting Started

Restate starts automatically. Begin by checking the service:

systemctl is-active restate

Check the Admin API:

curl -sf http://localhost:9070/health && echo OK

Inspect the Restate node:

restatectl status

Check the empty Restate state:

restate services list

Open the UI

Open the ui tab in the playground. It connects to Restate's Admin/UI endpoint on localhost:9070.

🔎 Inspect and Customize

ItemPath or command
Restate config/etc/restate/restate.toml
Restate data directory/var/lib/restate
systemd unit/etc/systemd/system/restate.service
Restate logsjournalctl -u restate -f

Useful inspection commands:

sudo journalctl -u restate -n 100 --no-pager
cat /etc/restate/restate.toml
cat /etc/systemd/system/restate.service

After changing the Restate config, restart the service:

sudo systemctl restart restate

🧯 Troubleshooting

SymptomLikely causeCheckFixDocs
systemctl is-active restate is not activeRestate failed to start or restarted after a config error.journalctl -u restate -n 100 --no-pagerFix /etc/restate/restate.toml, then run sudo systemctl restart restate.Server configuration
curl -sf http://localhost:9070/health failsAdmin API is not listening yet or Restate is down.`ss -ltnpgrep 9070`Wait a few seconds, then check the Restate logs for startup errors.
restate services list shows no servicesNo application service has been deployed or registered.restate services listDeploy and register your own Restate service.List services
Data disappears after manual cleanup/var/lib/restate was removed or reset.sudo ls -la /var/lib/restateRestart Restate and re-register your services.Self-hosted Restate

📚 Learn More

🧪 Playgrounds

  • Restate Cluster: a three-node Restate cluster for inspecting distributed behavior

Happy learning! 🚀

Start
Settings