BIRT 3.7
Written by: Michael Williams
Featured Refcardz: Top Refcardz:
  1. Scrum
  2. Apache Maven 2
  3. Essential MySQL
  4. Node.js
  5. Groovy
  1. jQuery Selectors
  2. Ajax
  3. Java
  4. Spring Config.
  5. Java Concurrency

Link Details

Link 491909 thumbnail
User 743753 avatar

By jrandol
via amix.dk
Published: Sep 27 2010 / 22:38

In this post I'll show you how to implement really fast polling using C and libevent, memcached and nginx. The performance of the server is over 2400 request pr. second on a not optimized Mac Book - that's 144.000 requests pr. minute. At Plurk we use polling and we have thousands of live users hammering the service with poll requests. It's beginning to be pretty expensive so I set a goal to optimize it. We currently use this approach in production and it uses around 2% of CPU and _very_ little memory.
  • 7
  • 1
  • 2683
  • 5

Comments

Add your comment
User 393686 avatar

RawThinkTank replied ago:

-3 votes Vote down Vote up Reply

Developers cant care about performance , its all about the development time/speed.

You need to focus on Vala, anything happening there must be more productive due to the latest features in that language.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (6)



Voters Against This Link (1)