Skip to main content

Ken Wei's Library tagged performance   View Popular

Scaling Audiogalaxy to 80 million daily page views | Spiteful.com

  • Different sets of slaves had different indexes, and our database access layer could pick a different cluster based on the necessary index.

High Performance Web Sites

  • With a long career as a backend engineer at Yahoo! and other web companies, I expected to focus
    on backend optimizations.
    I was surprised to find that 80-90% of the time spent by users waiting for pages to load is spent
    on the frontend, all the work that needs to be done after the HTML document has arrived.
    Backend optimization is still critical - it drives down hardware costs and reduces power consumption.
    But if your goal is to make your pages faster for your users, the place to start is the frontend.
02 Jun 07

REST架构风格的性能为何比其他的架构风格更好 - 李锟 - CSDNBlog

  • 杨光认为因为REST是基于文本来进行通信,所以其性能肯定不如基于二进制格式的通信协议好。因为这是一个对于REST的明显的误解,所以我觉得有必要专门在这里澄清一下。
  • David: 性能不单纯取决于传输数据是二进制还是纯文本。我告诉你为什么。
    David: 因为二进制数据的语义对于中间组件是不可见的,它就无法做有效的缓存,当然也无法确定此数据是否会对安全构成威胁。
    David: REST强调通信语义对于中间组件的可见性,这样可以改善性能和可伸缩性。
    David: 所谓的中间组件,浏览器就是一种。浏览器可以根据通信的语义来确定数据有没有发生改变,从而进行有效的缓存。
    David: RMI传输数据再有效,它的数据也无法做有效的缓存。因此RMI的性能未必比REST好,况且不能缓存会带来严重的可伸缩性问题。
    David: 这些思想其实在论文中都有很详细的描述,你再看一遍就全明白了。
    Allen: 这么说也有道理,等有实现rest的经验后,就一切都明白了
29 May 07

Ruby on Rails and FastCGI: Scaling using processes instead of threads

  • Something that doesn't get a lot of attention is it's scalability solution: FastCGI. Partly because it doesn't seem very exciting on first glance and partly because it's so fundamentally different to how "enterprise systems" have traditionally scaled.
  • Each thread handles a number of requests at the same time, as one request waits for IO it moves on and processes another request.
  • 3 more annotations...
23 May 07

The C10K problem

  • Unfortunately, select() is limited to FD_SETSIZE handles.
  • There is no hardcoded limit to the number of file descriptors poll() can handle,
    but it does get slow about a few thousand, since most of the file descriptors
    are idle at any one time, and scanning through thousands of file descriptors
    takes time.
  • 3 more annotations...
20 May 07

mnot’s Web log: httperf rev

  • It is my pleasure to announce two new versions of httperf: 0.8.1 and 0.9.0. version 0.8.1 fixes the known bugs in version 0.8, which was released almost 7 years ago.
1 - 20 of 29 Next ›
Showing 20 items per page

Diigo is about better ways to research, share and collaborate on information. Learn more »

Join Diigo