In the book of application architecture design, which I'am reading, I've found the following statement:
"To reduce round trips and improve communication performance, design chunky interfaces."
Can anybody explain me what does "chunky interface" mean?
Basically, it refers to the amount of data transferred in one call. For example, if you wanted to get a set of data from a server, instead of asking
GetRecord(1);
GetRecord(2);
GetRecord(3);
GetRecord(4);
you'd design a batch method, like
GetRecords(1,4);
The idea is that the first design incurs four lots of overhead, but the second only one.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With