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

Command-time message type checking? #12

Closed
goodboy opened this issue Jul 12, 2018 · 2 comments
Closed

Command-time message type checking? #12

goodboy opened this issue Jul 12, 2018 · 2 comments

Comments

@goodboy
Copy link
Owner

goodboy commented Jul 12, 2018

tractor allows actors to invoke remote routines, receive messages, respond etc. With Python's new type annotations I'm wondering if it would be beneficial to leverage type checking before commands are sent off on the network. An actor which spawns another can at startup receive type information about all allowed remote functions and then conduct run time type checking before sending a cmd packet.

The question is whether this is superfluous and will just cause more overhead in the case where network latency is less than the type checks.

@goodboy
Copy link
Owner Author

goodboy commented Feb 24, 2021

I guess this definitely will be solved by #196.

@goodboy goodboy closed this as completed Apr 28, 2021
@goodboy
Copy link
Owner Author

goodboy commented Apr 28, 2021

As mentioned, we already have a newer issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant