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

More efficient efficient coding for SWIMNIO payloads #38

Open
ktoso opened this issue Aug 24, 2020 · 0 comments
Open

More efficient efficient coding for SWIMNIO payloads #38

ktoso opened this issue Aug 24, 2020 · 0 comments
Labels
1 - triaged Task makes sense, is well defined, and is ready to be worked on

Comments

@ktoso
Copy link
Member

ktoso commented Aug 24, 2020

In the SWIMNIO example implementation we use Codable and its JSON implementation. This is sub-optimal for gossip systems which are periodically always on in the background.

Re using the codable types but implementing an efficient binary serialization format would be preferable.
It could well just be a hand woven implementation, since the payloads and messages are very simple and it's just an example app.

This matters if we'd like to compare bytes-per-message and bytes per second/minute of operation usage with other implementations, which is an important measure in general for gossip systems.

@ktoso ktoso added the 1 - triaged Task makes sense, is well defined, and is ready to be worked on label Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 - triaged Task makes sense, is well defined, and is ready to be worked on
Projects
None yet
Development

No branches or pull requests

1 participant