Shorten url using dynamoDB

I am using my own amzon account at the moment.

So you will have trouble testing.

According to my calculations, it should be quite cheap if we decide to go this way
(less than 5 dollars per month)
http://calculator.s3.amazonaws.com/index.html

Table size:
1’396 MB
Number of rows at the moment:
2’577’960
Number of new rows per day (as of yesterday)
8’121
8’150*365 = 2’974’750 new rows per year

Read/write per seconds (mostly over 12 hours)
8’121/60*60*12 (sec) = 0.18 write per seconds (less than one)


Code is pretty straightforward at the moment, it's just a demo.


Useful links:
http://boto.readthedocs.org/en/latest/getting_started.html
https://github.com/boto/boto
https://boto.readthedocs.org/en/latest/dynamodb2_tut.html
https://boto.readthedocs.org/en/latest/ref/dynamodb2.html

To me this is very scary, we use only one credential for everyone and only one table for every staging environment.