Software layers
Advantages of moving business logic to the database tier
1) Reduced communication costs
The ping command can be used to measure network latency.
- Send a short message to a server.
- Wait for the server to send a short response back.
- Measure the round trip time.
Some ping times:
- My home to homework.cs.tufts.edu: 10.8
msec.
- homework.cs.tufts.edu to postgres.cs.tufts.edu: 1.2 msec.
- postgres.cs.tufts.edu to self: 0.028 msec.
|