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

Check if there are non-serializable mediums during topology build #22

Open
asubb opened this issue Dec 19, 2019 · 0 comments
Open

Check if there are non-serializable mediums during topology build #22

asubb opened this issue Dec 19, 2019 · 0 comments

Comments

@asubb
Copy link
Member

asubb commented Dec 19, 2019

User may specify his own data types which can work within local execution context, but won't work on distributed environment as the class is non-serializable.
It's really hard to debug during execution, however should be easy to check what types beans are working with and if they are serializable.

There is an open question though, it is critical when the object is actually transferred, so check may occur only for Pod after it is planned, and ignored if the object is not supposed to be transferred. However that approach is fishy, as that ability depends on how the topology actually planned and may change depending on the input parameters. And it is probably just safer to forbid to have non-serializable objects.

@asubb asubb changed the title Check if there are serializable mediums during topology build Check if there are non-serializable mediums during topology build Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant