Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to expose/organize <daemon>d entryoints? #488

Open
goodboy opened this issue Mar 10, 2023 · 0 comments
Open

How to expose/organize <daemon>d entryoints? #488

goodboy opened this issue Mar 10, 2023 · 0 comments
Labels
data-layer real-time and historical data processing and storage factoring less codez dawg question wut dis!? services daemon (actor runtime) related design and supervision (sub-)systems general sw design and eng

Comments

@goodboy
Copy link
Contributor

goodboy commented Mar 10, 2023

As per the reorg in #483 I think it's worth replacing all the daemon entry points currently defined in piker.service._daemon to possibly submods in each sub-system/package.

As an example, for the data layer, we could move maybe_spawn_brokerd() and spawn_brokerd() into a piker.data._daemon (though we probably want to move this particular daemon as datad once we split broker vs. rt feed tasks into separate actors).

The idea being that each sub-sys defines it's own "endpoints" for different services that can be started by name from the .service._mngr.Services API?

I feel like this would make it clear which systems can be run on separate hosts as well as how execution workloads are generally separated logically in our code base?


Another thing i've been groking is whether we should move our Qt integration via trio-guestmode in .ui._exec maybe into a .ui._daemon as well since eventually we want to be able to spawn UI actors under pikerd such they are supervised in the same was services and don't require a diff root actor for supervision/respawn?

Main issue for this support in tractor: goodboy/tractor#281

@goodboy goodboy added question wut dis!? data-layer real-time and historical data processing and storage (sub-)systems general sw design and eng factoring less codez dawg services daemon (actor runtime) related design and supervision sw design labels Mar 10, 2023
@goodboy goodboy changed the title How to expose <daemon>d entryoints? How to expose/organize <daemon>d entryoints? Mar 10, 2023
@goodboy goodboy mentioned this issue Mar 10, 2023
11 tasks
@goodboy goodboy removed the sw design label Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data-layer real-time and historical data processing and storage factoring less codez dawg question wut dis!? services daemon (actor runtime) related design and supervision (sub-)systems general sw design and eng
Projects
None yet
Development

No branches or pull requests

1 participant