Thanks Jared for your quick reply,
in the meantime I did some performance testing and posted the results as a comment in the wiki [1]. There is really a big difference between pairtree on and off. When off, the POSTing gets significantly slower the more children there are. That also stays the same if I stop the script, restart the container to free memory and continue posting to the same resource (that shouldn't be necessary anyways).
We would rather stick with the default/recommended setting (pairtree off), as we assume there is a reason for the recommendation. The rate (~200 obj/minute) is still faster than what we need it to be (the tool that generates the resource-packages which are uploaded to Fedora is slower). But we are unsure what happens, if there are, let's say, half a million or more direct children. Would we still be able to add more at a reasonable rate? Or would it break down altogether? - Is there anything we could do in the (memory-?)settings to speed the whole thing up? Maybe use postgres instead of mysql? Or throw heaps of memory on it?
What I also didn't expect is that Fedora 6 is slower. The only difference is that it is run in docker (and uses postgres). It looks like in Andrew's demo it is way faster, although I don't know which exact script and configuration he is running there [2]. He speaks about 4 million ingested objects, but I am not sure if they are kept, as there are also DELETE-requests showing up under the first graph. Also, here the ingest rate is not slowing down like in my tests. So, any suggestions what might be the difference?
I couldn't get it to run with the changed spring config and switched-on pairtree as described here [3]. It looks like the custom fcrepo.properties / fcrepo-config.xml is being used, but still no pairtree is created. So unfortunately I couldn't test that (yet). I did
$ docker run -p8080:8080 -v/home/myuser/fcrepo.properties:/fcrepo.properties:Z -v/home/myuser/fcrepo-config.xml:/fcrepo-config.xml:Z -e CATALINA_OPTS="-Dfcrepo.config.file=/fcrepo.properties" --name=fcrepo fcrepo/fcrepo
$ docker exec -it fcrepo bash
root@b33edc54e1a7:/usr/local/tomcat# cat /fcrepo.properties
fcrepo.spring.configuration=file:/fcrepo-config.xml
fcrepo.config.xml with the first bean under PID-Minter enabled and the c-namespace added in the beans node.
What am I doing wrong here?
Sorry for putting multiple issues in this one reply...
Hope anyone can help! :)