* suggestion for chunked BLOBs.
authorWilfried Göesgens <willi@citadel.org>
Sun, 27 Jul 2008 18:40:17 +0000 (18:40 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sun, 27 Jul 2008 18:40:17 +0000 (18:40 +0000)
citadel/modules/sync/TODO.txt

index 326402e500fa109dd109719759615bb02e4effa6..d2852f9bad2cba58e75bca5e49ac228682cde254 100644 (file)
@@ -59,3 +59,18 @@ timestamp every thing to determine the need for updates.
 
 If we do this right this module could replace IGNET and ARTV and could be used
 clients to sync mailboxes and calendars etc.
+
+We should care a bit about performance here. 
+-> not use the sendcommand/ctdl_ipc here.
+To gain performance, (profiler says...) we musn't read byte by byte aymore, but read blocks.
+thus the out/input format should be a bit similar to the http chunked mode, sending blobs of 
+n bytes at once.
+Probably up 64K windows are apropriate here. it could look like that:
+<line by line mode>
+Messageheader=blabla
+AnotherMessageHeader=blub
+DATA CHUNK 65535
+< 64 k BLOB >
+CHUNK 2344
+< 2344 bytes; probably the overlaps of the message. >
+