From Windows/ASPto Linux/Pythonby @tzangms
View Slide
musician@tzangmsCTO of StreetVoice小海
What we do atStreetVoice
Online.Offline
TV Shows
Events
Campus tours
Website, of course!
1Problemswhen I join StreetVoice
Not Scalable
ASP is too oldnot even ASP.net
REBOOTWindows Updateyour server
Automatically!
Poor Databaseperformance
Problem file structures/profile/1/image.jpg/profile/2/image.jpg/profile/3/image.jpg.../profile/999999/image.jpg
And we do so manythings.etc ...
With just 3 developersat that time.
How do Iconvincemy boss to usepython?
阿怪: ⾳音樂⼈人就該⽤用 Django
但其實說服⽼老闆我是⽤用唬爛的
因為我當時根本不會寫Python 阿!
Migrate
Django / ASPI have to runat the same time!
I migrate User datafirst.
Single sign onto make both Django/ASP login at the same time
/music/*/account/*/anything notported yet.
Migrate databasefrom Microsoft SQL Server 2000 to MySQL
Migrate file structureI have to move lots of files, and update database/profile/1/image.jpg/profile/2/image.jpg/profile/3/image.jpg.../profile/999999/image.jpg
Since StreetVoice has beenrunning for years, so ..
There are so many data
It’s Hell ...
I repeated all thesesteps, again and again
After 1.5 year
we finallyWindows / ASPkilled
What took me so long?
lots of casesand support
like...
Trainingexisting developer not familiar with open source
From no VCS, thenMercurial, now Git
What we usenow?
Database
Memcache:johnny-cache
Message Queue:Celery + RabbitMQ
Fulltext search:Haystack + Solr
Exception Logging:Sentry
We even open source nowjust get started
Yes, We’re gettingbetter and better.
Come join us!Python, Frontend, iOS, Sys Admin
Mail me[email protected]
Any Questions?