diff --git a/content/2015-12.md b/content/2015-12.md index aeff2dbd5..9836d76da 100644 --- a/content/2015-12.md +++ b/content/2015-12.md @@ -54,3 +54,19 @@ max_connections = 80 ``` - Now I need to go read PostgreSQL docs about these options, and watch memory settings in munin etc +- For what it's worth, now the REST API should be faster (because of these PostgreSQL tweaks): + +``` +$ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle/10568/32802?expand=all +1.474 +$ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle/10568/32802?expand=all +2.141 +$ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle/10568/32802?expand=all +1.685 +$ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle/10568/32802?expand=all +1.995 +$ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle/10568/32802?expand=all +1.786 +``` + +- Last week it was an average of 8 seconds... now this is 1/4 of that diff --git a/public/2015-12/index.html b/public/2015-12/index.html index 52c62eca9..5f7c9c58a 100644 --- a/public/2015-12/index.html +++ b/public/2015-12/index.html @@ -132,6 +132,23 @@ max_connections = 80 + +
$ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle/10568/32802?expand=all
+1.474
+$ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle/10568/32802?expand=all
+2.141
+$ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle/10568/32802?expand=all
+1.685
+$ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle/10568/32802?expand=all
+1.995
+$ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle/10568/32802?expand=all
+1.786
+
+ + diff --git a/public/index.xml b/public/index.xml index 494dbca6d..3f99df441 100644 --- a/public/index.xml +++ b/public/index.xml @@ -70,6 +70,23 @@ max_connections = 80 <ul> <li>Now I need to go read PostgreSQL docs about these options, and watch memory settings in munin etc</li> +<li>For what it&rsquo;s worth, now the REST API should be faster (because of these PostgreSQL tweaks):</li> +</ul> + +<pre><code>$ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle/10568/32802?expand=all +1.474 +$ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle/10568/32802?expand=all +2.141 +$ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle/10568/32802?expand=all +1.685 +$ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle/10568/32802?expand=all +1.995 +$ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle/10568/32802?expand=all +1.786 +</code></pre> + +<ul> +<li>Last week it was an average of 8 seconds&hellip; now this is <sup>1</sup>&frasl;<sub>4</sub> of that</li> </ul> diff --git a/public/tags/notes/index.xml b/public/tags/notes/index.xml index 861fa73dd..d47e1ce30 100644 --- a/public/tags/notes/index.xml +++ b/public/tags/notes/index.xml @@ -70,6 +70,23 @@ max_connections = 80 <ul> <li>Now I need to go read PostgreSQL docs about these options, and watch memory settings in munin etc</li> +<li>For what it&rsquo;s worth, now the REST API should be faster (because of these PostgreSQL tweaks):</li> +</ul> + +<pre><code>$ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle/10568/32802?expand=all +1.474 +$ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle/10568/32802?expand=all +2.141 +$ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle/10568/32802?expand=all +1.685 +$ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle/10568/32802?expand=all +1.995 +$ curl -o /dev/null -s -w %{time_total}\\n https://cgspace.cgiar.org/rest/handle/10568/32802?expand=all +1.786 +</code></pre> + +<ul> +<li>Last week it was an average of 8 seconds&hellip; now this is <sup>1</sup>&frasl;<sub>4</sub> of that</li> </ul>