Identity/Dialup Performance Crew

From MozillaWiki
Jump to navigation Jump to search

Goal

Persona needs to be fast enough to be usable on slow Internet connections like dialup and 2G

Factors to consider

  • high latency (i.e. minimize number of connections, reuse them)
  • low bandwidth (i.e. minimize size of resources)
  • slow DNS resolution (i.e. minimize number of domains to lookup)

Working pad

https://id.etherpad.mozilla.org/make-us-fast

Testing

To deploy an awsbox with rate limiting:

1. Get this branch:
git remote add francois git://github.com/fmarier/browserid.git
git checkout -t francois/perslona
2. Deploy to AWS:
scripts/deploy.js deploy perslona-yourname -t m1.small
3. Log into that box as the ec2-user and turn on throttling:
ssh ec2-user@perslona-yourname.personatest.org
sudo /home/app/code/scripts/throttle dialup lossy
4. Destroy the instance when you're done:
scripts/deploys.js destroy perslona-yourname

Specific bugs