Sümer Cip avatar Sümer Cip committed 53e91ae

TP+. send buffering changes shall remain as a branch.

Comments (0)

Files changed (2)

     Fixed by NULLing the unsent response items in disconnect_conn 
 [*] Maximize SEND_WND of the underlying OS. Seems done but memcached only does it 
     to UDP sockets.
-[-] >getq sumer
+[*] >getq sumer
     Sending command: ['getq', 'sumer']
     >get_setting idle_conn_timeout
     Sending command: ['get_setting', 'idle_conn_timeout']
     >get_stats
     Sending command: ['get_stats']
     Received response data: �k(, errcode:Success
-    >        
+    This is because get_stats() returns all the received packet but get_setting
+    does return the relevant integer param in the response. So the output seems 
+    different. 
+[-] How to solve this Queueing problem? We start queueing by getq/setq messages 
+    to queue the output, however when receiving different logic is needed since 
+    different responses have to be parsed differently.
+    Protocol Pipelining makes sense on multithreaded clients which we do not favor.
+    So open a new branch for this and continue from the latest TP+. Backport 
+    new fixes.
 [-] TEST: GETQ/SETQ
 [-] show the rlimit hardlimit of the system like we do in esserver.
 [-] any way to exclude math.h that requires -lm dependency for the linker?

test/test_protocol.py

     def test_noop(self):
         self.client.noop()     
         self.assertErrorResponse(SUCCESS)
-        
+   
 if __name__ == '__main__':
     print "Running ProtocolTests..."
     unittest.main()
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.