inngest-cli 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@ Inngest makes it simple for you to write delayed or background jobs by triggerin
|
|
|
29
29
|
- You send events from your application via our SDK (or with a Webhook)
|
|
30
30
|
- Inngest runs your serverless functions that are configured to be triggered by those events, either immediately, or delayed.
|
|
31
31
|
|
|
32
|
-
Inngest abstracts the complex parts of building a robust, reliable, and scalable architecture away from you so you can focus on writing amazing code and building applications for your users.
|
|
32
|
+
Inngest abstracts the complex parts of building a robust, reliable, and scalable architecture away from you, so you can focus on writing amazing code and building applications for your users.
|
|
33
33
|
|
|
34
34
|
We created Inngest to bring the benefits of event-driven systems to all developers, without having to write any code themselves. We believe that:
|
|
35
35
|
|
|
@@ -89,7 +89,7 @@ That's it - your function is set up!
|
|
|
89
89
|
|
|
90
90
|
## Project Architecture
|
|
91
91
|
|
|
92
|
-
Fundamentally, there are two core pieces to Inngest: _events_ and _functions_. Functions have several
|
|
92
|
+
Fundamentally, there are two core pieces to Inngest: _events_ and _functions_. Functions have several subcomponents for managing complex functionality (eg. steps, edges, triggers), but high level an event triggers a function, much like you schedule a job via an RPC call to a queue. Except, in Inngest, **functions are declarative**. They specify which events they react to, their schedules and delays, and the steps in their sequence.
|
|
93
93
|
|
|
94
94
|
<br />
|
|
95
95
|
|
|
@@ -97,20 +97,20 @@ Fundamentally, there are two core pieces to Inngest: _events_ and _functions_. F
|
|
|
97
97
|
<img src=".github/assets/architecture-0.5.0.png" alt="Open Source Architecture" width="660" />
|
|
98
98
|
</p>
|
|
99
99
|
|
|
100
|
-
Inngest
|
|
100
|
+
Inngest’s architecture is made up of 6 core components:
|
|
101
101
|
|
|
102
102
|
- **Event API** receives events from clients through a simple POST request, pushing them to the **message queue**.
|
|
103
103
|
- **Event Stream** acts as a buffer between the **API** and the **Runner**, buffering incoming messages to ensure QoS before passing messages to be executed.<br />
|
|
104
104
|
- A **Runner** coordinates the execution of functions and a specific run’s **State**. When a new function execution is required, this schedules running the function’s steps from the trigger via the **executor.** Upon each step’s completion, this schedules execution of subsequent steps via iterating through the function’s **Edges.**
|
|
105
105
|
- **Executor** manages executing the individual steps of a function, via _drivers_ for each step’s runtime. It loads the specific code to execute via the **DataStore.** It also interfaces over the **State** store to save action data as each finishes or fails.
|
|
106
|
-
- **Drivers** run the specific action code for a step,
|
|
106
|
+
- **Drivers** run the specific action code for a step, e.g. within Docker or WASM. This allows us to support a variety of runtimes.
|
|
107
107
|
- **State** stores data about events and given function runs, including the outputs and errors of individual actions, and what’s enqueued for the future.
|
|
108
108
|
- **DataStore** stores persisted system data including Functions and Actions version metadata.
|
|
109
|
-
- **Core API** is the main interface for writing to the DataStore. The CLI uses this to deploy new
|
|
109
|
+
- **Core API** is the main interface for writing to the DataStore. The CLI uses this to deploy new functions and manage other key resources.
|
|
110
110
|
|
|
111
111
|
And, in this CLI:
|
|
112
112
|
|
|
113
|
-
- The **DevServer** combines all
|
|
113
|
+
- The **DevServer** combines all the components and basic drivers for each into a single system which loads all functions on disk, handles incoming events via the API and executes functions, all returning a readable output to the developer. (_Note - the DevServer does not run a Core API as functions are loaded directly from disk_)
|
|
114
114
|
|
|
115
115
|
For specific information on how the DevServer works and how it compares to production [read this doc](/docs/DEVSERVER_ARCHITECTURE.md).
|
|
116
116
|
|
|
@@ -119,7 +119,7 @@ For specific information on how the DevServer works and how it compares to produ
|
|
|
119
119
|
## Community
|
|
120
120
|
|
|
121
121
|
- [**Join our online community for support, to give us feedback, or chat with us**](https://www.inngest.com/discord).
|
|
122
|
-
- [Post a question or idea to our
|
|
122
|
+
- [Post a question or idea to our GitHub discussion board](https://github.com/orgs/inngest/discussions)
|
|
123
123
|
- [Read the documentation](https://www.inngest.com/docs?ref=github-inngest-readme)
|
|
124
124
|
- [Explore our public roadmap](https://github.com/orgs/inngest/projects/1/)
|
|
125
125
|
- [Follow us on Twitter](https://twitter.com/inngest)
|
|
@@ -127,4 +127,9 @@ For specific information on how the DevServer works and how it compares to produ
|
|
|
127
127
|
|
|
128
128
|
## Contributing
|
|
129
129
|
|
|
130
|
-
We’re excited to embrace the community! We’re happy for any and all contributions, whether they’re
|
|
130
|
+
We’re excited to embrace the community! We’re happy for any and all contributions, whether they’re
|
|
131
|
+
feature requests, ideas, bug reports, or PRs. While we’re open source, we don’t have expectations
|
|
132
|
+
that people do our work for us — so any contributions are indeed very much appreciated. Feel free to
|
|
133
|
+
hack on anything and submit a PR.
|
|
134
|
+
|
|
135
|
+
Check out our [contributing guide](/docs/CONTRIBUTING.md) to get started.
|