Giter Site home page Giter Site logo

Comments (9)

kv-pradeep-zz avatar kv-pradeep-zz commented on May 31, 2024 1

I have recently started using CTK for a product in my organization and I came across this issue during the research. Having the ability in CTK to build custom extensions using python is a great plus. It would be even better if CTK provides ability to have custom extension of a different provider other than python, for example scala in my case. With growing products using CTK for their chaos engineering, I suppose this will soon be a requirement by most. Enabling the provider to run the scripts of different languages by a command that can specified inside the experiment would be fantastic. If the environment has the dependencies of that particular file (java, or scala, or c, etc) the script would run, else it would fail. Having the environment pre-requisites is the reponsibility of the engineers and not of the framework (CTK). Giving an option to run different files by your custom commands would be just fantastic.

from chaostoolkit-lib.

mlafeldt avatar mlafeldt commented on May 31, 2024

I recommend using a network RPC interface over brittle extensions. Both Go and Rust produce statically compiled binaries. See https://www.terraform.io/docs/internals/internal-plugins.html for some inspiration.

from chaostoolkit-lib.

Lawouach avatar Lawouach commented on May 31, 2024

Although I think a RPC provider would be neat, I'm not sure the network is more reliable than simply calling out an exported function ;)

With that said, it's an interesting approach. My main concern is that some extensions start becoming stateful and more complex than the current interface invites for.

from chaostoolkit-lib.

mlafeldt avatar mlafeldt commented on May 31, 2024

We're talking about local network requests only, of course.

Just take my comment as input, nothing more. I'm pretty indifferent to the outcome, TBH.

from chaostoolkit-lib.

Lawouach avatar Lawouach commented on May 31, 2024

I think an RPC provider is actually a good idea in general to be honest. That would make the API much more visible to the outside world.

from chaostoolkit-lib.

Lawouach avatar Lawouach commented on May 31, 2024

Hey @kv-pradeep great suggestion and thank you for updating the issue.

I wonder, would you be able to sketched what this could look like to you?

from chaostoolkit-lib.

Lawouach avatar Lawouach commented on May 31, 2024

As a reference, I wonder if wasm wouldn't be a nice intermediate way of extending the toolkit outside of Python

https://github.com/wasmerio/python-ext-wasm

from chaostoolkit-lib.

github-actions avatar github-actions commented on May 31, 2024

This Issue has not been active in 365 days. To re-activate this Issue, remove the Stale label or comment on it. If not re-activated, this Issue will be closed in 7 days.

from chaostoolkit-lib.

github-actions avatar github-actions commented on May 31, 2024

This Issue was closed because it was not reactivated after 7 days of being marked Stale.

from chaostoolkit-lib.

Related Issues (20)

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.