techtonik / pydotorg.status Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/pydotorg.status
Automatically exported from code.google.com/p/pydotorg.status
monitor status of python.org services design and task backlog ----------------------- [x] use AppEngine (no hosting, easy to setup and upload, high availability) [ ] create page that downloads www.python.org and prints response time [x] use URL Fetch API http://code.google.com/appengine/docs/python/urlfetch/ [ ] process exceptions (needs two levels - warning and fails) [ ] download size exceeded sane amount (hardcoded 200k) [x] timeout fail [ ] warning if response is too slow (hardcoded 5 seconds) [x] store response time in DB [x] limit probes to 1 request per minute [ ] limit stored data rate to 1 record per minute [x] store failures [x] show last seven measurements [ ] memcache last measurements [x] memcache time of the last probe [ ] add Graphite output to index page [ ] show response time on Graphite graph (Y - latency, X - measurement date) [ ] show warnings on Graphite diagram [ ] show failures [x] cron job to ping every minute [ ] move cron probe to a separate URL and secure access to it http://code.google.com/appengine/docs/python/config/cron.html --- [ ] feature creep [ ] self-accessment, i.e. register warn if time between requests is more than [ ] port to different frameworks for comparison [ ] show AppEngine CPU/MEM/etc. usage on the main page [ ] display similar Graphite diagram when clicked [ ] add guard for unknown failures/exceptions [ ] email/xmpp unknown failures/exceptions maintenance backlog ------------------- [x] choose Django version explicitly to avoid complains in logs [x] switch templates from webapp to using Django directly [x] switch to High Replication Datastore (HRD) [x] switch to Python 2.7 [x] switch to NDB user story evolution -------------------- version 1: need a service to monitor python.org site [x] probe that pings site every minute [x] web interface to see the status version 2: optimize the code to squeeze into AppEngine quota (currently 1 req/minute takes 30% of CPU monthly) [x] avoid template rendering overhead when probing (CPU/sec dropped from 0.004+ to 0.003- per probe) (before migration to HRD and Python 2.7 cpm_usd was about 0.0055) (after migration to HRD cpm_usd raised to 0.012 on average) version 3: switch to Python 2.7 and NDB License :: Public Domain or MIT Support :: https://groups.google.com/forum/#!forum/pydotorg Authors :: anatoly techtonik <[email protected]> references ---------- http://code.google.com/status/appengine http://www.pypi-mirrors.org/ https://github.com/kencochrane/pypi-mirrors
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.