Comments (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.
Link concept in Erlang:
Monitor concept in Erlang:
This issue partially relates to (from most to least):
#116 #118 #119
from bastion.
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.
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)
- Investigate around the smp_update and mean calculation
- broadcast_message example deadlocks HOT 9
- Call to bind(addr) never returns in example/tcp-servers HOT 3
- Miri flag passing changed HOT 1
- broadcast_message example crashes occasionally HOT 4
- Doc links HOT 6
- restarted children can't be reached from existing contexts HOT 1
- Investigate sanitizers / license compliance in the CI HOT 1
- Scaling Groups: UpperBound limit doesn't seem to behave as expected HOT 2
- totally new to rust here but how fault tolerant compared with elixir? HOT 1
- New lightproc release? HOT 1
- Seems odd to warn about this HOT 2
- Bikeshed the api traits / structs and function names HOT 3
- Bastion_test system HOT 1
- Perhaps provide some more gradual examples on the https://bastion.rs/ site? HOT 1
- Update to latest Lever 0.1.2
- Android compatibility HOT 4
- Memory does not release
- Possible panic issue in set_for_current
- Upgrade dependency `lasso` from version 0.6.0 to 0.7.2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bastion.