尽管这个问题总是被忽视,但在数据密集型应用程序中,数据流确实会消耗大量带宽。
While often overlooked, data flow consumes a larger share of bandwidth in data-intensive applications.
Moonlight在设计时已经考虑到对于数据和存储密集型Web应用程序的处理。
Moonlight was designed with data and memory intensive web application processes in mind.
比如数据库连接池就是单例设计模式的一个例子:我们一般不想让应用程序具有连接池类的多个资源密集型实例。
An example use case for a singleton would be a database connection pool: you don't want your application to have multiple resource-intensive instances of a connection pool class.
应用推荐