Connection Pool Strategy: Good, Bad or Ugly?

后端 未结 6 2061
甜味超标
甜味超标 2021-01-31 18:10

I\'m in charge of developing and maintaining a group of Web Applications that are centered around similar data. The architecture I decided on at the time was that each applicati

6条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-31 18:20

    Excellent question. I don't know which way is better, but have you considered designing the code in such a way that you can switch from one strategy to the other with the least amount of pain possible? Maybe some lightweight database proxy objects could be used to mask this design decision from higher-level code. Just in case.

提交回复
热议问题