<feed xmlns='http://www.w3.org/2005/Atom'>
<title>soledad.git/common, branch feature/streaming-transfer</title>
<subtitle>[soledad]
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/'/>
<entry>
<title>[bug] patch twisted logger so it works with twistd --syslog</title>
<updated>2016-11-23T12:29:19+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2016-11-23T12:29:19+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=5d6f3f8e3d256c6ea7248cea0edb90d95405c49f'/>
<id>5d6f3f8e3d256c6ea7248cea0edb90d95405c49f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[feat] improve missing couch config doc error logging</title>
<updated>2016-11-22T20:17:55+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@leap.se</email>
</author>
<published>2016-11-22T20:17:55+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=3ad3241cb21390923e551959829f0af98dd7ad34'/>
<id>3ad3241cb21390923e551959829f0af98dd7ad34</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[style] fix pep8 and confs</title>
<updated>2016-11-18T18:55:52+00:00</updated>
<author>
<name>Victor Shyba</name>
<email>victor1984@riseup.net</email>
</author>
<published>2016-11-17T04:33:04+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=476979060980c0d23bba34f101cf81f7713a5b93'/>
<id>476979060980c0d23bba34f101cf81f7713a5b93</id>
<content type='text'>
Fixes setup.cfg, adding current exclude rules, simplified tox.ini to use
setup.cfg and fixed all.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes setup.cfg, adding current exclude rules, simplified tox.ini to use
setup.cfg and fixed all.
</pre>
</div>
</content>
</entry>
<entry>
<title>[feature] batch based on payload size</title>
<updated>2016-11-18T18:55:52+00:00</updated>
<author>
<name>Victor Shyba</name>
<email>victor.shyba@gmail.com</email>
</author>
<published>2016-09-22T08:03:59+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=ec6ccbdeab1cba6534cb22ed247041b6da821884'/>
<id>ec6ccbdeab1cba6534cb22ed247041b6da821884</id>
<content type='text'>
batch is slower than usual insert for a single doc, so, if a document
exceeds the buffer, commit the batch (if any) and put the huge load by
traditional insert.
refactor coming.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
batch is slower than usual insert for a single doc, so, if a document
exceeds the buffer, commit the batch (if any) and put the huge load by
traditional insert.
refactor coming.
</pre>
</div>
</content>
</entry>
<entry>
<title>[feature] fix and enable batch</title>
<updated>2016-11-18T18:55:52+00:00</updated>
<author>
<name>Victor Shyba</name>
<email>victor.shyba@gmail.com</email>
</author>
<published>2016-09-22T04:02:28+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=d774de2b603a63c61d297c402bea59908831a7e7'/>
<id>d774de2b603a63c61d297c402bea59908831a7e7</id>
<content type='text'>
Batching is now decided by server, this commits enables it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Batching is now decided by server, this commits enables it.
</pre>
</div>
</content>
</entry>
<entry>
<title>[feature] make reading attachments optional</title>
<updated>2016-11-18T18:55:52+00:00</updated>
<author>
<name>Victor Shyba</name>
<email>victor.shyba@gmail.com</email>
</author>
<published>2016-09-17T07:26:08+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=9b7623637439ce09ee8dbf8c8f4fb19f6c51b396'/>
<id>9b7623637439ce09ee8dbf8c8f4fb19f6c51b396</id>
<content type='text'>
Will put a file object on doc json string if read_content is False,
otherwise it will fetch and fill as usual. This is useful for improving
server througput on sync download stream by receiving a bulk-get without
attachments and consume the file-objects as they come.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Will put a file object on doc json string if read_content is False,
otherwise it will fetch and fill as usual. This is useful for improving
server througput on sync download stream by receiving a bulk-get without
attachments and consume the file-objects as they come.
</pre>
</div>
</content>
</entry>
<entry>
<title>[feature] server download stream from file object</title>
<updated>2016-11-18T18:55:52+00:00</updated>
<author>
<name>Victor Shyba</name>
<email>victor.shyba@gmail.com</email>
</author>
<published>2016-09-16T22:33:06+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=f1f0b6fced4e100fa1aed73fd64bca43c239ccc5'/>
<id>f1f0b6fced4e100fa1aed73fd64bca43c239ccc5</id>
<content type='text'>
couchdb lib returns a file object representing the attachment. This
commit dumps the read() call into the wsgi write() call. Doc
representation uses 2 lines also, separating metadata from content.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
couchdb lib returns a file object representing the attachment. This
commit dumps the read() call into the wsgi write() call. Doc
representation uses 2 lines also, separating metadata from content.
</pre>
</div>
</content>
</entry>
<entry>
<title>[feature] use transactions on sync</title>
<updated>2016-11-18T18:55:52+00:00</updated>
<author>
<name>Victor Shyba</name>
<email>victor.shyba@gmail.com</email>
</author>
<published>2016-08-11T14:34:47+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=0056c6cea9742e62282a73e7e48f25b5e7d861ef'/>
<id>0056c6cea9742e62282a73e7e48f25b5e7d861ef</id>
<content type='text'>
We were using 1 transaction per doc, which is bad.
Reference:
http://stackoverflow.com/questions/1711631/improve-insert-per-second-performance-of-sqlite
Code now uses 1 transaction for the whole sync.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We were using 1 transaction per doc, which is bad.
Reference:
http://stackoverflow.com/questions/1711631/improve-insert-per-second-performance-of-sqlite
Code now uses 1 transaction for the whole sync.
</pre>
</div>
</content>
</entry>
<entry>
<title>[feature] get attachments as generator runs</title>
<updated>2016-11-18T18:55:52+00:00</updated>
<author>
<name>Victor Shyba</name>
<email>victor.shyba@gmail.com</email>
</author>
<published>2016-09-16T07:13:26+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=287b76da2ab43ac729d2d1fdef11ad82fd9b2b24'/>
<id>287b76da2ab43ac729d2d1fdef11ad82fd9b2b24</id>
<content type='text'>
Instead of getting the attachments as the generator runs, get_docs will
now get as needed. Also, deepcopy solves a memory issue where we were
feeding the couchdb lib view with blobs while modifying it
unintentionally.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of getting the attachments as the generator runs, get_docs will
now get as needed. Also, deepcopy solves a memory issue where we were
feeding the couchdb lib view with blobs while modifying it
unintentionally.
</pre>
</div>
</content>
</entry>
<entry>
<title>[docs] explain CouchServerState parameters</title>
<updated>2016-10-21T17:09:54+00:00</updated>
<author>
<name>Victor Shyba</name>
<email>victor.shyba@gmail.com</email>
</author>
<published>2016-10-06T21:55:20+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/soledad.git/commit/?id=ee4dc679c8ae1a87a9b5ef3b2757a3113218e4c6'/>
<id>ee4dc679c8ae1a87a9b5ef3b2757a3113218e4c6</id>
<content type='text'>
create_cmd lacked an explanation and check_schema_versions lacked
reasoning on why it defaults to False.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
create_cmd lacked an explanation and check_schema_versions lacked
reasoning on why it defaults to False.
</pre>
</div>
</content>
</entry>
</feed>
