-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Major rework of the examples. #109
Conversation
from 'script' folder.
Assumptions for reviewers to verify
|
529c554
to
2a042c3
Compare
I like the new layout a lot! Something missing that I think deserves its own top-level category is a "infrastructure and deployment automation" section to house things like Kubernetes and AWS/CDK recipes. Unlike the templates, we can go into more details and showcase available options there. I don't think we should use end-to-end applications to showcase the deployment aspects; they should be self-contained and easy to deploy/run, but we should be focused rather than comprehensive there. |
I think this can be closed as it was solved. |
Main changes
Browse the new layout here: https://github.com/StephanEwen/restate-examples/tree/major_rework?tab=readme-ov-file
Structure
The structure of the examples is as follows (copied from the README)
A collection of examples that illustrate how to use Restate to solve common application
challenges.
Basics: Small examples highlighting the basic building blocks, like
durable execution or virtual objects.
Use Cases and Patterns: Small specific use cases, like webhooks,
workflows, asynchronous task queuing.
End-to-End Applications: Runnable demo applications that consist
of many components, e.g., a fodo ordering app, or an e-commerce site.
Typically packaged as a docker compose setup.
Tutorials: A step-by-step guide that builds an application and introduces
the Restate concepts on the way.
Templates: Project templates for various languages and build systems.
Simple 'Hello World!' examples in a proper build setup that you can use if you want to start
a brand new project for a service or lambda that will be invoked through Restate.
Examples by Language
The majority of the examples currently exist as TypeScript versions, Java versions are catching up.
Here is a (incomplete) list of examples per language.
TypeScript
Java
Kotlin
Scala