Re:Disqus: It's Still About Realtime, But Go Demolishes Python
by axelf on Wednesday May 07, 2014 @01:53PM
(#7711670)
why were they using python for performance critical code in the first place? Go seems closer to java's niche to me.
[ Parent
| on HN ]
Re:Disqus: It's Still About Realtime, But Go Demolishes Python
by sologoub on Wednesday May 07, 2014 @02:03PM
(#7711734)
Disqus was originally built on Django: http://blog.disqus.com/post/62187806135/scaling-django-to-8-...
It seems that this is what the found team was most comfortable with, so it makes sense that they proceeded to solve problems using tools they already knew well. At some point, they exhausted how far they could take their existing tools and started investing into new tools.
Re:Disqus: It's Still About Realtime, But Go Demolishes Python
by melling on Wednesday May 07, 2014 @02:06PM
(#7711759)
What Go web framework did they move to?
Re:Disqus: It's Still About Realtime, But Go Demolishes Python
by mattrobenolt on Wednesday May 07, 2014 @02:47PM
(#7711969)
We're not using a framework. This is a tiny component and the rest of Disqus is still Django.
Re:Disqus: It's Still About Realtime, But Go Demolishes Python
by voidlogic on Wednesday May 07, 2014 @02:23PM
(#7711843)
It doesn't say, but probably none. My guess would be they just used "net/http" + Gorilla (maybe). Gorilla: http://www.gorillatoolkit.org/
Re:Disqus: It's Still About Realtime, But Go Demolishes Python
by elithrar on Wednesday May 07, 2014 @08:32PM
(#7713364)
Given it sounds like this application is not "web facing" (i.e. not an API nor rendering HTML), the use of any "web framework" or Gorilla doesn't make much sense.
Re:Disqus: It's Still About Realtime, But Go Demolishes Python
by voidlogic on Friday May 09, 2014 @06:53PM
(#7723684)
I write back-end stuff like this all the time and it often has admin interfaces.
Re:Disqus: It's Still About Realtime, But Go Demolishes Python
by Oculus on Wednesday May 07, 2014 @02:26PM
(#7711856)
I imagine at their size they're using raw Go without any framework.
Re:Disqus: It's Still About Realtime, But Go Demolishes Python
by rch on Wednesday May 07, 2014 @01:58PM
(#7711700)
They had a fairly popular post on the subject a while back:
http://blog.disqus.com/post/62187806135/scaling-django-to-8-...
In short, since they were not really pushing volume with Python, just feeding data to Varnish, throughput wasn't such a big deal.
Re:Disqus: It's Still About Realtime, But Go Demolishes Python
by disputin on Wednesday May 07, 2014 @02:01PM
(#7711726)
Yes, why is Go constantly compared to Python?
Re:Disqus: It's Still About Realtime, But Go Demolishes Python
by mattrobenolt on Wednesday May 07, 2014 @02:52PM
(#7711997)
For me, it felt comfortable writing Go, considering I've been mostly writing Python for the past 8 years. So the transition was a lot more natural, compared to using Scala or Erlang or anything else.
Again, this is my subjective opinion, and this is why we chose to use Go for our new stuff instead of something different.