Topic: what is the meaning of "Minimize database roundtrips"

  Print this page

1.what is the meaning of "Minimize database roundtrips" Copy to clipboard
Posted by: TopCool
Posted on: 2003-12-15 11:25

Context:

Gavin King 的ppt (HibernateJAOO.ppt)

里面的一句话!

2.Re:what is the meaning of "Minimize database roundtrips" [Re: TopCool] Copy to clipboard
Posted by: wsj
Posted on: 2003-12-15 18:00

N tier Application biggest system issue is "Round-Trip"

Browser <--> Web tier
Application tier <--> DataBase

Hibernate is focus on Application tier <--> DataBase roundtrips

3.Re:what is the meaning of "Minimize database roundtrips" [Re: TopCool] Copy to clipboard
Posted by: dorrenchen
Posted on: 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.


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923