Edge, cloud or hybrid
Objectives
Section titled “Objectives”- Compare edge, cloud and hybrid on all four dimensions
- Choose an architecture for a case, with a reason
- List the questions to ask the technical team before choosing
Before you start
Section titled “Before you start”- From the previous lesson, what were the three steps before you talk about AI?
- How fast does your problem need to respond: within a fraction of a second, within a minute, or is tomorrow morning still fine?
See it work first
Section titled “See it work first”Think of two kinds of doorbell camera. The first sends video all day up to the cloud, for a server elsewhere to check whether anyone walked past. The second checks it itself, inside the camera, and only sends up a short message: “someone at the door at 14:05”, along with a picture from just that moment.
Both give the user a similar-looking result, but they differ a lot in how much data must be sent, how much personal data leaves the house, and what happens when the internet drops. The first is cloud, the second is edge, and if it also sends a summary up to the cloud to build a combined report, that is hybrid.
Concepts
Section titled “Concepts”1. Three choices
Section titled “1. Three choices”- Edge The device measures and decides for itself, sending out only the result or the event.
- Cloud The device measures and sends the raw data up, letting a server think on its behalf.
- Hybrid The device decides urgent matters itself, then sends a summary up to the cloud for an overview, a history, and improving the next round of the model. Most real projects end up here.
2. Four dimensions to compare on
Section titled “2. Four dimensions to compare on”| Dimension | Edge | Cloud | A question that helps decide |
|---|---|---|---|
| Latency | Responds immediately, without waiting on the network | Must wait for a round trip; faster or slower depending on the network that day | Would it hurt if it were two seconds slower? |
| Privacy | Raw data, such as audio or video, never has to leave the device | Raw data is sent and stored elsewhere, and must be handled under the law | Can this data identify a person? |
| Cost | Each device is more expensive and harder to develop, but the monthly cost of transmission and processing is low | Devices are cheaper, but there is a continuous cloud and data-transfer cost that scales with volume | How many devices, and for how many years? |
| Connectivity | Keeps working even if the internet drops | Losing the internet means the thinking stops | Is the signal on site stable? |
Two more things are often forgotten. Updates (a cloud model can be changed in one place; a model on the device needs a safe remote-update system), and power (a battery-powered device must choose between spending its power on thinking or on transmitting).
3. Reading the table well
Section titled “3. Reading the table well”No choice wins on every dimension. Your job is to say which dimension matters most for this problem, and accept paying more on the dimensions that matter less. For example, a fall-detection system for the elderly cares most about privacy and latency, so it leans towards edge. A monthly building energy-usage summary report barely cares about latency, so cloud is simpler and better value.
Practice
Section titled “Practice”Choose an option for these three cases, and write a reason that refers to at least two dimensions.
| Case | Edge / Cloud / Hybrid | Reason (at least 2 dimensions) |
|---|---|---|
| A durian orchard on a hillside, with intermittent mobile signal, that must trigger a water pump based on soil moisture | ||
| A retail chain with 200 branches that wants to compare weekly footfall | ||
| A fruit-sorting conveyor that must flick out bad pieces within a fraction of a second, and also wants daily reject statistics |
Check your understanding
Section titled “Check your understanding”Answer the questions in quiz.yaml. A score of 80% or more passes.
Going further
Section titled “Going further”Questions you should ask the technical team or a contractor before agreeing on an architecture.
- If the internet drops for a day, what can the system still do, and is data from that period lost?
- What raw data leaves the device, where does it go, and for how long is it kept?
- Roughly what is the monthly cost per device, and what does it depend on?
- If the model or firmware needs a fix, how will devices out in the field be updated, and how safe is that process?
Reflect
Section titled “Reflect”Should your problem from the previous lesson be edge, cloud, or hybrid? Which dimension is what led you to that decision?
Review questions
Answer on your own first, then open the answer.
-
Which is a strength of edge compared with cloud? (Objective 1)
- อุปกรณ์แต่ละตัวราคาถูกกว่าเสมอ
- ทำงานต่อได้แม้เครือข่ายหลุด และข้อมูลดิบไม่ต้องออกจากอุปกรณ์
- อัปเดตโมเดลได้ง่ายกว่าเพราะอยู่ที่เดียว
- ไม่ต้องคิดเรื่องพลังงาน
Show answer
Answer: B. ทำงานต่อได้แม้เครือข่ายหลุด และข้อมูลดิบไม่ต้องออกจากอุปกรณ์
จุดแข็งของ edge คือความหน่วงต่ำ ทำงานได้เมื่อไม่มีเน็ต และความเป็นส่วนตัว แต่ต้องแลกกับอุปกรณ์ที่แพงขึ้นและการอัปเดตที่ยากขึ้น
-
Which dimensions does this lesson use to compare edge and cloud? (choose all that apply) (Objective 1)
- ความหน่วง
- ความเป็นส่วนตัว
- สีของตัวเครื่อง
- ต้นทุน
- การเชื่อมต่อ
Show answer
Answer: A. ความหน่วง · B. ความเป็นส่วนตัว · D. ต้นทุน · E. การเชื่อมต่อ
สี่มิติหลักคือความหน่วง ความเป็นส่วนตัว ต้นทุน และการเชื่อมต่อ บวกเรื่องการอัปเดตและพลังงานที่มักถูกลืม
-
A fall alert for elderly people in the bedroom, using radar instead of a camera. Which way should it lean? (Objective 2)
- cloud ล้วน ส่งข้อมูลเรดาร์ดิบขึ้นไปตลอดเวลา
- edge หรือ hybrid ตรวจการล้มบนอุปกรณ์ แล้วส่งเฉพาะเหตุการณ์
- ไม่ต้องใช้เครือข่ายเลย ไม่ต้องแจ้งใคร
- รอสรุปผลรายเดือน
Show answer
Answer: B. edge หรือ hybrid ตรวจการล้มบนอุปกรณ์ แล้วส่งเฉพาะเหตุการณ์
ความหน่วงและความเป็นส่วนตัวสำคัญที่สุด จึงควรตัดสินบนอุปกรณ์ และส่งออกเฉพาะเหตุการณ์ที่ต้องแจ้งญาติ
-
A monthly electricity report across 30 buildings for the management meeting. Which way should it lean? (Objective 2)
- edge ล้วน ประมวลผลบนมิเตอร์แต่ละตัวแล้วไม่ส่งอะไรออกมา
- cloud หรือ hybrid เพราะความหน่วงไม่สำคัญ และต้องรวมข้อมูลหลายอาคาร
- ต้องใช้ Edge AI บนมิเตอร์ทุกตัว
- ไม่ควรเก็บข้อมูลเลย
Show answer
Answer: B. cloud หรือ hybrid เพราะความหน่วงไม่สำคัญ และต้องรวมข้อมูลหลายอาคาร
งานสรุปรวมหลายแห่งที่ไม่ต้องตอบสนองทันที เหมาะกับการรวมข้อมูลบนคลาวด์
-
Which questions should you ask the technical team before choosing an architecture? (choose all that apply) (Objective 3)
- ถ้าเน็ตหลุดหนึ่งวัน ระบบยังทำอะไรได้บ้าง
- ข้อมูลดิบชนิดไหนออกจากอุปกรณ์ ไปเก็บที่ไหน นานเท่าไร
- ค่าใช้จ่ายรายเดือนต่ออุปกรณ์ขึ้นกับอะไร
- จะอัปเดตโมเดลหรือเฟิร์มแวร์ของอุปกรณ์หน้างานอย่างไร
Show answer
Answer: A. ถ้าเน็ตหลุดหนึ่งวัน ระบบยังทำอะไรได้บ้าง · B. ข้อมูลดิบชนิดไหนออกจากอุปกรณ์ ไปเก็บที่ไหน นานเท่าไร · C. ค่าใช้จ่ายรายเดือนต่ออุปกรณ์ขึ้นกับอะไร · D. จะอัปเดตโมเดลหรือเฟิร์มแวร์ของอุปกรณ์หน้างานอย่างไร
ทั้งสี่ข้อเป็นคำถามที่ควรได้คำตอบก่อนตกลง เพราะแต่ละข้อเปลี่ยนต้นทุนและความเสี่ยงของโครงการได้มาก
Cite this lesson
If you teach from this lesson or reuse it in slides or documents, credit it with the text below. If you changed it, add (adapted) after the title.
"Edge, cloud or hybrid" from TESA Open Knowledge by the Thai Embedded Systems Association (TESA), https://github.com/tesaiot/tesa-qualification-program, licensed under CC BY-NC 4.0
Thai attribution: "Edge, Cloud หรือ Hybrid" จาก TESA Open Knowledge โดยสมาคมสมองกลฝังตัวไทย (Thai Embedded Systems Association: TESA) https://github.com/tesaiot/tesa-qualification-program สัญญาอนุญาต CC BY-NC 4.0
TESA Open Knowledge · © 2026 สมาคมสมองกลฝังตัวไทย (TESA) · CC BY-NC 4.0
Content is licensed CC BY-NC 4.0. Reuse it non-commercially and credit the Thai Embedded Systems Association (TESA) every time. · How to cite TESA