Hacker News new | past | comments | ask | show | jobs | submit login
Scaling Disqus (YC S07) (slideshare.net)
140 points by riffer on Sept 7, 2010 | hide | past | favorite | 22 comments



This is invaluable, thanks for sharing. We're running into some really interesting problems building Djangy.com - this slideshow is a goldmine.


How do you deal with schema changes? Do they force you to switch into a read-only mode?


The talk was recorded, and the video will be made available (once it's ready).


For such web services, what is the average/peak load on the network? Is it a bottleneck at all? Are the networks over provisioned?


The article says peak is 17k req/sec ... (I'm impressed)


Yes, I presume that's incoming 17k req/sec. Each incoming request can then lead to many database queries/memcached queries/etc. It would be more insightful if request/response sizes were also known.


There was no mention of MongoDB in this presentation, but Disqus is listed on the MongoDB Production Deployments page: http://www.mongodb.org/display/DOCS/Production+Deployments


I guess it’s nice to mention Disqus a using for MongoDb folks. They are not the first company to mislead on the internet.


Disqus also uses MongoDB amongst many other tools not mentioned. Those fine folks aren't misleading anyone.


I thought they were using mongodb, any idea why they switched to pgsql?


Disqus has used Postgres since the beginning. They also use mongodb.


Can we get a direct link to the PDF?



How many HAProxy server is being used? Just a main one with heartbeat for failover?


nice starcraft2 pitch at the end ;)


I see someone playing Starcraft most of the time while I pass by their office (ours is right above theirs).


Strategical Thinking Practice.


Probably dcramer


It's true :/


Why is emailing an exception bad (Slide 48)? Can a small site get away with it ?


A possible disaster scenario: connection issues with the SMTP server are causing the initial exception, resulting in webserver connections that are open for excessively long periods of time (unless you're sending the emails asynchronously), since the process is blocked first on the failed SMTP connection, then again on the exception email attempt (and you're still not getting any notification that something is broken, unless you're doing some other kind of monitoring!)


It's fine for small sites. You'll know when your site is too big for that feature from the pain in your inbox.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: