summaryrefslogtreecommitdiff
path: root/doc/devblog/day_212__webdav_rewrite.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-08-07 19:57:55 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-08-07 19:57:55 -0400
commitf88133fb4846826391d781c1dcce19ff6e45bc01 (patch)
treed93dd8974b78add1a5c184d9ffb6bf7e68b39886 /doc/devblog/day_212__webdav_rewrite.mdwn
parent75c91f3b76fd91626ed0519ae5423134c5473e08 (diff)
devbog
Diffstat (limited to 'doc/devblog/day_212__webdav_rewrite.mdwn')
-rw-r--r--doc/devblog/day_212__webdav_rewrite.mdwn18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/devblog/day_212__webdav_rewrite.mdwn b/doc/devblog/day_212__webdav_rewrite.mdwn
new file mode 100644
index 000000000..714800c9a
--- /dev/null
+++ b/doc/devblog/day_212__webdav_rewrite.mdwn
@@ -0,0 +1,18 @@
+Today was spent reworking so much of the webdav special remote that it was
+essentially rewritten from scratch.
+
+The main improvement is that it now keeps a http connection open and uses
+it to perform multiple actions. Before, one connection was made per action.
+This is even done for operations on chunks. So, now storing a chunked file
+in webdav makes only 2 http connections total. Before, it would take around
+10 connections *per chunk*. So a big win for performance, although there is
+still room for improvement: It would be possible to reduce that down to
+just 1 connection, and indeed keep a persistent connection reused when
+acting on multiple files.
+
+Finished up by making uploading a large (non-chunked) file to webdav not
+buffer the whole file in memory.
+
+I still need to make downloading a file from webdav not buffer it, and
+test, and then I'll be done with webdav and can move on to making
+similar changes to S3.