Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Question on Throughput

 
Raghavendra Desoju
Ranch Hand
Posts: 109
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

What are the effects of Modularity and Redundancy on Throughput ?

Here is my understanding:
===============================================
If MODULARITY increases it may have negative impact on the THROUGHPUT as no. of tiers increase for a round trip in a given request. However, it could also have overall positive impact by following best practices/patterns.

If REDUNDANCY increases it may NOT have positive impact on the THROUGHPUT. However, there will be an overhead of application state replication (like session replication etc) which could negatively impact overall throughput.
===============================================

Please guide/correct me on my understanding.

Thanks, Raghu
 
K. Tsang
Bartender
Posts: 3610
16
Firefox Browser Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where did you read about this?

I know what each of those 3 terms mean separately. But together, huh at first is there even any effect/impact?
 
Raghavendra Desoju
Ranch Hand
Posts: 109
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
K. Tsang wrote:Where did you read about this?

I know what each of those 3 terms mean separately. But together, huh at first is there even any effect/impact?


Hi Tsang,
I referred couple of books (EE5/6 Study guides and other reference books) and somehow my sub-conscious reached to above conclusion !! Here is where I wanted to get suggestions/thoughts from you folks on getting it right !!
 
K. Tsang
Bartender
Posts: 3610
16
Firefox Browser Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK here is my take on it. First let me define the terms (from Wikipedia):

Throughput = the amount of work that a computer can do in a given period of time

Modularity = the degree to which a system's components may be separated and recombined

Redundancy = the duplication of critical components or functions of a system with the intention of increasing reliability of the system


Modularity and throughput = Given a request/response round trip, the message/data will need to pass through different modules. The sum of each module's throughput determines the total processing time. Depending on what each module does, the performance of the system can be affected.

Redundancy and throughput = No direct relationship. Given the infrastructure is set up to have 2 sets of components (the redundancy), each request/response will go down one route, not both. Once the route is determined, it's back to the performance/processing of the individual component.


All in all, throughput talks about performance. What affects performance? Modularity, caching, database execution/amount of data retrieved, memory and many more.

Regarding state replication, like ensuring the same client connect to the same app server to reuse the same session (eg sticky session), it's in the configuration of web servers or load balancers. Nothing to do with the coding or application.
 
Raghavendra Desoju
Ranch Hand
Posts: 109
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you !!
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!