tractor/tractor
Guillermo Rodriguez 8f400f6524
Better APIs for ringd and pubsub
Pubsub:
Remove un-necesary ChannelManager locking mechanism
Make ChannelManager.close wait for all channel removals
Make publisher turn switch configurable with `msgs_per_turn` variable
Fix batch_size setter on publisher
Add broadcast to publisher
Add endpoints on pubsub for remote actors to dynamically add and remove channels

Ringd:
Add fifo lock and use it on methods that modify _rings state
Add comments
Break up ringd.open_ringbuf apis into attach_, open_ & maybe_open_
When attaching its no longer a long running context, only on opens
Adapt ringd test to new apis
2025-04-10 13:13:08 -03:00
..
_testing Refactor generate_sample_messages to be a generator and use numpy 2025-04-06 21:59:14 -03:00
devx move tractor._ipc.py into tractor.ipc._chan.py 2025-03-27 20:36:45 -03:00
experimental Drop now-deprecated deps on modern `trio`/Python 2025-03-16 16:06:24 -04:00
ipc Better APIs for ringd and pubsub 2025-04-10 13:13:08 -03:00
linux Add trio resource semantics to eventfd 2025-04-06 21:04:18 -03:00
msg Slight `PldRx` rework to simplify 2025-03-27 15:58:03 -04:00
trionics Add header to generic chan orderers 2025-04-04 02:47:27 -03:00
__init__.py move tractor._ipc.py into tractor.ipc._chan.py 2025-03-27 20:36:45 -03:00
_child.py Hide `._entry`/`._child` frames, tweak some more type annots 2025-03-20 23:22:45 -04:00
_clustering.py Clean up some imports in `._clustering` 2025-03-27 13:38:47 -04:00
_context.py move tractor._ipc.py into tractor.ipc._chan.py 2025-03-27 20:36:45 -03:00
_discovery.py move tractor._ipc.py into tractor.ipc._chan.py 2025-03-27 20:36:45 -03:00
_entry.py Log format tweaks for sclang reprs 2025-03-27 13:38:47 -04:00
_exceptions.py move tractor._ipc.py into tractor.ipc._chan.py 2025-03-27 20:36:45 -03:00
_forkserver_override.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_mp_fixup_main.py Avoid importing mp for as long as possible 2022-02-17 11:55:26 -05:00
_multiaddr.py Fix doc string "its" typo.. 2025-03-20 19:50:31 -04:00
_portal.py move tractor._ipc.py into tractor.ipc._chan.py 2025-03-27 20:36:45 -03:00
_root.py move tractor._ipc.py into tractor.ipc._chan.py 2025-03-27 20:36:45 -03:00
_rpc.py move tractor._ipc.py into tractor.ipc._chan.py 2025-03-27 20:36:45 -03:00
_runtime.py move tractor._ipc.py into tractor.ipc._chan.py 2025-03-27 20:36:45 -03:00
_spawn.py IPC ring bug impl with async read 2025-03-27 20:36:45 -03:00
_state.py Moar sclang log fmting tweaks 2025-03-27 13:38:47 -04:00
_streaming.py move tractor._ipc.py into tractor.ipc._chan.py 2025-03-27 20:36:45 -03:00
_supervise.py IPC ring bug impl with async read 2025-03-27 20:36:45 -03:00
log.py move tractor._ipc.py into tractor.ipc._chan.py 2025-03-27 20:36:45 -03:00
to_asyncio.py Continue supporting py3.11+ 2025-03-27 13:24:25 -04:00