github restatedev/restate v1.4.0

latest releases: v1.4.4, v1.4.4-rc.2, v1.4.4-rc.1...
2 months ago

Restate v1.4.0

[NOTICE] Expect a short period of leader unavailability during rolling upgrades from v1.3.2 to v1.4.0 due to changes in cluster controller and gossip protocol. The availability is transient and the cluster will quickly fix all partition leaders once all cluster nodes have been upgraded.

Release Highlights

  • Restate clusters will automatically perform partition rebalancing across configured nodes. This delivers even space and compute utilization across the board.
  • A new gossip-based failure detector and partition leader placement sub-systems which deliver up to 10x faster detection of network partitions or node failures. Gossip is also used to disseminate partition leadership state for faster reaction to partition reconfigurations.
  • The Replicated Loglet is the default in v1.4. Existing loglets backed by the Local Loglet provider will be automatically migrated on first run. Replicated Loglet delivers better performance even for single-node deployments and is the recommended provider in all cases. The Local Loglet continues to be available and automatic migration will not be performed if it is explicitly configured as the default provider. Downgrading to Restate v1.3 is safe regardless of which loglet provider is used.
  • The previously deprecated local metadata backend for single-node deployments is removed in v1.4.0. The default is the replicated metadata server, nodes will perform automatic migration on start.
  • Restate server role http-ingress is enabled by default, new setups will automatically have this role turned on.
  • Query engine optimizations and fixes that improve responsiveness and system reliability under severe load and slow storage backends.
  • [experimental] A new feature-gated option to enable longer retention of journal and completed invocations. This feature is not compatible with v1.3.x and can be enabled with admin.experimental-feature-force-journal-retention = "30min" . Care should be taken when enabling this feature as it will increase the storage footprint and it might increase latency in some operations.
  • Default invoker concurrent invocation node defaults to 1000 instead of 100.
  • Zstd compression is promoted to default for the message fabric in restate clusters.
  • Partition Processors now track the locally-persisted LSN automatically. This is now reported by restatectl as Durable LSN (from Persisted LSN). The configuration properties worker.storage.persist-lsn-interval and worker.storage.persist-lsn-threshold are no longer required and will be ignored. If you previously used these to tune single-node log trimming, you can safely remove them.
  • admin.query-engine.pgsql-bind-address has been deprecated and its default value was set to None (#3088)
  • Various previously deprecated configuration properties have been removed (admin.log-trim-threshold , metadata-store-client.address)

Install

Pull the Docker images

docker pull docker.restate.dev/restatedev/restate:1.4.0
docker pull docker.restate.dev/restatedev/restate-cli:1.4.0

Install prebuilt binaries via Homebrew

brew install restatedev/tap/restate-server
brew install restatedev/tap/restate
brew install restatedev/tap/restatectl

Install prebuilt binaries into your npm project

npm install @restatedev/restate-server@1.4.0
npm install @restatedev/restate@1.4.0
npm install @restatedev/restatectl@1.4.0

Download binary archives

File Platform Checksum
restate-server-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
restate-server-x86_64-apple-darwin.tar.xz Intel macOS checksum
restate-server-aarch64-unknown-linux-musl.tar.xz ARM64 MUSL Linux checksum
restate-server-x86_64-unknown-linux-musl.tar.xz x64 MUSL Linux checksum
restate-cli-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
restate-cli-x86_64-apple-darwin.tar.xz Intel macOS checksum
restate-cli-aarch64-unknown-linux-musl.tar.xz ARM64 MUSL Linux checksum
restate-cli-x86_64-unknown-linux-musl.tar.xz x64 MUSL Linux checksum
restatectl-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
restatectl-x86_64-apple-darwin.tar.xz Intel macOS checksum
restatectl-aarch64-unknown-linux-musl.tar.xz ARM64 MUSL Linux checksum
restatectl-x86_64-unknown-linux-musl.tar.xz x64 MUSL Linux checksum

What's Changed

New Contributors

Full Changelog: v1.3.2...v1.4.0

Don't miss a new restate release

NewReleases is sending notifications on new releases.