January 2024 Summaries
2 posts from Restate
Filter
Month:
Year:
Post Summaries
Back to Blog
Restate introduces a robust framework for building distributed applications that maintain consistency and resilience against infrastructure faults by utilizing stateful services that interact seamlessly. Each service invocation is captured, logged, and ensured to run to completion, transitioning application states in a controlled manner. A notable enhancement in Restate 0.7 is the introduction of graceful cancellations, which allow ongoing service invocations to be interrupted and reversed through compensating actions, maintaining application state consistency. This feature is particularly useful in scenarios like travel booking applications, where users may need to cancel bookings mid-process, requiring the system to undo actions like flight reservations or payment processing. Restate's approach ensures that these compensations are executed reliably, preserving the system’s consistency even when errors occur. The system's design allows for handling cancellations and TerminalErrors uniformly, leveraging compensations to revert changes and maintain stability. However, in cases where invocations cannot be completed due to deployment issues or incompatible code updates, Restate can terminate invocations, leaving error handling and compensations to the calling services. The platform offers a CLI for managing cancellations and termination of invocations, encouraging users to explore its capabilities and join the community for further development.
Jan 24, 2024
1,068 words in the original blog post.
Restate 0.7 introduces a range of new features and enhancements, including the debut of the Restate CLI, which simplifies the management of services, invocations, and deployments with intuitive commands. The release also introduces one-click project bootstrapping with template projects for each SDK, and new installation options for MacOS and Linux, such as Homebrew and Docker. Notably, it includes a feature for canceling invocations that are no longer needed, ensuring system consistency through compensating actions. Additionally, the AWS Cloud Development Kit (CDK) support allows for seamless deployment of Restate service handlers on AWS Lambda, enhancing cloud infrastructure management. The update also focuses on performance improvements in storage and command processing, boosting Restate's overall throughput and durability. The team encourages users to provide feedback through Discord or Slack to continue enhancing the platform.
Jan 16, 2024
986 words in the original blog post.