dorrenchen
发贴: 298
|
于 2003-12-16 11:32
in N tier application, app server and DB are on different machines. The speed of getting or updating data in the app is mostly determined by the network latency. To minimize the trips between app and DB will increase the performance of your web application.
For example, value object design pattern is used just for this purpose, squeezing more data into an object and passing it to app just once over network is much faster than passing small chunks of data over network many times, therefore using value object pattern minimizes the database roundtrip.
|