Main causes of lag

From Meta, a Wikimedia project coordination wiki
(English) This is an essay. It expresses the opinions and ideas of some Wikimedians but may not have wide support. This is not policy on Meta, but it may be a policy or guideline on other Wikimedia projects. Feel free to update this page as needed, or use the discussion page to propose major changes.
Translate

Wikipedia is a server which suffers from a periodic severe lag problem.

The primary causes for this, in descending order of importance are:

  • Too many users? (speculation)
  • Poor programming? (speculation)
  • Too many searches? (speculation)

But surely these aren't insurmountable problems! After all google has a far more enormous cache with far more requests and yet regularly turns out search results in the blink of an eye!

Google also has lots of funding and thousands of servers.

How do we get lots of funding and thousands of servers then? :)