2014-02-12 27 views
0
NODELAY設置複製socket_options爲true

我試圖得到什麼此設置在CouchDB中做更多的信息:宗旨,爲CouchDB中

[replicator] 
socket_options = [{keepalive, true}, {nodelay, false}] 

是什麼nodelay辦?設置爲true時有什麼區別?我似乎無法找到關於在CouchDb指南或default.ini中設置的任何信息(它只是說'某些插槽選項可​​能會提高某些方案的性能')

回答

0

在erlang docs中找到答案:

{nodelay, Boolean}(TCP/IP sockets) 
If Boolean == true, the TCP_NODELAY option is turned on for the socket, which means that even small amounts of data will be sent immediately.