3 ms·
why were they using python for performance critical code in the first place? Go seems closer to java's niche to me.
by axelf 12y ago
why were they using python for performance critical code in the first place? Go seems closer to java's niche to me.
- rch 12y agoThey had a fairly popular post on the subject a while back: http://blog.disqus.com/post/62187806135/scaling-django-to-8-billion-page-views 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.
- disputin 12y agoYes, why is Go constantly compared to Python?
- mattrobenolt 12y agoFor 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.
- sologoub 12y agoDisqus was originally built on Django: http://blog.disqus.com/post/62187806135/scaling-django-to-8-billion-page-views 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.
- melling 12y agoWhat Go web framework did they move to?
- voidlogic 12y agoIt doesn't say, but probably none. My guess would be they just used "net/http" + Gorilla (maybe). Gorilla: http://www.gorillatoolkit.org/ http://www.gorillatoolkit.org/
- Oculus 12y agoI imagine at their size they're using raw Go without any framework.
- mattrobenolt 12y agoWe're not using a framework. This is a tiny component and the rest of Disqus is still Django.