Skip to content

point-line-surface-body/music-share

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple web.py application for music sharing

Requirements:

webpy & python mysql support
python-magic : http://gavinjnet.blogspot.com/2007/05/python-file-magic.html
python-simplejson

Arhitecture:

Master/Slave MySQL database:
 - write to master & read from slaves
Cluster of identical nodes. Components:
 - nginx + wsgi for app
 - log analyser 
Memcache for session storage & for avoiding database hits
Apache Solr for search and clustering
ActiveMQ for async tasks

Details:

Upload steps:
- check file format & extract info
- check local storage space & save if available
- if space not available contact another computer from cluster
- send message notification of the new file

Log analyser:
- watch nginx log and node load. if high load detected 
send notification message in order to improve capabilities

About

Web application for music sharing. A personal scalability experiment.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 54.8%
  • CSS 45.1%
  • Shell 0.1%