compserv / hknweb

The new HKN website (using Django, hopefully at hkn.eecs.berkeley.edu soon)
https://dev-hkn.eecs.berkeley.edu
MIT License
19 stars 108 forks source link

Update Candidate Account Provision to Use Bulk Creation #567

Open PBales1 opened 9 months ago

PBales1 commented 9 months ago

Previous implemented used for-loop to create accounts when provisioning candidate accounts via csv input, which was slow. This change removes the for loop when creating an account and processing it into the db, instead bulk provisioning and processing accounts into the db. Video attached below demonstrates process; note the fast processing speed compared to current implementation (Video size too large, so placed in linked drive folder).

https://drive.google.com/file/d/1IipyCfeK6iFGA98kBw9gvlkXljmFcEnR/view?usp=sharing