Git Product home page Git Product logo

Comments (4)

vertexclique avatar vertexclique commented on May 17, 2024 4

One more thing I just realized, we create one more type in lightproc level. Currenlty RecoverableHandle and ProcHandle is existing. Like the name says RecoverableHandle is recovering from panics. We can have a MonitorHandle that will hand out a channel receiver inside the handle to talk through. Needs exploration, that will be a nice idea to do plenty of recovery scenarios. (For both bi- and uni- directional cases.)

https://docs.rs/lightproc/0.3.3/lightproc/recoverable_handle/struct.RecoverableHandle.html

from bastion.

vertexclique avatar vertexclique commented on May 17, 2024 1

Link concept in Erlang:

Monitor concept in Erlang:

This issue partially relates to (from most to least):
#116 #118 #119

from bastion.

vertexclique avatar vertexclique commented on May 17, 2024 1

State API recently entered in #149 . @onsails is working on the mailbox preservation across restarts. That will enable link implementation for individual level. After that we can have link method to watch supervision of selected items.

For monitor we need a little bit more upwork, monitor means one more backchannel from the spawned child to spawner so receiving endpoint (which is spawner) will see the crash scenarios. Might come handy if we have a drop on closures when closure is dropped in poller (msg! is our message poller). we notify the monitor (if monitor exist if not, no need to notify anyone).

from bastion.

Relrin avatar Relrin commented on May 17, 2024

This could be such a nice feature for bastion!

Does bastion have any support for tracking states of each declared supervisor or an actor (useful methods, fields in structs)? Especially the most required thing to have here is to have a method for getting a formatted state (minimal as much as possible) for any instance.

from bastion.

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.