Revision 54466998437ee65e92c55966e936151d76d4ba11 authored by ARUNACHALAM THIRUPATHI on 24 August 2014, 19:58:38 UTC, committed by Arunachalam Thirupathi on 15 September 2014, 20:16:13 UTC
Client either writes/reads from socket, never does them together.
So the buffer can be shared which will bring down the memory requirement
for the client by half.

But the client has to watch for 2 things
1) On Write the buffer expands as necessary. So the buffer needs to be
reinitialized if it grows.
2) On Read, if the buffer can't accomodate it grows as necessary, this
case also needs to be handled.

This works as expected and the unit tests are passing. Will put it
through VPL to measure the efficiency of the fixes.
1 parent b8dbbe7
History
File Mode Size
.settings
bin
clients
config
contrib
docs
example
gradle
private-lib
public-lib
src
test
voldemort-contrib
.gitignore -rw-r--r-- 242 bytes
CONTRIBUTORS -rw-r--r-- 659 bytes
LICENSE -rw-r--r-- 11.1 KB
NOTES -rw-r--r-- 2.5 KB
NOTICE -rw-r--r-- 8.1 KB
README.md -rw-r--r-- 4.5 KB
build.gradle -rw-r--r-- 18.8 KB
build.xml -rw-r--r-- 22.1 KB
gradle.properties -rw-r--r-- 1.2 KB
gradlew -rwxr-xr-x 5.0 KB
gradlew.bat -rw-r--r-- 2.3 KB
release_notes.txt -rw-r--r-- 37.3 KB
settings.gradle -rw-r--r-- 149 bytes
tomcat-tasks.properties -rw-r--r-- 420 bytes
web.xml -rw-r--r-- 1.1 KB

README.md

back to top