Software architecture at the mercedes benz museum

36
Software architecture Musings in a car museum. (Museums are for musing, aren't they ?) -Kalyan Mysore

description

Musings on software architecture while visiting a car museum.

Transcript of Software architecture at the mercedes benz museum

Page 1: Software architecture at the mercedes benz museum

Software architecture

Musings in a car museum.(Museums are for musing, aren't they ?)

-Kalyan Mysore

Page 2: Software architecture at the mercedes benz museum

A mind cross-linked !

• A week of software architecture.• Work ricocheting in the mind into the

weekend.• A weekend visit to the Mercedes-Benz car

museum (Stuttgart, Germany) at the same time !

• So, I saw software architecture in car history !• Here’s a walkthru !• (All pictures thru my camera. Just for fun. No harm intended.)

Page 3: Software architecture at the mercedes benz museum

First usable architecture

• 1883 – Daimler and Maybach• The world’s first high speed

gasoline engine.• A.k.a. Grandfather clock.

• Met quality attributes:– Power output enough to drive

a vehicle– Small enough to fit in vehicle !

Page 4: Software architecture at the mercedes benz museum

A test harness !

The world’s first motorbike was a test harness for the world’s first high speed gasoline engine ! 1885

Page 5: Software architecture at the mercedes benz museum

The architecture refactored !

• Quality attributes to be met:– More seating– Go on rails

• First gasoline powered railroad car ! 1887

• Same grandfather clock engine, with refactored shell !

Page 6: Software architecture at the mercedes benz museum

More refactoring

• Quality attributes:– Facing seating

– Shade from rain and Sun

– Lights for low light conditions

• 1893

Page 7: Software architecture at the mercedes benz museum

Just another refactoring

• Quality attribute:– More payload

• 1898

Page 8: Software architecture at the mercedes benz museum

Getting the quality attributes right. -1900

• Safety– Low center of gravity.

• Stability– Long wheelbase

• Speed– Powerful engine

• Not just a “horseless carriage”. An architecture for a modern automobile !

Page 9: Software architecture at the mercedes benz museum

Just a few more refactorings

• 1939 320 streamliner

Page 10: Software architecture at the mercedes benz museum

The bus is just a big car !

Page 11: Software architecture at the mercedes benz museum

This architecture even supports apps !

Page 12: Software architecture at the mercedes benz museum

You thought skins are a new concept ?

Page 13: Software architecture at the mercedes benz museum

If there’s twice the power..

• They couldn’t resist putting twice the load and slowing it down !

Page 14: Software architecture at the mercedes benz museum

The original “cab” file !

• The driver probably even carried a manifest !

Page 15: Software architecture at the mercedes benz museum

Bells and whistles !

• If you don’t like the ride, change the steering wheel, add a few dials and horns and you’re so busy you don’t notice the ride anymore!

Page 16: Software architecture at the mercedes benz museum

The diesel engine

• A rare change in the “core” architecture ! 1923

Page 17: Software architecture at the mercedes benz museum

The diesel, refactored for boat use.

Page 18: Software architecture at the mercedes benz museum

When great architecture and great UI co-author a product

• An emergent design of great beauty !

Page 19: Software architecture at the mercedes benz museum

The Kling-on the race track

• No standards to meet

• Its just a race to the finish

• If your design is agile,you win the race

• Its not Time to marketBut mark your time !

Page 20: Software architecture at the mercedes benz museum

A failed architecture for a flying car ?

• If they tried and failed, they put a cool marketing spin on it. We’ll never know !

Page 21: Software architecture at the mercedes benz museum

A new “framework”

• Just 110 pounds for framework. Light weight !

• But needed the special door. – And we thought they wanted to fly !

Page 22: Software architecture at the mercedes benz museum

Variability variety !

• An architecture that can sustain this large a variability ? Amazing !

Page 23: Software architecture at the mercedes benz museum

This architecture never needs policing.

Page 24: Software architecture at the mercedes benz museum

Crash proof the architecture

• Add a spike to chain it down.

• If you try, it will catch !

Page 25: Software architecture at the mercedes benz museum

If the architecture doesn’t shine thru

• Add a few lights !

Page 26: Software architecture at the mercedes benz museum

Want to run a “smoke test” on this ?

Page 27: Software architecture at the mercedes benz museum

Many a time, safety is an afterthought, following performance.

Page 28: Software architecture at the mercedes benz museum

An attempt to add a quality attribute…

• Add “high efficiency” but lose “seating” !!

• Hmm. Is that tradeoff good ? If you’re off to a tradeshow…

Page 29: Software architecture at the mercedes benz museum

Finally, efficiency and thruput !

Page 30: Software architecture at the mercedes benz museum

Got an efficient but ugly architecture?

• Hide it under a nice “façade” !

Page 31: Software architecture at the mercedes benz museum

Someday !

• Software architecture will have magazines like this !

Page 32: Software architecture at the mercedes benz museum

Special purpose architecture

• Optimized for the quality attributes of speed and maneuverability. All else secondary.

Page 33: Software architecture at the mercedes benz museum

Architecting for cool !

• What were the quality attributes they architected for? Coolness is definitely at the top !

Page 34: Software architecture at the mercedes benz museum

More special purpose architecture

• If your quality attribute is “1000+ km on a gallon”

Page 35: Software architecture at the mercedes benz museum

Just another car under the Sun !

Page 36: Software architecture at the mercedes benz museum

Should I buy it?

• They sell it in the museum ! But my suitcase is a bit small. Besides, it looks like goldplatedarchitecture !