Skip to content

Split the readme into multiple files#313

Merged
dkasimovskiy merged 1 commit intomasterfrom
split-readme
Nov 30, 2022
Merged

Split the readme into multiple files#313
dkasimovskiy merged 1 commit intomasterfrom
split-readme

Conversation

@iDneprov
Copy link
Copy Markdown
Contributor

@iDneprov iDneprov commented Nov 28, 2022

The information for more advanced users should be extracted from the README and broken down into files

I haven't forgotten about:

  • Tests
  • Changelog
  • Documentation
  • Commit messages comply with the guideline
  • Cleanup the code for review. See checklist

Related issues:
Closes #312

@iDneprov iDneprov added the documentation Improvements or additions to documentation label Nov 28, 2022
@iDneprov iDneprov self-assigned this Nov 28, 2022
@iDneprov iDneprov requested a review from akudiyar November 28, 2022 17:24
Comment thread README.md Outdated

All this properties should be used carefully, because if threads more than need may give low app performance
## Advanced usage
[Cluster Tarantool client](doc/ClusterTarantoolClient.md)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest adding a short description in a single paragraph for each page with some keywords that the user will be looking for, like "transient cluster failures" for the "retrying client" section. Also, I suggest renaming these documents to better reflect the use cases, having in mind that the users shouldn't use the TarantoolClient classes directly.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you have any ideas for a different name for the cluster and proxy clent I would be happy to see your suggestions

bitgorbovsky
bitgorbovsky previously approved these changes Nov 29, 2022
@iDneprov iDneprov requested a review from akudiyar November 29, 2022 10:48
@@ -0,0 +1,89 @@
[Main page](../README.md)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move it to docs directory. It's strange to have two similar directories
image

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't notice it, will be fixed

Comment thread README.md Outdated
Comment on lines +50 to +61
[Cluster client](doc/ClusterTarantoolClient.md)
Connecting to Cartridge router nodes
[Proxy client](doc/ProxyTarantoolClient.md)
Connecting to any Tarantool nodes, calling stored functions
[Custom sharding function](doc/CustomShardingFunction.md)
Determining bucket id in on the client side
[Retrying client](doc/RetryingTarantoolClient.md)
Circumventing transient cluster failures
[TarantoolTuple usage](doc/TarantoolTupleUsage.md)
Creating and operating with TarantoolTuple
[Thread control](doc/ThreadControl.md)
Specifying custom numbers of netty work threads
Copy link
Copy Markdown
Contributor

@ArtDu ArtDu Nov 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want to suggest something like that

Suggested change
[Cluster client](doc/ClusterTarantoolClient.md)
Connecting to Cartridge router nodes
[Proxy client](doc/ProxyTarantoolClient.md)
Connecting to any Tarantool nodes, calling stored functions
[Custom sharding function](doc/CustomShardingFunction.md)
Determining bucket id in on the client side
[Retrying client](doc/RetryingTarantoolClient.md)
Circumventing transient cluster failures
[TarantoolTuple usage](doc/TarantoolTupleUsage.md)
Creating and operating with TarantoolTuple
[Thread control](doc/ThreadControl.md)
Specifying custom numbers of netty work threads
* [Cluster client](doc/ClusterTarantoolClient.md)
Connecting to Tarantool nodes.
The client can connect to storages and obtain data from spaces directly by space interface via native iproto binary protocol.
It may call lua storing procedures or eval lua code on nodes.
* [Proxy methods](doc/ProxyTarantoolClient.md)
Connecting to routers with crud library. It proxies space interface's methods to crud methods.
* [Retrying](doc/RetryingTarantoolClient.md)
Retry transient cluster failures.
* [TarantoolTuple usage](doc/TarantoolTupleUsage.md)
Creating and operating with TarantoolTuple entity.
* [Custom sharding function](doc/CustomShardingFunction.md)
Determining bucket id on java side.
* [Thread control](doc/ThreadControl.md)
Specifying custom numbers of netty work threads.

bitgorbovsky
bitgorbovsky previously approved these changes Nov 29, 2022
Comment thread README.md Outdated
https://github.com/tarantool/cartridge-java/blob/2f8e826deb9833a5deb6d21177527a46e8fdd039/src/test/java/io/tarantool/driver/integration/SingleInstanceExampleTest.java#L64-L79

You can read more about Cartridge applications in its [documentation](https://www.tarantool.io/ru/doc/latest/how-to/getting_started_cartridge/).
You can read more about Cartridge applications in its [documentation](https://www.tarantool.io/ru/docs/latest/how-to/getting_started_cartridge/).
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

404

The information for more advanced users should be extracted from the README and broken down into files

Closes #312
@iDneprov iDneprov removed the request for review from akudiyar November 30, 2022 06:24
@dkasimovskiy dkasimovskiy merged commit 64b0803 into master Nov 30, 2022
@dkasimovskiy dkasimovskiy deleted the split-readme branch November 30, 2022 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Split the readme into multiple files

5 participants