dubbo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] steveguoshao closed pull request #38: fix the defeault value of threads and payload of dubbo:protocol
Date Thu, 02 Aug 2018 10:34:36 GMT
steveguoshao closed pull request #38: fix the defeault value of threads and payload of dubbo:protocol
URL: https://github.com/apache/incubator-dubbo-docs/pull/38
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/dubbo-user-book-en/references/xml/dubbo-protocol.md b/dubbo-user-book-en/references/xml/dubbo-protocol.md
index 0a5cdc8..5ac0350 100644
--- a/dubbo-user-book-en/references/xml/dubbo-protocol.md
+++ b/dubbo-user-book-en/references/xml/dubbo-protocol.md
@@ -53,10 +53,10 @@ Service provider protocol configuration. The corresponding class is `com.alibaba
 | port          | &lt;port&gt;                | int            | False       | The
default port of dubbo protocol is 20880, rmi protocol is 1099, http and hessian protocol are
80;It will allocate an unused port if `port` is not filled or equals `-1`. To ensure the
ports scope is controllable, the port will increase based on the corresponding protocol default
port after Dubbo 2.4.0+ | Service discovery         | Service port                       
     | Above 2.0.5   |
 | host          | &lt;host&gt;                | string         | False       | Find
local IP automatically              | Service discovery         | &#45;The host name of
services, to specify VIP and domain, or having multiple network cards. If null, it will find
local IP automatically&#45; It's recommended to let Dubbo find local IP automatically
| Above 2.0.5   |
 | threadpool    | threadpool                  | string         | False       | fixed    
                               | Performance optimize      | The type of Thread Pool, fixed/cached
are available | Above 2.0.5   |
-| threads       | threads                     | int            | False       | 100      
                               | Performance optimize      | The size of the services' Thread
Pool(Fixed) | Above 2.0.5   |
+| threads       | threads                     | int            | False       | 200      
                               | Performance optimize      | The size of the services' Thread
Pool(Fixed) | Above 2.0.5   |
 | iothreads     | threads                     | int            | False       | The count
of CPU + 1                     | Performance optimize      | The size of io Thread Pool(Fixed)
       | Above 2.0.5   |
 | accepts       | accepts                     | int            | False       | 0        
                               | Performance optimize      | The maximum connection count
of the service provider | Above 2.0.5   |
-| payload       | payload                     | int            | False       | 88388608(=8M)
                           | Performance optimize      | The length limit of request and response,
unit is byte | Above 2.0.5   |
+| payload       | payload                     | int            | False       | 8388608(=8M)
                           | Performance optimize      | The length limit of request and response,
unit is byte | Above 2.0.5   |
 | codec         | codec                       | string         | False       | dubbo    
                               | Performance optimize      | Protocol encoding           
            | Above 2.0.5   |
 | serialization | serialization               | string         | False       | The default
serialization of dubbo protocol is hessian2, rmi protocol is java, http protocol is json |
Performance optimize      | Protocol serialization, It's used when a protocol has multiple
serializations. For example, `dubbo` protocol has 4 serializations, they are `dubbo`, `hessian2`,
`java` and `compactedjava`. | Above 2.0.5   |
 | accesslog     | accesslog                   | string/boolean | False       |          
                               | Service discovery         | `true` will write access log
to logger. Specifying it to a log path, you can write access logs to special log file. | Above
2.0.5   |


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Mime
View raw message