Memcached vs SQL Server cache

后端 未结 3 1719
孤街浪徒
孤街浪徒 2020-12-31 01:06

I\'ve been reading a lot of articles that suggest putting a Memcached (or Velocity, etc) in front of a database is more efficient than hitting the database directly. It wil

3条回答
  •  猫巷女王i
    2020-12-31 01:28

    Another benefit can also be that SQL Server is expensive to scale whereas adding a new web/caching server can be cheaper to achieve.

    We use caching at an application level to store all sorts of things, not all of them from a database either. You may manipulate data objects in your code then add to cache for instance.

    You can even store markup if necessary (output caching).

    In one day by using caching we moved our site from being able to handle 150 concurrent session while stress testing to well over 800. I strongly recommend using it!!

提交回复
热议问题