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

Enhance documents on project main page #42

Closed
loveyoupeng opened this issue Feb 15, 2017 · 11 comments
Closed

Enhance documents on project main page #42

loveyoupeng opened this issue Feb 15, 2017 · 11 comments
Assignees

Comments

@loveyoupeng
Copy link

Could you improvement the doc on the project main page, there are some typo and ambiguous descriptions, which is hard to understand. And could you provide some design descriptions to help people to evaluate if it is a fit.

@peter-lawrey
Copy link
Member

I have asked Catherine to review.
Can you clarify which design points you are looking for?

Wire is a wrapper for Bytes.
It add a format e.g. JSON, YAML, Binary to Bytes which is an enhancement of ByteBuffer.
When you call a method on Wire, it calls the appropriate method on Bytes which does this for the format chosen.

@loveyoupeng
Copy link
Author

Thanks for the attention.
Yes as you mentioned that it is a wrapper for bytes. Probably you could list some statement regarding to best use cases such as easy API to handle bytebuff. And the pros cons as well.
One more suggestions is could you also share the high level relationships between all the pieces of the projects under openhft umbrella.
Some of them are in different development cycles, if I cherry pick some of them. What's the strategy you suggest to maintain version upgrade

@peter-lawrey
Copy link
Member

peter-lawrey commented Feb 15, 2017 via email

@peter-lawrey
Copy link
Member

We have added a table of contents. We have details comparison with other serialisation libraries. We support ByteBuffer interop.
Chronicle Wire uses Chronicle Bytes for bytes manipulation and Chronicle Core for low level JVM access.

Wire handles

  • adding and removing fields.
  • changing the order of fields.
  • changing the type of a field.
  • aliases for types so you can change them.

@loveyoupeng
Copy link
Author

loveyoupeng commented Feb 25, 2017 via email

@peter-lawrey
Copy link
Member

Are there products you are comparing which had documentation you think we could emulate?

@loveyoupeng
Copy link
Author

actually I'm comparing binary protocols such as avro protobuff, currently we highly relay on json/xml based http protocol between internal services, which is a waste of resources given the message is complex object tree.
in terms of the doc, could you adding some introduction section to the concepts/metaphor used in Chronicle-Wire, such as what is DocumentContext, WireIn ValueIn and their relationships. seems Chronicle contains a few terms and metaphor from finance industry, it is a little hard to understand vanilla means normal/default for people not from the industry :P

@peter-lawrey
Copy link
Member

peter-lawrey commented Apr 4, 2017 via email

@benwimpory
Copy link

I found these 2015 blog posts and the wire unit tests a good introduction.

http://www.rationaljava.com/2015/10/chronicle-wire-tutorial-next-level-in.html?m=1

@loveyoupeng
Copy link
Author

loveyoupeng commented Apr 4, 2017 via email

@hft-team-city
Copy link
Collaborator

Released in Chronicle-Wire-2.20.101, BOM-2.20.134

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

5 participants