You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2018/08/09 06:34:23 UTC

[GitHub] beiwei30 closed pull request #73: Create 3-3-zh-cn.md

beiwei30 closed pull request #73: Create 3-3-zh-cn.md
URL: https://github.com/apache/incubator-dubbo-website/pull/73
 
 
   

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/blog/en-us/3-3-zh-cn.md b/blog/en-us/3-3-zh-cn.md
new file mode 100644
index 0000000..98f86fe
--- /dev/null
+++ b/blog/en-us/3-3-zh-cn.md
@@ -0,0 +1,11 @@
+<h4>反序列化的方式</h4>
+由于在 IO 线程后的事件如果不启用新的 IO 线程, 逻辑能够快速完成, 那么事件应该在IO 线程上完成,这样能减少线程池的调度,会在 IO 上速度更快。 所以在反序列化时提供了在 IO 线程内或者在业务线程内进行的两种方式。
+
+````xml
+<dubbo:protocol decode.in.io="false">
+````
+
+
+Decode in IO 
++ true 标识着在 IO 线程内完成解码, 在这种情况下,线程池的调度会减少, 部分运算资源会被释放(缺省)
++ false 标识这不在 IO 线程内完成解码, 业务线程需要自行解码。 如果反序列化时间较长,在 IO 线程内完成解码则会导致 IO 线程被长时间阻塞, 此时应当选择在 IO 线程外进行反序列化


 

----------------------------------------------------------------
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