I want to release zopache.com as a web development platform, but I worry
that someone will overload the servers.
So I have to track bandwidth for each user account.
Traditionally this is done by creating log files and processing them,
but that seems exceedingly complex. Much easier to just have a python
object for each user account, and track the amount of bandwidth used in
the last day, week and month. Even for 50K users that cannot require
that much RAM.
Even if the web server goes down, and I loose the data, I do not care.
I just need to be emailed when limits are exceeded.
Is this a good idea, or should I be using log files?
For years i have been watching Twisted, but never really required it.
Maybe this is a good excuse to start using Twisted. Currently I am
Is there a library you would recommend to help me with this. An hour
spent searching the web did not turn up anything. It can't be that
hard to do.
What do you think?
Another Twisted release cycle dawns, and I bring you the first prerelease of Twisted 15.3.
This release is characterised by cleanups and porting, with at least ten modules ported to Python 3, and the removal of Lore, Twisted's use of Hotshot, and various other smaller deprecated classes and functions. Twisted has also shed its usage of "subprojects" -- there is now only one Twisted (long may it reign).
The tarball and the newsfile summarising all the changes can be downloaded from <http://twistedmatrix.com/Releases/pre/15.3.0pre1/>.
Enjoy, and test! If no issues are found, 15.3 will be released sometime next week.
Amber "Hawkie" Brown