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

Documentation/dev-guide: update "Request size limit" with v3.2.12 #9129

Merged
merged 1 commit into from
Jan 18, 2018

Conversation

gyuho
Copy link
Contributor

@gyuho gyuho commented Jan 10, 2018

No description provided.

@gyuho gyuho requested a review from xiang90 January 10, 2018 22:19
@codecov-io
Copy link

codecov-io commented Jan 10, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@7a8c192). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #9129   +/-   ##
=========================================
  Coverage          ?   75.96%           
=========================================
  Files             ?      359           
  Lines             ?    30004           
  Branches          ?        0           
=========================================
  Hits              ?    22793           
  Misses            ?     5621           
  Partials          ?     1590

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7a8c192...854320e. Read the comment docs.

@@ -2,7 +2,7 @@

## Request size limit

etcd is designed to handle small key value pairs typical for metadata. Larger requests will work, but may increase the latency of other requests. For the time being, etcd guarantees to support RPC requests with up to 1MB of data. In the future, the size limit may be loosened or made configurable.
Copy link
Contributor

Choose a reason for hiding this comment

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

the sever side data limit is still 1MB i believe.

Copy link
Contributor Author

@gyuho gyuho Jan 11, 2018

Choose a reason for hiding this comment

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

@xiang90 It's 1.5 MiB now? #7968

Client-side limit 2 MiB was set default 1.5 MiB + gRPC overhead.

Copy link
Contributor

Choose a reason for hiding this comment

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

Users will not care about what gRPC limits. They care about the size of key+value in put or in transaction. let us put 1.5Mi there, and keep the previous working (not mentioning gRPC client thing here.)

@@ -2,7 +2,7 @@

## Request size limit

etcd is designed to handle small key value pairs typical for metadata. Larger requests will work, but may increase the latency of other requests. For the time being, etcd guarantees to support RPC requests with up to 1MB of data. In the future, the size limit may be loosened or made configurable.
etcd is designed to handle small key value pairs typical for metadata. Larger requests will work, but may increase the latency of other requests. As of v3.2.12, etcd guarantees to support client RPC requests of 2 MiB, by default. The client size limit is configurable via `clientv3.Config.MaxCallSendMsgSize`, with corresponding "--max-request-bytes" flag for etcd server.
Copy link
Member

Choose a reason for hiding this comment

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

@gyuho a small observation, "--max-request-bytes" should change to --max-request-bytes. Thanks!

@gyuho
Copy link
Contributor Author

gyuho commented Jan 17, 2018

@xiang90 PTAL.

@@ -2,7 +2,7 @@

## Request size limit

etcd is designed to handle small key value pairs typical for metadata. Larger requests will work, but may increase the latency of other requests. For the time being, etcd guarantees to support RPC requests with up to 1MB of data. In the future, the size limit may be loosened or made configurable.
etcd is designed to handle small key value pairs typical for metadata. Larger requests will work, but may increase the latency of other requests. As of v3.2.12, etcd guarantees to support client RPC requests of 1.5 MiB, by default. The client size limit is configurable via `clientv3.Config.MaxCallSendMsgSize`, with corresponding `--max-request-bytes` flag for etcd server.
Copy link
Contributor

Choose a reason for hiding this comment

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

etcd is designed to handle small key value pairs typical for metadata. Larger requests will work, but may increase the latency of other requests. By default, the maximum size of any request is 1.5 MiB. This limit is configurable through --max-request-bytes flag for etcd server.

Copy link
Contributor

Choose a reason for hiding this comment

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

@gyuho if you want to add more documentation on the client side limit. submit a new PR for that and put it into a separate section. i do not want to mix server/client together.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok sounds good. Will separate out.

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
@xiang90
Copy link
Contributor

xiang90 commented Jan 18, 2018

lgtm

@gyuho gyuho merged commit ab2bb9d into etcd-io:master Jan 18, 2018
@gyuho gyuho deleted the doc branch January 18, 2018 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants