Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^2: Performance, Abstraction and HOP

by xdg (Monsignor)
on Aug 31, 2005 at 23:23 UTC ( #488264=note: print w/replies, xml ) Need Help??

in reply to Re: Performance, Abstraction and HOP
in thread Performance, Abstraction and HOP

I agree in part, but I think this is too narrow a view of what "performance" means or should mean. In my opinion, performance is multi-dimensional and it can only be defined from the point of view of the user/customer/business. That is where focus is critical.

Reponsiveness is merely one kind of performance measure. Another measure might be agility or adaptability (e.g. the turnaround time for necessary changes to the codebase to be rolled into production). This matters for things like new product development where new products have large impacts on existing systems and processes and time-to-market is critical for competitiveness.

From that perspective, if agility is one of the performance metric, then abstraction may be a useful tool at incresing agility, despite a cost in responsiveness. Or at least, improvements in agility must be traded off against costs in decreased responsiveness. Other metrics might include ongoing maintenance costs, which again might mean a different tradeoff between speed of execution and abstraction.

People shouldn't get so caught up searching for a nail for their hammer, whether that's "efficiency" or "abstraction". There is no one universal tool -- it takes a whole toolbox, properly applied to the task at hand, to deliver a valuable solution.


Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://488264]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2018-06-22 21:44 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (124 votes). Check out past polls.