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

Toying with a message type for "object references" #294

Open
goodboy opened this issue Jan 27, 2022 · 1 comment
Open

Toying with a message type for "object references" #294

goodboy opened this issue Jan 27, 2022 · 1 comment
Labels
discussion experiment Exploratory design and testing IPC and transport messaging messaging patterns and protocols question Further information is requested

Comments

@goodboy
Copy link
Owner

goodboy commented Jan 27, 2022

As a future requirement and probably large convenience for many users looking to "pass around remote python objects" (in a message native way) in actors (#191, #5) i've started toying with some ideas for making a built-in message-serialization compatible type that we can offer as part of our public sugar apis.

The main set of tools include

I have a draft implementation for a str derivative which gets us a nice compact api for conversion between str and object references and could likely be integrated with our enable_modules:list[str] "module capability per actor" system to get us moving in the cap-based-sec direction.

I'll put up a matching PR shortly 😎

@goodboy goodboy added question Further information is requested discussion experiment Exploratory design and testing IPC and transport messaging messaging patterns and protocols labels Jan 27, 2022
@goodboy goodboy changed the title Toying with a message type for object references Toying with a message type for "object references" Jan 27, 2022
@goodboy
Copy link
Owner Author

goodboy commented Jan 30, 2022

Also added a couple todo lists in the module for any aspiring messageers to have a go at 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion experiment Exploratory design and testing IPC and transport messaging messaging patterns and protocols question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant