Not sure if they will gain a lot of performance from this transition...according to shootout ( http://shootout.alioth.debian.org/u64q/which-programming-lan... ) python is only few % faster than ruby. Maybe they should consider porting their entire ecosystem to JVM as twitter did it.
Justin.tv porting their site from Rails to Django?
11–20 of 65 posts
Re: Justin.tv porting their site from Rails to Django?
#12I have never hosted/written a django app, do people typically run a request in a thread in django? I thought python had a GIL just like Ruby (1.9+).
I wouldn't recommend using something like rails to stream video, however there are tons of great asynchronous ways to do this and it seems like the justin.tv guys are familiar with this. I would be curious to hear why the rewrite?
* youtube: http://highscalability.com/youtube-architecture * itunes: I have a friend on the itunes team and from what i can garnish from him their java servers are single threaded and their boxes hum around 10% cpu usage however they are bound on memory (similar to rails as they are not using java threads for each request). Akamai serves most of the content as I understood it.
Re: Justin.tv porting their site from Rails to Django?
#13Not sure if they will gain a lot of performance from this transition...according to shootout ( http://shootout.alioth.debian.org/u64q/which-programming-lan... ) python is only few % faster than ruby. Maybe they should consider porting their entire ecosystem to JVM as twitter did it.
They could gain in productivity and ease of support
Re: Justin.tv porting their site from Rails to Django?
#14It's hard to know all the details but it seems like most other video providers* scale by using http caching [max age + etags] with a CDN. Language performance isn't really the bottleneck remote calls are much slower :/ I have never hosted/written a django app, do people typically run a request in a thread in django? I thought python had a GIL just like Ruby (1.9+). I wouldn't recommend using something like rails to s…
Re: Justin.tv porting their site from Rails to Django?
#15Re: Justin.tv porting their site from Rails to Django?
#16It's hard to know all the details but it seems like most other video providers* scale by using http caching [max age + etags] with a CDN. Language performance isn't really the bottleneck remote calls are much slower :/ I have never hosted/written a django app, do people typically run a request in a thread in django? I thought python had a GIL just like Ruby (1.9+). I wouldn't recommend using something like rails to s…
Btw: http://highscalability.com/blog/2010/3/16/justintvs-live-vid...
Re: Justin.tv porting their site from Rails to Django?
#17hope sick office is a typo, must be slick office
Re: Justin.tv porting their site from Rails to Django?
#18"We're located in downtown San Francisco and have a sick office overlooking Market St." hope sick office is a typo, must be slick office
Re: Justin.tv porting their site from Rails to Django?
#19Sometimes people in HN make the stupidest assumptions.