Testing on AWS
Andrew
Tests on t2.large
- Instance type: t2.large
- 2 vCPUs
- 8 GB memory
PostgreSQL
Environment
- Fedora deployed into Tomcat 9
- 6.0.0-SNAPSHOT | Build #3e25823d (2020-09-09)
- PostgreSQL running in Docker
Tests
- JMeter test 4 - Number of containers - default
Results
- ??
Tests on t2.medium
- Instance type: t2.medium
- 2 vCPUs
- 4 GB memory
MariaDB
Environment
- Fedora deployed into Tomcat 9
- 6.0.0-SNAPSHOT | Build #9ede6c3c (2020-08-07)
- MariaDB running in Docker
Tests
- JMeter test 2 - Size of files - small
Results
- Instance froze (became unresponsive) before 100,000 resources
...
- Instance type: t2.xlarge
- 4 vCPUs
- 16 GB memory
MariaDB
Environment
- Fedora deployed into Tomcat 9
- 6.0.0-SNAPSHOT | Build #9ede6c3c (2020-08-07)
- MariaDB running in Docker
Tests
- JMeter test 2 - Size of files - small
Results
- Failed at 12,799 resources
Expand summary + 72 in 00:00:10 = 7.0/s Avg: 138 Min: 62 Max: 147 Err: 1 (1.39%) Active: 0 Started: 1 Finished: 1
summary = 12799 in 00:18:29 = 11.5/s Avg: 81 Min: 3 Max: 270 Err: 1 (0.01%)
Sep 08 23:48:10 ip-10-0-0-234 tomcat9[3189]: ERROR 23:48:10.279 (TransactionImpl) Failed to rollback storage in transaction c6af5528-8883-42f1-9d5f-67a352a5c1fb
Sep 08 23:48:10 ip-10-0-0-234 tomcat9[3189]: org.fcrepo.persistence.api.exceptions.PersistentStorageException: Unable to rollback storage session c6af5528-8883-42f1-9d5f-67a352a5c1fb completely due to the following errors:
Sep 08 23:48:10 ip-10-0-0-234 tomcat9[3189]: Cannot rollback object <info:fedora/28cfe2b3-162e-4d7b-ad19-aa36cb4ea95a>. Rollback to previous version not yet implemented.
Sep 08 23:48:10 ip-10-0-0-234 tomcat9[3189]: at org.fcrepo.persistence.ocfl.impl.OcflPersistentStorageSession.rollbackCommittedSessions(OcflPersistentStorageSession.java:415)
Sep 08 23:48:10 ip-10-0-0-234 tomcat9[3189]: at org.fcrepo.persistence.ocfl.impl.OcflPersistentStorageSession.rollback(OcflPersistentStorageSession.java:360)
Sep 08 23:48:10 ip-10-0-0-234 tomcat9[3189]: at org.fcrepo.kernel.impl.TransactionImpl.lambda$rollback$0(TransactionImpl.java:112)
Sep 08 23:48:10 ip-10-0-0-234 tomcat9[3189]: at org.fcrepo.kernel.impl.TransactionImpl.execQuietly(TransactionImpl.java:237)
Sep 08 23:48:10 ip-10-0-0-234 tomcat9[3189]: at org.fcrepo.kernel.impl.TransactionImpl.rollback(TransactionImpl.java:111)
Sep 08 23:48:10 ip-10-0-0-234 tomcat9[3189]: at org.fcrepo.kernel.impl.TransactionImpl.commit(TransactionImpl.java:92)
Sep 08 23:48:10 ip-10-0-0-234 tomcat9[3189]: at org.fcrepo.kernel.impl.TransactionImpl.commitIfShortLived(TransactionImpl.java:177)
Sep 08 23:48:10 ip-10-0-0-234 tomcat9[3189]: at org.fcrepo.http.api.FedoraLdp.createObject(FedoraLdp.java:626)
PostgreSQL
Environment
- Fedora deployed into Tomcat 9
- 6.0.0-SNAPSHOT | Build #9ede6c3c (2020-08-07)
- PostgreSQL running in Docker
Tests
- JMeter test 2 - Size of files - small
Results
- Failed at 264,792 resources
Expand summary + 1249 in 00:00:30 = 41.6/s Avg: 19 Min: 3 Max: 108 Err: 0 (0.00%) Active: 1 Started: 1 Finished: 0
summary = 263967 in 01:43:56 = 42.3/s Avg: 19 Min: 2 Max: 665 Err: 0 (0.00%)
summary + 825 in 00:00:20 = 41.1/s Avg: 20 Min: 17 Max: 583 Err: 1 (0.12%) Active: 0 Started: 1 Finished: 1
summary = 264792 in 01:44:16 = 42.3/s Avg: 19 Min: 2 Max: 665 Err: 1 (0.00%)
Sep 09 01:45:57 ip-10-0-0-234 tomcat9[4233]: INFO 01:45:57.933 (FedoraLdp) Delete resource 'perf/perf_119336445'
Sep 09 01:46:19 ip-10-0-0-234 tomcat9[4233]: INFO 01:46:19.604 (TransactionImpl) Rolling back transaction b5612f9d-57de-47a7-9069-4f579afe62b5
Sep 09 01:46:19 ip-10-0-0-234 tomcat9[4233]: INFO 01:46:19.604 (OcflPersistentStorageSession) Rolling back storage session b5612f9d-57de-47a7-9069-4f579afe62b5
Sep 09 01:46:20 ip-10-0-0-234 tomcat9[4233]: ERROR 01:46:20.054 (WildcardExceptionMapper) Exception intercepted by WildcardExceptionMapper: Failed to commit object <info:fedora/7d4d0ab1-cebc-4822-bf64-3a7f3353a7ce> in session <b5612f9d-57de-47a7-9069-4f579afe62b5>
...