CS FundamentalsHardProduct-company placement
In a strictly layered system, 80% of requests pass through the business and service layers unchanged, which merely forward each call to the persistence layer. What is this anti-pattern, and a reasonable response?
- A. Golden hammer; replace all of the layers with separate microservices
- B. Big ball of mud; remove the layering from the system completely
- C. Lava flow; delete the business layer at once and call persistence directly
- D. Architecture sinkhole; open some layers so calls can skip them
Correct answer: D. Architecture sinkhole; open some layers so calls can skip them
Some pass-through traffic is normal, but when most requests sink straight through, the layers add latency and code without value. Marking such layers as open (relaxed layering) for those paths is the usual remedy.
Practise more Software Engineering, Git and Cloud Basics questionsSoftware Engineering, Git and Cloud Basics: notes and key points
More Software Engineering, Git and Cloud Basics questions
- How many of these are Twelve-Factor App recommendations? 1. Write logs as an event stream to stdout and let the environment route them. 2…
- Before refactoring a legacy pricing module with no tests, a developer records its current outputs for many inputs, including results she…
- A new filter must be added to a 400-line untested method. Instead of editing the method's logic, the developer writes the filter as a new…
- A quality-attribute scenario reads: 'During peak sale traffic, a shopper's search request is answered by the catalogue service within 2 s…
- A project planned to finish in month 10 actually finishes in month 13. Why does its schedule performance index (SPI = EV / PV) show 1.0 at…
- An activity not on the critical path has a total float of 3 days and a free float of 1 day. It is delayed by 5 days, and nothing else…