Live data from Hacker News

Justin.tv porting their site from Rails to Django?

djangohire.com

1–10 of 65 posts

Re: Justin.tv porting their site from Rails to Django?

#5
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.

Re: Justin.tv porting their site from Rails to Django?

#7

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.

They could run the site on PyPy as opposed to the CPython interpreter. Postgres and Django are well supported.

https://bitbucket.org/alex_gaynor/pypy-postgresql

http://speed.pypy.org/timeline/#/?exe=3,6,1,5&base=2+472...

Re: Justin.tv porting their site from Rails to Django?

#8
post #6

It seems like it would be easier to rewrite the site in a newer version of Rails rather than switching platforms entirely, so it sounds like someone's skillset is more Python based. Oh! Does the Python world have something like Rack?

Rack was inspired by pythons wsgi

Re: Justin.tv porting their site from Rails to Django?

#9
post #6

It seems like it would be easier to rewrite the site in a newer version of Rails rather than switching platforms entirely, so it sounds like someone's skillset is more Python based. Oh! Does the Python world have something like Rack?

Yes, there is WSGI which Rack is roughly based on.

WSGI 1.0, PEP-333: http://www.python.org/dev/peps/pep-0333/

WSGI 1.0.1, PEP-3333: http://www.python.org/dev/peps/pep-3333/

Re: Justin.tv porting their site from Rails to Django?

#10

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.

They could run the site on PyPy as opposed to the CPython interpreter. Postgres and Django are well supported. https://bitbucket.org/alex_gaynor/pypy-postgresql http://speed.pypy.org/timeline/#/?exe=3,6,1,5&base=2+472...

I would feel hard pressed to sell PostGres with PyPy as well supported at the moment.

Django maybe, purely because it doesn't depend on too many C Libs.

Post reply on HN