pharo-nosql / mongotalk

A Pharo driver for MongoDB
MIT License
19 stars 13 forks source link

Disable the nagle algorithm for the mongo connection #43

Closed zecke closed 5 years ago

zecke commented 5 years ago

If delayed TCPs are enabled and issueing:

insert getLastError

There will be a 40ms (default delayed ack delay) between sending insert and getLastError. This will reduce per Smalltalk process throughput. Assume this is a StreamSocket and disable nagle. It should work with Squeak and Pharo.