Update notes for 2015-12-02

Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
2015-12-02 21:11:28 +02:00
parent 784d8f0af1
commit 0e5e4eadf9
4 changed files with 67 additions and 0 deletions

View File

@ -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