<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/karsten/metrics-web, branch task-33065-6</title>
<subtitle>Karsten's metrics web repository</subtitle>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/karsten/metrics-web.git/'/>
<entry>
<title>Revert "Rewrite insert_bwhist in SQL."</title>
<updated>2020-03-03T10:05:21+00:00</updated>
<author>
<name>Karsten Loesing</name>
<email>karsten.loesing@gmx.net</email>
</author>
<published>2020-03-03T10:05:21+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/karsten/metrics-web.git/commit/?id=446db5e92e96e061f05b92fb31d100607b22df0b'/>
<id>446db5e92e96e061f05b92fb31d100607b22df0b</id>
<content type='text'>
This reverts commit f68272374db442d2716cc0735fb411c364a738fb.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit f68272374db442d2716cc0735fb411c364a738fb.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "squash! Rewrite insert_bwhist in SQL."</title>
<updated>2020-03-03T09:47:09+00:00</updated>
<author>
<name>Karsten Loesing</name>
<email>karsten.loesing@gmx.net</email>
</author>
<published>2020-03-03T09:47:09+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/karsten/metrics-web.git/commit/?id=086f59e19619ae9cca74a10b4955a012b4cb95c1'/>
<id>086f59e19619ae9cca74a10b4955a012b4cb95c1</id>
<content type='text'>
This reverts commit 07c2ab82e9bb302b626ea36b6c4c7f94a4d4c4ec.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 07c2ab82e9bb302b626ea36b6c4c7f94a4d4c4ec.
</pre>
</div>
</content>
</entry>
<entry>
<title>Temporary commit for logging.</title>
<updated>2020-03-03T09:36:47+00:00</updated>
<author>
<name>Karsten Loesing</name>
<email>karsten.loesing@gmx.net</email>
</author>
<published>2020-03-03T09:36:47+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/karsten/metrics-web.git/commit/?id=61f03c0ed5b9e8522ed5d57544280daf6afa86d8'/>
<id>61f03c0ed5b9e8522ed5d57544280daf6afa86d8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>squash! Rewrite insert_bwhist in SQL.</title>
<updated>2020-03-03T07:48:51+00:00</updated>
<author>
<name>Karsten Loesing</name>
<email>karsten.loesing@gmx.net</email>
</author>
<published>2020-03-03T07:48:51+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/karsten/metrics-web.git/commit/?id=07c2ab82e9bb302b626ea36b6c4c7f94a4d4c4ec'/>
<id>07c2ab82e9bb302b626ea36b6c4c7f94a4d4c4ec</id>
<content type='text'>
 - Re-use existing functions for the SQL function rewrite.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 - Re-use existing functions for the SQL function rewrite.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rewrite insert_bwhist in SQL.</title>
<updated>2020-02-23T10:39:13+00:00</updated>
<author>
<name>Karsten Loesing</name>
<email>karsten.loesing@gmx.net</email>
</author>
<published>2020-02-23T09:53:46+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/karsten/metrics-web.git/commit/?id=f68272374db442d2716cc0735fb411c364a738fb'/>
<id>f68272374db442d2716cc0735fb411c364a738fb</id>
<content type='text'>
The old PL/pgSQL version of this function made three lookups in the
bwhist table to 1) check whether a row already exists, 2) insert or
update the row, and 3) update the row once again with array sums. The
new SQL version uses the INSERT ON CONFLICT statement introduced in
PostgreSQL 9.5 (Debian stretch has 9.6, buster has 11). The
performance gain measured using metrics-test is impressive, computed
aggregates are equivalent.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The old PL/pgSQL version of this function made three lookups in the
bwhist table to 1) check whether a row already exists, 2) insert or
update the row, and 3) update the row once again with array sums. The
new SQL version uses the INSERT ON CONFLICT statement introduced in
PostgreSQL 9.5 (Debian stretch has 9.6, buster has 11). The
performance gain measured using metrics-test is impressive, computed
aggregates are equivalent.
</pre>
</div>
</content>
</entry>
<entry>
<title>Extract directory authority bytes per day.</title>
<updated>2020-02-23T10:38:47+00:00</updated>
<author>
<name>Karsten Loesing</name>
<email>karsten.loesing@gmx.net</email>
</author>
<published>2020-01-27T20:12:21+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/karsten/metrics-web.git/commit/?id=6d6a03275bbd486077eea185b021ce267221ac33'/>
<id>6d6a03275bbd486077eea185b021ce267221ac33</id>
<content type='text'>
Implements #33065.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implements #33065.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove dead code from bwhist module.</title>
<updated>2020-02-23T10:38:42+00:00</updated>
<author>
<name>Karsten Loesing</name>
<email>karsten.loesing@gmx.net</email>
</author>
<published>2020-01-27T20:07:48+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/karsten/metrics-web.git/commit/?id=fc3e9dfeba36e960189e732f9312f7a2d4bc8200'/>
<id>fc3e9dfeba36e960189e732f9312f7a2d4bc8200</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Always show 1 decimal digit in dirbytes graph.</title>
<updated>2020-01-27T11:29:00+00:00</updated>
<author>
<name>Karsten Loesing</name>
<email>karsten.loesing@gmx.net</email>
</author>
<published>2020-01-27T11:29:00+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/karsten/metrics-web.git/commit/?id=2ce63d57a67aca6d799ef4665abd3916191e6e30'/>
<id>2ce63d57a67aca6d799ef4665abd3916191e6e30</id>
<content type='text'>
Fixes #33066.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #33066.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update fallback directories in Relay Search.</title>
<updated>2020-01-22T16:54:28+00:00</updated>
<author>
<name>Karsten Loesing</name>
<email>karsten.loesing@gmx.net</email>
</author>
<published>2020-01-22T16:54:28+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/karsten/metrics-web.git/commit/?id=e7f73a28143145542e473600de99fe7e7997c4ba'/>
<id>e7f73a28143145542e473600de99fe7e7997c4ba</id>
<content type='text'>
Fixes #31332.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #31332.
</pre>
</div>
</content>
</entry>
<entry>
<title>Schedule Onionoo version 8.0, and remove old news.</title>
<updated>2020-01-20T15:15:26+00:00</updated>
<author>
<name>Karsten Loesing</name>
<email>karsten.loesing@gmx.net</email>
</author>
<published>2020-01-20T15:15:26+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/karsten/metrics-web.git/commit/?id=c775b6686742ad0d282c21a95df3758e955edc91'/>
<id>c775b6686742ad0d282c21a95df3758e955edc91</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
