Objectives
The workflow described bellow is slow in the read and write phase.
We have identified some tracks, but the first objective is to confirm the causes of these slowdowns. The second objective will be to resolve them.
Context
On our platform https://ppan-pprod.opensourcepolitics.net, we use France Connect as identity provider.
Two workflows are tested with JMETER and need to be improved:
- The write scenario
- The read scenario
Steps to reproduce the write scenario :
- The user goes to the platform's home page ('https://ppan-pprod.opensourcepolitics.net/')
- he clicks on the link (button or menu) leading him to the petitions index page,
- In the search field, enter a few keywords to target the subject petition of the test and then run the search,
- he clicks on the "find out about the petition and sign it" button of the target petition,
- He clicks on the "verify your account to sign" button,
- It is authenticated with FranceConnect (*),
- He selects his region and signs,
- He disconnects.
The read scenario : visitor checks out a petition
- User visits the home page
- User goes on the initiatives index
- User visits a petition page
To do
Focus on the scope described by the Jmeter scenario, (Homepage, search, index initiatives, show initiatives, signature initiatives...etc)
READ
WRITE
This is the part we have the less insights
- Refactor session store initiatives draft creation
- Identify how we can create a petition with as few steps as possible to reduce writing time in the DB
- Identify superfluous entries in the database during the signature phase and delegate as much as possible to Sidekiq
- Improve the performance of the signature counter
Objectives
The workflow described bellow is slow in the read and write phase.
We have identified some tracks, but the first objective is to confirm the causes of these slowdowns. The second objective will be to resolve them.
Context
On our platform https://ppan-pprod.opensourcepolitics.net, we use France Connect as identity provider.
Steps to reproduce the write scenario :
The read scenario : visitor checks out a petition
To do
Focus on the scope described by the Jmeter scenario, (Homepage, search, index initiatives, show initiatives, signature initiatives...etc)
READ
WRITE
This is the part we have the less insights