WIP: Create examples/multihost/ script set to show some distributed cases! #3

Draft
goodboy wants to merge 305 commits from multihost_exs into main

Add a super naive multi-host-capable web-req proxier for @jc211

This is based on their example from a thread in the trio room

Likely more refinements to come, especially deats on how to maybe grab the pub ip addresses of each host automatically maybe?


Todo for this to land: - [ ] ensure the “during handling of the above exception” teardown case is resolved when we return the return httpx.Response without a spec,

  • possibly make a python pkg which more clearly demonstrates how a distributed tractor app should/could look?

  • add more full example with a msg-spec for use in both the client & server, prolly pkged in a .msgspec.py submod and imported from both?

  • docs and/or flags for enabling debug mode.

  • example with registries in both client and server root actors such that both can be queried to discover some daemon subactors spawned (by the eventually merged in service-mngr from piker..)

Add a super naive multi-host-capable web-req proxier for @jc211 This is based on their example from a [thread in the trio room](https://matrix.to/#/!OqDVTrmPstKzivLwZW:gitter.im/$S4vkyuW7v8brARZlqZgkXviQuoBvYLgqr37bS_hwy8M?via=gitter.im&via=matrix.org&via=zoltan.site) Likely more refinements to come, especially deats on how to maybe grab the pub ip addresses of each host automatically maybe? ---- Todo for this to land: - [ ] ensure the "during handling of the above exception" teardown case is resolved when we return the `return httpx.Response` without a spec, - [ ] possibly make a python pkg which more clearly demonstrates how a distributed `tractor` app should/could look? - [ ] add more full example with a msg-spec for use in both the client & server, prolly pkged in a `.msgspec.py` submod and imported from both? - [ ] docs and/or flags for enabling debug mode. - [ ] example with registries in both client and server root actors such that both can be queried to discover some daemon subactors spawned (by the eventually merged in service-mngr from `piker`..)
goodboy added 1 commit 2024-09-19 02:53:19 +00:00
goodboy changed title from Start a `examples/multihost/` set to kick start distributed usage! to Create `examples/multihost/` script set to show some distributed cases! 2024-09-19 05:26:44 +00:00
goodboy changed title from Create `examples/multihost/` script set to show some distributed cases! to WIP: Create `examples/multihost/` script set to show some distributed cases! 2024-09-19 05:39:55 +00:00
goodboy added 1 commit 2024-09-19 06:51:45 +00:00
goodboy force-pushed multihost_exs from bdd1ef81e5 to 95526e5d45 2025-03-10 16:37:25 +00:00 Compare
goodboy force-pushed multihost_exs from 95526e5d45 to afb2501ceb 2025-03-23 04:59:10 +00:00 Compare
goodboy changed title from WIP: Create `examples/multihost/` script set to show some distributed cases! to WIP: Create `examples/multihost/` script set to show some distributed cases! 2026-04-11 02:13:38 +00:00
goodboy changed target branch from aio_abandons to main 2026-04-11 02:13:39 +00:00
This pull request has changes conflicting with the target branch.
  • examples/advanced_faults/ipc_failure_during_stream.py
  • examples/debugging/restore_builtin_breakpoint.py
  • examples/debugging/shield_hang_in_sub.py
  • examples/debugging/sync_bp.py
  • examples/quick_cluster.py
  • examples/service_discovery.py
  • pyproject.toml
  • setup.py
  • tests/conftest.py
  • tests/devx/conftest.py
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: goodboy/tractor#3
There is no content yet.