Open nharraud opened 8 years ago
A minimal such test should be performed before upgrading CSC production site.
Before these tests are done the deployment should be improved, see #1126.
Minimal test:
What else?
Now there is new server up&running with b2share 2.0 evolution for the stress-testing @ https://eudat-b2share-test.csc.fi/ so the demo-site itself don't need to be flooded. Also, the new server will have similar setup as the new production server where we are going to move so it's better to use that one for testing.
Thanks a lot @llehtine !
Can you provide the approximate config of the server? Just to have an idea of the number of containers and services we can run on it.
It has 1 vCPU with 4GB RAM / 20GB Amounts can be increased if necessary. Do you think the disk amount would be enough for this kind of purpose?
Before asking for more I need some more information:
From the specifications of this server it looks like there will not be many people using the server (which is currently the case). However I am worried that this might not represent B2Share's max requirements (B2Share software, not the CSC service).
We also have to take into account future features. If we later do tasks such as generate data previews, the next server will have to be more powerful. How much more powerful depends on the previous questions.
@thijscobben @emanueldima @SarahBA @llehtine Who can I ask for those information?
@nharraud Nobody can tell you, but we can find a probable maximum based on the number of dropbox users and percent of researchers.
@emanueldima Ok, I'll ask Chris Ariyo and Mark. There should be somebody knowing at the very least how many users should one instance of B2Share support in the future. If there isn't, we must put pressure to have this information, otherwise we can't scale.
Knowing how many users we have today is not enough as it won't prepare us for the V2 release.
If nobody can give an approximation, the best approach IMHO would be to test B2Share with Zenodo's requirements. This would be more realistic.
depends on #1126
This is in requirements gathering phase. This also has to do with Europeana and setting up test environment for performance testing. This will probably be an ongoing issue. I will try to create smaller, deliverable, tasks out of it.
@thijscobben I started listing tests, in the issue's description, which might fail once a B2SHARE instance is scaled.
We need to add a few tests to check for the performance of B2Share. Locust seems to be a simple enough solution.
These tests would only check the REST API.
depends on #1126
Tests to perform:
list_db_published_records
in order to stream results. See this article for a better explanation.This issue is about testing. A separate issue should be created for each scalability/performance problem once detected.