Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test 10'000 votes #125

Closed
13 of 19 tasks
ineiti opened this issue Feb 27, 2024 · 2 comments
Closed
13 of 19 tasks

Test 10'000 votes #125

ineiti opened this issue Feb 27, 2024 · 2 comments
Assignees

Comments

@ineiti
Copy link
Member

ineiti commented Feb 27, 2024

Here some bugs which still exist while testing 10'000 votes on a production system:

  • make sure the votes actually work - my current script sends invalid votes
  • don't lose votes, not sure which one is faster of - see also Robustness: concurrency issues dedis/d-voting#345 Robustness: votes are disappearing between the backend and the DELA node dedis/d-voting#346
    • adding a queue in the backend to only send one vote every 2 seconds
    • find the bug and fix
  • check that we can do 2'000 votes
    • voting: 100ms-120ms for every ballot
    • shuffling: 5 minutes
    • decryption: 2 minutes
    • error while sending the combination: wrong nonce (2107 < 2110)
    • cycling nodes
    • combining: 2 minutes
    • results seem OK
  • check that we can do 10'000 votes
    • closing: 80s
    • shuffling: failed
    • changed GetProof to GetRead
    • shuffling: 9m
    • decryption: 5m
    • combining: 1m - frontend shows timeout
    • results seem OK
  • check that we can do 10'000 votes - new version w/o GetProof
    • closing: 7s
    • shuffling: times out - reloading shows that shuffling is available
    • shuffling: 11m
    • decryption: 1m - 1st failed, restarted blocks, restarted decryption
    • combining: 1m
    • results seem OK
  • when getting the list of the forms in the frontend, it loads all votes, just to show the list - the slowdown was in the backend
  • fixed
    • Failure when lots of data to load #126
    • check what happens if the nodes restart before/during setup
    • sometimes the viewchange fails, and I'm not sure if it works with restarting the nodes
    • sometimes one of the nodes is not available for the initialization step, and then everything fails
    • look for more Heisenbugs

To be done later:

@ineiti ineiti self-assigned this Feb 27, 2024
@ineiti ineiti added this to D-Voting Feb 27, 2024
@PascalinDe PascalinDe moved this to In Progress in D-Voting Mar 7, 2024
@PascalinDe
Copy link
Member

is this ticket up-to-date?

@ineiti
Copy link
Member Author

ineiti commented Mar 7, 2024

Updated it and closed it. There are a couple of heisenbugs which seem to be fixable by restarting the nodes.

@ineiti ineiti closed this as completed Mar 7, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in D-Voting Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants