(39)Avoid using session state

招数39:

避免使用会话状态

Where possible, you should try and avoid using session state. Whilst using one web server, performance is usually not a problem. This changes as soon as you need to scale to multiple servers, as different, and usually slower, techniques need to be used.
如果可能,你应该试着避免使用会话状态。在使用一台Web服务器时,性能通常不是一个问题。一旦你需要扩展到多态服务器就会变的不同,比平时慢,而且需要使用技巧。

相关文章:

  • 2022-01-08
  • 2021-11-04
  • 2021-11-07
  • 2021-05-27
  • 2022-02-14
  • 2021-12-05
  • 2021-11-18
  • 2022-01-24
猜你喜欢
  • 2021-07-22
  • 2021-07-17
  • 2021-07-02
  • 2022-01-10
  • 2022-02-16
  • 2022-01-27
  • 2021-06-28
相关资源
相似解决方案