BolEnglishLearn · Play · Win
Login

🛡️ Software Design & Architecture · Architecture Evaluation Factors

🛡️

Reliability

Quality AttributeCoreModule 1

The ability to work correctly and consistently.

Normal failures should not cause unpredictable behavior or corrupt data.

💡 In practice

If an email service is temporarily unavailable, the order is still saved and the email can be retried.

🖼️ CONCEPT PICTURE
A picture to help remember Reliability
If an email service is temporarily unavailable, the order is still saved and the email can be retried.

💡 Like a sturdy clock that keeps correct time every day — predictable, even when something small goes wrong.

💡 Learn🛠️ Apply🎯 Check

💡 Why it matters

Users trust software that behaves correctly and consistently. Reliable systems handle normal failures gracefully instead of corrupting data or acting unpredictably.

🛠️ How to achieve it

1
Handle failures explicitly
Decide what happens when a dependency is down — retry, queue, or fail safely.
2
Protect data consistency
Use transactions so a half-finished operation doesn't leave bad data.
3
Make operations safe to retry
Design so repeating a request doesn't double-charge or duplicate.

⚠️ Signs of trouble

  • •Occasional glitches corrupt or lose data.
  • •One flaky dependency takes the whole feature down.
  • •The same action sometimes works and sometimes doesn't.
⚠️ Common mistake: Assuming dependencies (email, payment, network) always succeed — real systems must plan for their failure.

🎯 Quick check

Score: 0/2

Three questions to test the idea.

  1. 1. If the email service is down while placing an order, a reliable design should…

    Answer: Still save the order and retry the email later

    A failing non-critical dependency shouldn't lose the order or corrupt data.

  2. 2. Idempotency means an operation can be…

    Answer: Repeated safely without changing the result beyond the first time

    Idempotent operations are safe to retry — important when the network is unreliable.

🔑 Key terms

Transaction
An all-or-nothing operation.
Idempotency
Safe to repeat without changing the result.
Retry
Trying again after a transient failure.
Graceful degradation
Reduced but still-working service during trouble.

✅ Review checklist

📊 Your progress

0%
Mark this topic learned to track it.
Saved in this browser.
🚀 Got it?
Mark it learned and move to the next topic.
Next topic →