Disqus

is webwide discussion — Saturday, 13th December, 2008

Disqus is a free service powering conversations on thousands of websites and used by millions of people every month. This week I spoke to Danial Ha, one of the founders, about their project and why they chose to use Django.

Vital Stats

The Down-Low

Disqus, with the tagline webwide discussion, is a web service that provides, manages and enhances the comments on websites, including blogs, newspapers and other applications. It's built with both publishers and commenters in mind, and links comments on different websites together to try and help avoid the disjointed conversation that often occurs in blog comments.

Disqus was started by Daniel Ha and Jason Yan in mid 2007, with the aim to improve comments on websites everywhere. Using seed funding from Y Combinator, Daniel and Jason turned their idea into a reality.

Daniel says that publishers like the Disqus system as it creates visitor engagement and generates exposure to a larger audience, whilst commenters like the system because commenting is made easier and they gain control over the comments they leave.

Starting in June 2007, Daniel and Jason pulled the best pieces out of a number of their other projects to put together the comment-based service that we know today, with a private beta available in August. With Jason working on the back-end code and Daniel focusing on the user interface, it took the two of them just two months to reach private beta.

After a number of code iterations, the public launch occurred in October 2007 and today is being used by over 35,000 publishers to manage millions of comments by over half a million different people. The service allows a publisher to embed a snippet of Javascript on their webpage to get full commenting functionality, and a web-based forum is provided under a disqus.com subdomain. Full moderation and comment administration functionality is thrown in for free.

Disqus is powered by Django, and when asked why Daniel's response as built upon one sentence: "We wanted to work with Python.".

Rapid web development was the key factor in selecting a framework, even though the team hadn't quite fleshed out the functionality of Disqus at that time. They looked at Ruby on Rails, but knowing and loving Python caused them to look at the world of Python web frameworks. The first framework they tried out was Django, and it was everything they wanted in a single package from it's design and philosophy to it's presentation.

After a few sample applications were tried out, the decision was made to use Django.

Some of Django's core functionality turned out to be the most useful to Jason and Daniel, including the URL mapping, template system, caching framework and ORM. "There are lots of built-in shortcuts and utilities helping us along." says Daniel of this functionality.

Due to the modular design of Django, there weren't many roadblocks that were encountered. Jason's view on Django's shortcomings is simple: "It's easy to do things our own way when necessary."

The development of Disqus was done on a copy of the Django source code tree rather than restricting themselves to an older release. Whilst not yet using Django 1.0, the copy of Django that Disqus use contains a number of patches, many of which have since made it into the core Django distribution.

To ease deployment, the Django source code is stored inside the Disqus code repository so it's deployed alongside the application code. Other than Django, "tons" of open source code is being used to power the site including Linux, PostgreSQL, Apache, Memcached, nginx and many python libraries. Since launch some scaling technologies have been implemented to deal with the 3 million page views a day, including caching and an Nginx reverse-proxy to multiple web servers.

Jason and Daniel are currently in the process of moving Disqus to a multi-database configuration to increase the ability for the website to scale as growth continues. They're also expanding the team to improve their service.

Overall, Daniel described the development process with Django at it's core as "Rapid, rewarding, and very educational" - a great set of attributes for Django, known as the web framework for perfectionists with deadlines.

*A big thank-you to Daniel Ha from Disqus for spending time answering my questions for this weeks Django Site of the Week. You can visit the Disqus website at disqus.com

Thanks

Special thanks go to Daniel Ha for this interview.

Disqus can be visited at http://disqus.com/. It is also listed at DjangoSites.org.

Comments Comments

Posted by vernomcrp

3:20 p.m. on Tuesday, 23rd December, 2008

yr idea's cools! :)

Posted by Mhunter

12:37 a.m. on Friday, 19th March, 2010

I've recently discovered disqus for myself, but all at once i can see its benefits. improvements it's always nice, especially if the results they bring are as good as in this very case.

Posted by Paisley Slater

6:19 a.m. on Thursday, 25th March, 2010

It is glad to see this blog, it is good and detailed fun to read this, nice informative blog, Thanks for share this article.

Posted by Margarita Shelton

5:10 a.m. on Thursday, 1st April, 2010

Disqus is a great tool, I have it on many of my blogs already. It will only get better in the next few years..Disqus is a popular commenting platform...

Posted by hotel cityhotel amadeus in muenster

8:06 p.m. on Tuesday, 6th April, 2010

Link Major,shall unlikely manager advance crowd model mile claim persuade hit admit number birth leading labour effective central hang reduce recognition improve consequence interest dead table clothes job protect rock stop mistake consumer facility feeling word water everyone growth launch stay derive define restaurant down avoid reasonable damage examination largely nice protection tend prison responsible talk light nice shoulder pay significant chief fast hence thus effective feel young victory late song dream inside allow chair enable gather injury short field reflect climb next drug southern council baby war enjoy sale point

Posted by ClubPenguinCheats

10:03 a.m. on Thursday, 8th April, 2010

Since launch some scaling technologies have been implemented to deal with the 3 million page views a day, including caching and an Nginx reverse-proxy to multiple web servers.

Posted by labatterie

1:15 p.m. on Monday, 3rd May, 2010

It will only get better in the next few years..Disqus is a popular commenting platform...

Posted by mbt shoes sale

1:14 p.m. on Monday, 28th June, 2010

These games are awesome and the graphic is awesome as well,I recently playing them days and nights!,and I definitely agrree what up floor said. I would like to play the game with updated graphics, but then again, I think they game should be "perfect" and faithful to the original. Another I gonna buy some shoes and clothes ,you guys give some advises for me about below websites at www.air-jordan-3.com .Thanks

Posted by mbt

6:54 p.m. on Wednesday, 21st July, 2010

do you want to become the beautiful scenery this summer? or do you want to attract eyeball among the crowd?now,listen carefully,your wishes will

come true here.we support all different kinds of beautiful leisure production,such as sunglasses,t-shiirts and swim trunks et.from here,you will

find your favorite things.What are you waiting for?go and choose the now!

Share Your 2c

This is not published, and is only used for moderation purposes.
Markdown is hot, HTML is not.
If you enter anything in this field your comment will be treated as spam