-
Notifications
You must be signed in to change notification settings - Fork 0
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
job data serialization: alternative serialization methods? #3
Comments
job data, if stored, will need to be stored as a binary blob if we're doing things like msgpack |
okay how about this: when creating a job, you specify in the options what the job data type and serializer is |
otherwise, it's JSON by default |
...or maybe not. i'm having thoughts of doing it the "websocket" way and giving you either a "string" data (in this case, parsed JSON), or "binary" data (the custom data) or maybe in the manager stub you have to specify the supported custom deserializers? this is a confusing topic |
lmao no |
If someone wants it, they'll open up an issue for it, and I'll judge the use cases, and complexity of implementation. Most likely, things like those binary blobs could be done in another way, e.g. pointing to the binary blob resource that the runner's code could download, and process like that. Yeah, I think that's much better. |
right now, we are only allowing the job to be created if the data can be stringified with JSON
what if we allow things like msgpack?
The text was updated successfully, but these errors were encountered: