Skip to contentমূল লেখায় যান

Topic 02 · Architectureটপিক 02 · Architecture

Functional and Non-functional Requirements

Think of a pizza order. "One large pizza with cheese" says what you want. "Hot, in 30 minutes, at the right address" says how well it must arrive. A pizza that comes cold after two hours is the correct pizza, but the order still failed. Software requirements work the same way. Some say what the system does. Others say how well it must do it.

6 min read6 মিনিটে পড়া যায় · 6 sections6টি সেকশন · 6 sources6টি সোর্স · updated Nov 2026আপডেট: Nov 2026

From a feature to a testable targetফিচার থেকে পরীক্ষাযোগ্য লক্ষ্য

Turn “students can watch videos” into numbers a test can pass or fail, then move the slider.“শিক্ষার্থীরা ভিডিও দেখতে পারবে”-কে এমন সংখ্যায় বদলান যা টেস্ট পাস বা ফেল করতে পারে, তারপর স্লাইডার সরান।

2 min2 মিনিট7 steps7টি ধাপ
  • Questions answeredউত্তর পাওয়া প্রশ্ন0 / 3
  • Viewers at onceএকসাথে দর্শক—
FeatureফিচারfunctionalফাংশনালTargetলক্ষ্যto writeলিখতে হবেLoad testলোড টেস্ট2,000 users2,000 ইউজারwatch course videosকোর্সের ভিডিও দেখাno numbers yetএখনো সংখ্যা নেই

You’ll learnআপনি শিখবেন

  • Functional and non-functional differfunctional আর non-functional আলাদা✓
  • Questions that add numbersযে প্রশ্নে সংখ্যা আসে
  • A good target has a numberভালো লক্ষ্যে সংখ্যা থাকে
  • A load test gives PASS or FAILলোড টেস্ট পাস বা ফেল দেয়
  • Vague words cannot be testedঅস্পষ্ট কথা টেস্ট করা যায় না

In plain words

Requirements are commonly split into two kinds Source 1সোর্স 1.

Functional requirements describe what the system must do, or its behavior Source 1সোর্স 1. For an online learning platform (LMS), examples are registration, login, payment, course enrollment, watching videos, and certificate generation.

Non-functional requirements describe how well the system must work. Microsoft calls them the non-behavior parts of a solution, such as performance Source 1সোর্স 1. Common types are availability, compliance, data retention, performance (response time), privacy, recovery time, security, and scalability Source 1সোর্স 1. This tutorial also adds reliability, maintainability (how easy the system is to change), observability (how well you can see what happens inside it), and cost control. Users might not care about these items directly. But they are important for the architecture and for daily operations Source 1সোর্স 1.

Architecture needs both. A feature list is not enough for good architecture. Architects design a system to meet both functional and non-functional requirements Source 2সোর্স 2. In this tutorial's view, the non-functional side drives most architecture choices. Two systems with the same features can need very different designs if one has 200 users and the other has 200,000.

Make each requirement measurable

A good non-functional requirement has a number. Microsoft gives these examples Source 1সোর্স 1:

GoodBad
"Average screen load time for internal users that are not mobile will be less than three seconds.""All screens in the app should load as fast as possible."
"External portal must be able to handle 100 concurrent users who are performing case submission.""External portal must be able to handle peak traffic."

How to measure. When a requirement has a measurement, it should also say how you will measure it Source 1সোর্স 1. The target must be realistic, too. For example, 99.999% availability is not realistic when the core app has 99.9% Source 1সোর্স 1.

SLI and SLO. Google's SRE book gives names to these numbers. A service level indicator (SLI) is a carefully defined measure of some part of the service Source 4সোর্স 4. A service level objective (SLO) is a target value for an SLI Source 4সোর্স 4. Most services use request latency, the time to return a response, as a key SLI Source 4সোর্স 4. Google prefers percentiles to the average, because a high percentile such as the 99th shows a plausible worst case Source 4সোর্স 4.

A mind map of LMS requirements. The functional branch lists registration, login, course enrollment, payment, watch video, and generate certificate. The non-functional branch lists fast response, high traffic handling, reliable payment, secure video access, data backup, monitoring, and cost control.Open the image in full sizeছবিটি পূর্ণ আকারে খুলুন

সহজ English

Requirements are commonly split into two kinds Source 1সোর্স 1.

Functional requirements say what the system must do, or its behavior Source 1সোর্স 1. For an online learning platform (LMS), examples are registration, login, payment, course enrollment, watching videos, and certificate generation.

Non-functional requirements say how well the system must work Source 1সোর্স 1. Common types are availability, compliance, data retention, performance (response time), privacy, recovery time, security, and scalability Source 1সোর্স 1. This tutorial also adds reliability, maintainability, observability, and cost control. Users might not care about these items directly, but they are important for the architecture and for daily operations Source 1সোর্স 1.

Architects design a system to meet both kinds of requirements Source 2সোর্স 2. In this tutorial's view, the non-functional side drives most architecture choices.

A good non-functional requirement has a number. It should also say how you will measure that number Source 1সোর্স 1. The target must be realistic Source 1সোর্স 1. Google calls a carefully defined measure of some part of the service an SLI. The target value for an SLI is an SLO Source 4সোর্স 4. Google prefers a high percentile, such as the 99th, to the average, because it shows a plausible worst case Source 4সোর্স 4.

বাংলা ব্যাখ্যা

Requirement সাধারণত দুই ভাগে ভাগ করা হয় Source 1সোর্স 1।

Functional requirement বলে system-কে কী করতে হবে, অর্থাৎ তার behavior Source 1সোর্স 1। একটি online learning platform (LMS)-এর উদাহরণ হলো registration, login, payment, course enrollment, video দেখা, এবং certificate generation।

Non-functional requirement বলে system-কে কতটা ভালোভাবে কাজ করতে হবে Source 1সোর্স 1। সাধারণ ধরনগুলো হলো availability, compliance, data retention, performance (response time), privacy, recovery time, security, এবং scalability Source 1সোর্স 1। এই tutorial আরও যোগ করে reliability, maintainability (system বদলানো কতটা সহজ), observability (system-এর ভেতরে কী ঘটছে তা কতটা দেখা যায়), এবং cost control। User-রা হয়তো এগুলো নিয়ে সরাসরি ভাবেন না, কিন্তু architecture আর প্রতিদিনের operation-এর জন্য এগুলো গুরুত্বপূর্ণ Source 1সোর্স 1।

Architect-রা functional ও non-functional, দুই ধরনের requirement পূরণ করতে system design করেন Source 2সোর্স 2। এই tutorial-এর মতে, বেশিরভাগ architecture সিদ্ধান্ত non-functional দিক থেকে আসে। একই feature থাকা দুটি system-এর design খুব আলাদা হতে পারে, যদি একটির 200 user থাকে আর অন্যটির 200,000।

একটি ভালো non-functional requirement-এ একটি সংখ্যা থাকে, আর সেটি কীভাবে মাপা হবে তাও লেখা উচিত Source 1সোর্স 1। Target-টি বাস্তবসম্মতও হতে হবে: core app-এর availability 99.9% হলে 99.999% availability বাস্তবসম্মত নয় Source 1সোর্স 1। Google-এর SRE book অনুযায়ী, service-এর কোনো অংশের সাবধানে সংজ্ঞায়িত measure হলো SLI, আর SLI-এর target value হলো SLO Source 4সোর্স 4। Google average-এর বদলে percentile পছন্দ করে, কারণ 99th-এর মতো উঁচু percentile একটি সম্ভাব্য worst case দেখায় Source 4সোর্স 4।

When you need it

  • Before you start the architecture design.
  • When you plan a new feature.
  • When there is a risk for performance, security, or scalability.
  • When the system depends on payment, SMS, email, maps, an AI API, or other third-party services. These are external dependencies, and the team must find and document them Source 5সোর্স 5.
  • When uptime, response time, the backup policy, or compliance matters. AWS asks teams to set two recovery targets. The recovery time objective (RTO) is the maximum acceptable delay before the service is back Source 6সোর্স 6. The recovery point objective (RPO) is the maximum acceptable time since the last data recovery point, so it limits how much recent data you can lose Source 6সোর্স 6.

সহজ English

Think about requirements at these times:

  • Before you start the architecture design.
  • When you plan a new feature.
  • When there is a risk for performance, security, or scalability.
  • When the system depends on payment, SMS, email, maps, an AI API, or other third-party services. These are external dependencies. The team must find them and write them down Source 5সোর্স 5.
  • When uptime, response time, the backup policy, or compliance is important. AWS asks teams to set two recovery targets. The recovery time objective (RTO) is the longest acceptable delay before the service is back Source 6সোর্স 6. The recovery point objective (RPO) is the longest acceptable time since the last data recovery point. It limits how much recent data you can lose Source 6সোর্স 6.

বাংলা ব্যাখ্যা

এই সময়গুলোতে requirement নিয়ে ভাবুন:

  • Architecture design শুরু করার আগে।
  • নতুন feature-এর plan করার সময়।
  • Performance, security, বা scalability-তে ঝুঁকি থাকলে।
  • System যখন payment, SMS, email, maps, AI API, বা অন্য third-party service-এর ওপর নির্ভর করে। এগুলো external dependency, এবং team-কে এগুলো খুঁজে বের করে document করতে হবে Source 5সোর্স 5।
  • যখন uptime, response time, backup policy, বা compliance গুরুত্বপূর্ণ। AWS team-গুলোকে দুটি recovery target ঠিক করতে বলে। Recovery time objective (RTO) হলো service ফিরে আসার আগে সর্বোচ্চ গ্রহণযোগ্য দেরি Source 6সোর্স 6। Recovery point objective (RPO) হলো শেষ data recovery point থেকে সর্বোচ্চ গ্রহণযোগ্য সময়, তাই এটি আপনি কতটা সাম্প্রতিক data হারাতে পারেন তার সীমা ঠিক করে Source 6সোর্স 6।

A real-life example

The requirement is: "Students can watch course videos." This is a functional requirement.

For the architecture, the team needs more answers:

After these questions, the team can write measurable requirements. For example: "On admission day, 2,000 students can stream videos at the same time. For 95% of plays, the video starts in less than 3 seconds. Only enrolled students can open a video link."

Not every flow is equally important, either. Microsoft suggests a criticality scale to put flows in order Source 3সোর্স 3. High-criticality flows directly affect things such as the customer experience and financial transactions Source 3সোর্স 3. Low-criticality flows include optional features such as feedback surveys Source 3সোর্স 3. In the LMS, payment and login are high. A course feedback form is low.

সহজ English

"Students can watch course videos" is a functional requirement. For the architecture, the team needs more answers:

With these answers, the team can write measurable requirements. For example: "On admission day, 2,000 students can stream videos at the same time. For 95% of plays, the video starts in less than 3 seconds. Only enrolled students can open a video link."

Some flows are more important than others. Microsoft suggests a criticality scale to put the flows in order Source 3সোর্স 3. High-criticality flows have a direct effect on things such as the customer experience and financial transactions Source 3সোর্স 3. Low-criticality flows include optional features, such as feedback surveys Source 3সোর্স 3. In the LMS, payment and login are high. A course feedback form is low.

বাংলা ব্যাখ্যা

Requirement-টি হলো: "Student-রা course video দেখতে পারবেন।" এটি একটি functional requirement। Architecture-এর জন্য team-এর আরও কিছু প্রশ্নের উত্তর দরকার:

  • একই সময়ে কতজন student video দেখবেন?
  • Video কোথায় store করা হবে? (File Storage and Object Storage দেখুন।)
  • CDN দরকার কি? (CDN for Static Content দেখুন।)
  • একটি video কত দ্রুত play শুরু করতে হবে?
  • Storage-এর খরচ কত হবে?

এই প্রশ্নগুলোর পর team measurable requirement লিখতে পারে। যেমন: "Admission-এর দিনে 2,000 student একই সময়ে video stream করতে পারবেন। 95% play-তে video 3 সেকেন্ডের কম সময়ে শুরু হবে। শুধু enrolled student-রা video link খুলতে পারবেন।"

সব flow সমান গুরুত্বপূর্ণ নয়। Flow-গুলোকে গুরুত্ব অনুযায়ী সাজাতে Microsoft একটি criticality scale-এর পরামর্শ দেয় Source 3সোর্স 3। High-criticality flow সরাসরি customer experience আর financial transaction-এর মতো বিষয়ে প্রভাব ফেলে Source 3সোর্স 3। Low-criticality flow-এর মধ্যে আছে feedback survey-এর মতো optional feature Source 3সোর্স 3। LMS-এ payment আর login high। একটি course feedback form low।

Common mistakes

  • Writing only a feature list and calling it the complete requirements. The design then has no target for speed, load, or recovery.
  • Treating login, payment, reports, and video as equally critical. The team spends the same effort on a report page as on payment. The weak spot is then often in the flow that matters most.
  • No performance targets or traffic estimates. "Fast" and "many users" cannot be tested. Nobody can say if a release passes.
  • Ignoring security, backup, monitoring, and cost. These items appear late, after an incident or a large bill.
  • Choosing a technology before the non-functional requirements are known. The tool may not fit the real load, budget, or recovery need.

সহজ English

  • Only a feature list. The team writes only the features and calls it the complete requirements. Then the design has no target for speed, load, or recovery.
  • All flows are equally critical. The team gives login, payment, reports, and video the same priority. It spends the same effort on a report page as on payment. Then the weak spot is often in the flow that is most important.
  • No performance targets or traffic estimates. Nobody can test "fast" or "many users". Nobody can say if a release passes.
  • No attention to security, backup, monitoring, and cost. These items come late, after an incident or a large bill.
  • The technology comes first. The team chooses a technology before it knows the non-functional requirements. The tool may not fit the real load, budget, or recovery need.

বাংলা ব্যাখ্যা

  • শুধু feature list লিখে সেটিকেই সম্পূর্ণ requirement বলা। তখন design-এ speed, load, বা recovery-র কোনো target থাকে না।
  • Login, payment, report, আর video-কে সমান critical ধরা। Team একটি report page-এ payment-এর সমান পরিশ্রম করে। তখন দুর্বল জায়গাটি প্রায়ই থাকে সবচেয়ে গুরুত্বপূর্ণ flow-তে।
  • কোনো performance target বা traffic estimate না থাকা। "Fast" বা "many users" test করা যায় না। কোনো release pass করল কি না, কেউ বলতে পারে না।
  • Security, backup, monitoring, আর cost উপেক্ষা করা। এগুলো দেরিতে সামনে আসে, কোনো incident বা বড় bill-এর পরে।
  • Non-functional requirement জানার আগেই technology বেছে নেওয়া। Tool-টি হয়তো আসল load, budget, বা recovery-র প্রয়োজনের সাথে মেলে না।

What a tester can check

Tutorial advice

These test ideas are the tutorial's own advice.

  • For each non-functional requirement, ask "How will we measure it?" If there is no number, report it as a gap before testing starts.
  • Turn each target into a test. Run a load test at the stated number of users, and check the 95th or 99th percentile response time, not only the average.
  • Test the high-criticality flows (payment, login, enrollment) first and in the most depth.
  • For each third-party service, test a slow response, a timeout, and an error response. Check what the user sees.
  • Ask for the RTO and RPO. Then take part in a restore test and check the time and the data loss against them.
  • Test the security requirements too. For example, check that a video link does not work for a student who is not enrolled.

সহজ English

These test ideas are the tutorial's own advice.

  • For each non-functional requirement, ask "How will we measure it?" If it has no number, report it as a gap before testing starts.
  • Change each target into a test. Run a load test at the stated number of users. Check the 95th or 99th percentile response time, not only the average.
  • Test the high-criticality flows (payment, login, enrollment) first and in the most depth.
  • For each third-party service, test a slow response, a timeout, and an error response. Look at what the user sees.
  • Ask for the RTO and the RPO. Then take part in a restore test. Compare the time and the data loss with the RTO and the RPO.
  • Test the security requirements too. For example, make sure that a video link does not work for a student who is not enrolled.

বাংলা ব্যাখ্যা

নিচের test ধারণাগুলো এই tutorial-এর নিজস্ব পরামর্শ।

  • প্রতিটি non-functional requirement-এর জন্য জিজ্ঞেস করুন, "এটি কীভাবে মাপা হবে?" কোনো সংখ্যা না থাকলে testing শুরুর আগেই এটিকে একটি gap হিসেবে report করুন।
  • প্রতিটি target-কে একটি test-এ পরিণত করুন। উল্লেখ করা সংখ্যক user দিয়ে load test চালান, এবং শুধু average নয়, 95th বা 99th percentile response time-ও দেখুন।
  • High-criticality flow (payment, login, enrollment) সবার আগে এবং সবচেয়ে গভীরভাবে test করুন।
  • প্রতিটি third-party service-এর জন্য slow response, timeout, আর error response test করুন। User কী দেখেন, তা খেয়াল করুন।
  • RTO আর RPO জেনে নিন। তারপর একটি restore test-এ অংশ নিন, এবং সময় ও data loss এগুলোর সাথে মিলিয়ে দেখুন।
  • Security requirement-ও test করুন। যেমন, দেখুন যে enrolled নয় এমন একজন student-এর জন্য video link কাজ করে না।

Key words

WordMeaning
Functional requirementWhat the system must do (a behavior), such as "students can log in"
Non-functional requirementHow well the system must work, such as speed, uptime, or security
SLIService level indicator: a measured number about the service, such as response time
SLOService level objective: the target value for an SLI
LatencyThe time it takes to return a response to a request
PercentileThe value below which a given share of results falls. For example, a target can say that 99% of calls complete in less than 100 ms Source 4সোর্স 4.
CriticalityHow important a flow is to the business
External dependencyA part outside your system that your system needs, such as a payment provider
RTORecovery time objective: the longest acceptable time before the service is back
RPORecovery point objective: the longest acceptable time since the last data recovery point

Reels on this topicএই টপিকের রিলস

Short videos from other creators, picked for this topic. They are not part of this page's fact-checked text. Nothing loads from YouTube until you press Play.অন্য ক্রিয়েটরদের বানানো ছোট ভিডিও, এই টপিকের জন্য বাছাই করা। এগুলো এই পেজের ফ্যাক্ট-চেক করা লেখার অংশ নয়। চালান বাটন চাপার আগে YouTube থেকে কিছুই লোড হয় না।

  1. [1]
    Identify non-functional requirements

    Microsoft Learn (Training) · accessed 2026-10-20দেখা হয়েছে: 2026-10-20

  2. [2]
    Azure Well-Architected Framework workloads

    Microsoft Learn · accessed 2026-10-20দেখা হয়েছে: 2026-10-20

  3. [3]
    Architecture strategies for identifying and rating flows

    Microsoft Learn (Azure Well-Architected Framework) · accessed 2026-10-20দেখা হয়েছে: 2026-10-20

  4. [4]
    Site Reliability Engineering, Chapter 4: Service Level Objectives

    Google · accessed 2026-10-20দেখা হয়েছে: 2026-10-20

  5. [5]
    Architecture strategies for performing failure mode analysis

    Microsoft Learn (Azure Well-Architected Framework) · accessed 2026-10-20দেখা হয়েছে: 2026-10-20

  6. [6]
    REL13-BP01 Define recovery objectives for downtime and data loss

    AWS Well-Architected Framework, Reliability Pillar · accessed 2026-10-20দেখা হয়েছে: 2026-10-20