https://github.com/voldemort/voldemort
Revision 32e2e0bb8692a2d346dfc1c00b747fcc713b5abf authored by ARUNACHALAM THIRUPATHI on 30 March 2015, 05:44:38 UTC, committed by Arunachalam Thirupathi on 16 April 2015, 00:00:40 UTC
1) Client isCompleteResponse for Get and GetAll allocates the entire key and value. Discards them immediately. Now the byte array is not de-serialized and the validity is verified by advancing the pointers. 2) Put request size is calculated and the buffer is grown to the required size to avoid double allocation.
1 parent 3f425ef
Tip revision: 32e2e0bb8692a2d346dfc1c00b747fcc713b5abf authored by ARUNACHALAM THIRUPATHI on 30 March 2015, 05:44:38 UTC
Client buffer cleanup and isCompleteResponse
Client buffer cleanup and isCompleteResponse
Tip revision: 32e2e0b
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.4 KB |
build.gradle | -rw-r--r-- | 19.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-- | 41.2 KB |
settings.gradle | -rw-r--r-- | 149 bytes |
tomcat-tasks.properties | -rw-r--r-- | 420 bytes |
web.xml | -rw-r--r-- | 1.1 KB |
Computing file changes ...