mcandeia / deno-workflows Goto Github PK
View Code? Open in Web Editor NEWDurable workflows implemented on Edge.
License: Apache License 2.0
Durable workflows implemented on Edge.
License: Apache License 2.0
https://github.com/mcandeia/deno-workflows/blob/main/workers/worker.ts#L76
Should we use webworkers? Needs measuring performance.
The parent span should be persisted and reused across the same execution.
https://github.com/mcandeia/deno-workflows/blob/main/backends/search.ts
The database for searching executions and events is different from the transactional database. They differ not only in the data model but also in the required capabilities. The transactional database a.k.a WRITE database does not need to support any indexed search, unlike the search database which should support pagination and other complex queries.
The searchDB should be used on the API for querying events and executions
They should work exactly how Promise.all and Promise.race works but for commands.
const payloadOrVoid = yield ctx.race([ctx.sleep(10 *Second), ctx.waitForSignal("sms_response")]
This should be modeled as a single command that contains two commands in it. Similarly, a single event should contain execution of both commands.
E2E tests should include
Support inline run for workflows based on a trust-list configuration,
The inline support should be based on the workflow alias
which can be either, a well-known alias or a reference
to a workflow.
The inline alias should follow the following format: inline:${runtime}:${runtime_based_params}
e.g
For the deno runtime params it should be
inline:deno:${ts_file_url}
for the http it should be
inline:http:${http_func_url}
The modifications that needs to be done is all within the same file: https://github.com/mcandeia/deno-workflows/blob/main/registry/registries.ts#L141
A validation might be necessary based on a trust list of such runtime can be used inline with such parameters.
Use typescript SDK to parse workflows and execute them as a new runtime serverlessworkflow.ts
inside runtime folder.
How to create a autoscaling rule on any platform?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.