Code Monkey home page Code Monkey logo

iwf's Issues

Build a webUI for IWF server

What we can do more than Cadence Temporal web ui:
Two pages as mvp:
Page one: search for workflow , and click on to the workflow page

page two is workflow page :
1: show histories by workflow state execution
2: show internal info of commands and pending data
3. Allow reset by state and state execution id

Support long running task like Cadence Temporal long running activity

long running activities are super powerful in Cadence Temporal as it allow using local machine memory and disk for executing.

However, This will not be considered into V2 of IWF. Because today’s pushing to execute task’s won’t work for long running task. So this requires to implement the polling mechanisms to execute tasks.

Workaround 1 is to use workflow instead but which means you may have to upload the large amount of states into other storage like s3

workaround 2 is combining IWF and Cadence Temporal. Use IWF to start a Cadence Temporal workflow, which just executes a long running activity.

Potentially IWF v1 can just schedule a Cadence Temporal activity and let user to execute the activity by using Cadence SDKs. But this will leak the implementation details of Cadence Temporal to IWF users so it’s considered as a “Hack” and will not be a good idea.

allow query attribute to be private

a private query attribute cannot be queried, we may consider renaming query attribute to something else.

SharedAttribute

Or just Attribute

New command type for inter-state communications

Idea 1

  • any query / search attributes has changed to a certain value. Query attributes are not readable by server so we may only support watching whether or not a query attribute has changed
  • easy to implement but not friendly to use

Idea 2

  • workflow defines an internal data channel. Any state can listen to it, or wait for results
  • hard to design/implement but easy to understand/use)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.