Best Solution for Caching

后端 未结 9 685
走了就别回头了
走了就别回头了 2020-12-13 11:57

Where is the best place to implement caching in a web based app?

  • At the presentation layer (hope not)?
  • At the Business Logic Layer?
  • At the da
9条回答
  •  失恋的感觉
    2020-12-13 12:09

    We implement it at the business logic layer between interactions with the presentation layer. If a request from the presentation layer comes in and it is cached we can then skip a whole lot of logic and data access.

    I'd highly recommend MemCached over MS Velocity, Velocity was a pain to setup!

提交回复
热议问题