<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/couchdb.git, branch optimize-rexi</title>
<subtitle>github.com: apache/couchdb.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/'/>
<entry>
<title>Reduce message passing through rexi_server</title>
<updated>2017-07-24T17:03:20+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2017-07-24T17:03:20+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=32d7b91b120d375a0cea04318deaababeb69bb03'/>
<id>32d7b91b120d375a0cea04318deaababeb69bb03</id>
<content type='text'>
There's no need to have rexi_server handle every process exit. There's
already an exception handler and workers can report on their own exit
reasons selectively. This also changes job tracking into a concurrent
ets update so if an RPC worker doesn't die in rexi code then rexi_server
will only handle half of the message passing load since we no longer
have to handle process exits.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There's no need to have rexi_server handle every process exit. There's
already an exception handler and workers can report on their own exit
reasons selectively. This also changes job tracking into a concurrent
ets update so if an RPC worker doesn't die in rexi code then rexi_server
will only handle half of the message passing load since we no longer
have to handle process exits.
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't track errors in rexi_server</title>
<updated>2017-07-24T16:40:17+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2017-07-24T16:39:21+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=5c478ee9ee867bbe2f4deb23cf0350983160dd5e'/>
<id>5c478ee9ee867bbe2f4deb23cf0350983160dd5e</id>
<content type='text'>
This is fairly expensive for something that's not used very much. And
generally speaking when it could be useful things are too busy to really
rely on it as the messaging rates through rexi are so high.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is fairly expensive for something that's not used very much. And
generally speaking when it could be useful things are too busy to really
rely on it as the messaging rates through rexi are so high.
</pre>
</div>
</content>
</entry>
<entry>
<title>FIXUP: Reorder clauses for readability</title>
<updated>2017-07-24T16:22:11+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2017-07-24T16:22:11+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=4d545714e504bb7d8a196265ff8434e5eb95e456'/>
<id>4d545714e504bb7d8a196265ff8434e5eb95e456</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>FIXUP: Factor out common code.</title>
<updated>2017-07-24T16:00:37+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2017-07-24T16:00:37+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=b0e35a2e6689e1984b8c84c890fa4d005b72ef59'/>
<id>b0e35a2e6689e1984b8c84c890fa4d005b72ef59</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>FIXUP: Remove old tables process</title>
<updated>2017-07-24T15:57:31+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2017-07-24T15:57:31+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=102b5f5946277d8eb88903d533ed77cdcdbdfc75'/>
<id>102b5f5946277d8eb88903d533ed77cdcdbdfc75</id>
<content type='text'>
This is a remnant of a prior iteration. Removing for simplification.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a remnant of a prior iteration. Removing for simplification.
</pre>
</div>
</content>
</entry>
<entry>
<title>FIXUP: Change from entry count to memory size</title>
<updated>2017-07-20T21:17:11+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2017-07-20T21:17:11+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=cb6cf4c71a7e994ccb7d7eb43a9d67e40c5a694e'/>
<id>cb6cf4c71a7e994ccb7d7eb43a9d67e40c5a694e</id>
<content type='text'>
This changes cache eviction from a count of entries to the total amount
of memory used by the cache (as approximated by the memory used by ets
for the ?CACHE table). This behavior reverts to match the thresholds
used by the previous version as well as let users make more direct
choices on how large to make their design document caches.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This changes cache eviction from a count of entries to the total amount
of memory used by the cache (as approximated by the memory used by ets
for the ?CACHE table). This behavior reverts to match the thresholds
used by the previous version as well as let users make more direct
choices on how large to make their design document caches.
</pre>
</div>
</content>
</entry>
<entry>
<title>FIXUP: Process processes in the process of dying</title>
<updated>2017-07-20T20:22:32+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2017-07-20T19:02:57+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=8e66b07bb3b983a95e1745aa575a9550fa88f57c'/>
<id>8e66b07bb3b983a95e1745aa575a9550fa88f57c</id>
<content type='text'>
Turns out we could go to evict an entry just after it had decided to
leave the cache (i.e., its ddoc was just deleted). When that happens
ddoc_cache_lru would die trying to shut the process down becuase the
process died normal earlier than expected.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Turns out we could go to evict an entry just after it had decided to
leave the cache (i.e., its ddoc was just deleted). When that happens
ddoc_cache_lru would die trying to shut the process down becuase the
process died normal earlier than expected.
</pre>
</div>
</content>
</entry>
<entry>
<title>Silence compiler warning</title>
<updated>2017-07-20T19:02:37+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2017-07-20T19:02:37+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=d538f0263732fa898164f166d62e7e52fe9b3711'/>
<id>d538f0263732fa898164f166d62e7e52fe9b3711</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>FIXUP: Tyypoo</title>
<updated>2017-07-19T16:11:42+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2017-07-12T16:15:57+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=c850ec514fd022eb7a83eedb84cb2a1bf2efb813'/>
<id>c850ec514fd022eb7a83eedb84cb2a1bf2efb813</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix test race with ddoc_cache</title>
<updated>2017-07-19T16:11:42+00:00</updated>
<author>
<name>Paul J. Davis</name>
<email>paul.joseph.davis@gmail.com</email>
</author>
<published>2017-07-12T15:53:53+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/couchdb.git/commit/?id=1b4cbf2fea120ed30fe1adb65e216b695ce7a887'/>
<id>1b4cbf2fea120ed30fe1adb65e216b695ce7a887</id>
<content type='text'>
Tests that modify an existing design document and then immediately try
and use it are a prime race condition against the cache invalidation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tests that modify an existing design document and then immediately try
and use it are a prime race condition against the cache invalidation.
</pre>
</div>
</content>
</entry>
</feed>
