Stateless service should be singleton or transient?

后端 未结 0 506
囚心锁ツ
囚心锁ツ 2020-12-24 13:55

"Transient scope is better when resource usage is temporary and of minimal impact. Singletons are best when you\'re utilizing limited resources, like sockets and connec

相关标签:
回答
  • 消灭零回复
提交回复
热议问题