Lecture 02 · E2C Continuum and Cloud Computing
المحاضرة 02 · استمرارية E2C والحوسبة السحابية
Edge on the LAN, fog on the WAN, cloud on the Internet
الـ edge على LAN، والـ fog على WAN، والسحابة على الإنترنت
P2 SHOULDOne question, one rule, one table. The table on slide 9 is a ready-made matching question: four columns (layer, network, services, priority) that you must be able to fill from memory.
سؤال واحد، وقاعدة واحدة، وجدول واحد. جدول الشريحة 9 هو سؤال مطابقة جاهز: أربعة أعمدة (الطبقة، الشبكة، الخدمات، الأولوية) يجب أن تستطيع ملأها من الذاكرة.
The question the slides keep asking
السؤال الذي تكرره الشرائح
Slides 6 to 9 repeat one title: do we really need the networking service at every point on the latency continuum? The sub-question is sharper: are there points where only compute and/or storage are needed?
الشرائح من 6 إلى 9 تكرر عنواناً واحداً: هل نحتاج فعلاً خدمة الشبكات (networking) عند كل نقطة على latency continuum؟ والسؤال الفرعي أدق: هل توجد نقاط لا نحتاج فيها إلا compute و/أو storage؟
The picture is the same line you met in Lecture 01: a client on the left, a server inside a data center (the cloud) on the right, and three numbered points between them. Point 1 is nearest the cloud, point 3 is nearest the client. A yellow arrow points from the cloud toward the client: as you walk that way, functions move closer to the device.
الرسم هو نفس الخط الذي رأيته في المحاضرة الأولى: client على اليسار، وserver داخل data center (أي السحابة) على اليمين، وثلاث نقاط مرقّمة بينهما. النقطة 1 هي الأقرب إلى السحابة، والنقطة 3 هي الأقرب إلى العميل. وسهم أصفر يتجه من السحابة نحو العميل: كلما مشيت في هذا الاتجاه اقتربت الوظائف من الجهاز.
Closer to the device, some application functions can increasingly be performed locally, reducing dependence on remote network communication.
كلما اقتربنا من الجهاز، صار بالإمكان تنفيذ مزيد من وظائف التطبيق محلياً، مما يقلّل الاعتماد على الاتصال الشبكي البعيد.
The rule: scope, not name
القاعدة: النطاق، لا الاسم
Networking requirements depend on the scope of the function, not simply on whether something is called edge, fog or cloud.
متطلبات الشبكات تعتمد على نطاق الوظيفة (scope of the function)، لا على مجرد تسمية المكان edge أو fog أو cloud.
Scope means how many parties, and how much area, the function's data spans. One device, a group of devices in one area, or everyone everywhere. A wider scope needs more networking.
النطاق (scope) يعني كم طرفاً، وكم مساحة، تغطيها بيانات الوظيفة: جهاز واحد، أو مجموعة أجهزة في منطقة واحدة، أو الجميع في كل مكان. وكلما اتسع النطاق احتاجت الوظيفة شبكات أكثر.
The autonomous drones example (slide 7)
مثال الطائرات المسيّرة ذاتية التشغيل (الشريحة 7)
| Taskالمهمة | Whose dataبيانات من | Layerالطبقة | Networking?هل تحتاج شبكات؟ |
|---|---|---|---|
| Monitor battery, return to base when lowمراقبة البطارية، والعودة إلى القاعدة عند انخفاضها | one droneطائرة مسيّرة واحدة | edge (the drone's own compute)edge (حوسبة الطائرة نفسها) | Noلا |
| Coordinate flight paths, prevent collisionsتنسيق مسارات الطيران، ومنع التصادم | several drones in one areaعدة طائرات مسيّرة في منطقة واحدة | fog (a ground station)fog (محطة أرضية) | Yesنعم |
| Aggregate all drones to improve routes over timeتجميع بيانات كل الطائرات لتحسين المسارات مع الوقت | the whole fleetالأسطول كله | cloudcloud | Yesنعم |
يصنّف الجدول ثلاث مهام لنظام طائرات مسيّرة: مراقبة البطارية والعودة إلى القاعدة تحتاج بيانات طائرة واحدة فقط، فتعمل على حوسبة الطائرة نفسها (edge) بلا شبكات. وتنسيق مسارات الطيران لمنع التصادم يحتاج بيانات عدة طائرات في منطقة واحدة، فيعمل عبر محطة أرضية (fog) ويحتاج شبكات. وتجميع بيانات كل الأسطول لتحسين المسارات بمرور الوقت نطاقه عالمي، فيعمل في cloud. لاحظ أن عمود "الشبكات" يتحدد من عمود "بيانات من" وليس من اسم الطبقة.
The battery task is the key row. It must work even if every radio link is down, so it uses local compute and no networking service at all.
مهمة البطارية هي الصف المفتاحي. يجب أن تعمل حتى لو انقطعت كل الروابط اللاسلكية، لذلك تستخدم حوسبة محلية بلا أي خدمة شبكات إطلاقاً.
The slide 9 map
خريطة الشريحة 9
| Layerالطبقة | Network scopeنطاق الشبكة | Services on the slideالخدمات في الشريحة | Priorityالأولوية | Drone taskمهمة الطائرة المسيّرة |
|---|---|---|---|---|
| EdgeEdge | LAN | compute, storageحوسبة، تخزين | autonomyالاستقلالية (autonomy) | return to base on low batteryالعودة إلى القاعدة عند انخفاض البطارية |
| FogFog | WAN | compute, storage, networkingحوسبة، تخزين، شبكات | coordinationالتنسيق (coordination) | collision avoidance in one areaتجنّب التصادم في منطقة واحدة |
| CloudCloud | Internetالإنترنت (Internet) | the full data centerمركز البيانات الكامل | global connectivityالاتصال العالمي (global connectivity) | fleet-wide route learningتعلّم المسارات على مستوى الأسطول كله |
هذا هو جدول المطابقة الذي يجب حفظه: Edge يقع على LAN، ويقدّم compute وstorage فقط، وأولويته الاستقلالية (autonomy). وFog يقع على WAN، ويضيف networking، وأولويته التنسيق (coordination). وCloud يقع على Internet، وهو data center كامل، وأولويته الاتصال العالمي (global connectivity). لاحظ أن الأولوية تتبع النطاق: جهاز واحد يحتاج أن يعمل وحده، ومجموعة في منطقة تحتاج أن تتنسّق، والجميع يحتاجون اتصالاً عالمياً.
Why the priorities follow from scope
لماذا تنتج الأولويات من النطاق
- Edge, autonomy. Its functions touch one device or one local network, so they must keep working with no link to anywhere else.
Edge، الاستقلالية. وظائفه تخص جهازاً واحداً أو شبكة محلية واحدة، لذلك يجب أن تستمر في العمل دون أي ارتباط بمكان آخر.
- Fog, coordination. Its functions involve several parties in one region, who must exchange data quickly, so networking is the point of the layer.
Fog، التنسيق. وظائفه تشمل عدة أطراف في منطقة واحدة يجب أن تتبادل البيانات بسرعة، لذلك فالشبكات هي جوهر هذه الطبقة.
- Cloud, global connectivity. Its functions need everyone's data from everywhere, reached over the public Internet.
Cloud، الاتصال العالمي. وظائفه تحتاج بيانات الجميع من كل مكان، ويُوصَل إليها عبر Internet العام.
classify each function: whose data, which layer, why smart thermostat cuts the heater when the room overheats, even with the router off data : one device layer : EDGE (LAN) priority: autonomy network: not needed 12 traffic lights in one district share queue lengths to time a green wave data : several parties, one region layer : FOG (WAN) priority: coordination network: essential train a congestion model on two years of data from every junction in the country data : everyone, everywhere layer : CLOUD (Internet) priority: global connectivity
Full-mark answers give three reasons: the deadline, the data scope, and the layer's priority. A bare label earns little.
الإجابة الكاملة تذكر ثلاثة أسباب: المهلة الزمنية (deadline)، ونطاق البيانات، وأولوية الطبقة. أما ذكر اسم الطبقة وحده فلا يكسب إلا القليل.
"Alone, Together, Everyone." Edge works alone (autonomy, LAN). Fog works together (coordination, WAN). Cloud connects everyone (global connectivity, Internet). The network names grow in the same order: Local, Wide, Inter.
"Alone, Together, Everyone." أي: وحيداً، معاً، الجميع. Edge يعمل وحده (autonomy، LAN). وFog يعمل مع الآخرين (coordination، WAN). وCloud يربط الجميع (global connectivity، Internet). وأسماء الشبكات تكبر بنفس الترتيب: Local ثم Wide ثم Inter.
Reading the edge box correctly
قراءة مربع الـ edge بشكل صحيح
The edge box lists no networking. That means the edge offers no networking service to others, not that edge devices are offline. They still sit on a LAN, and an edge gateway still forwards traffic upward. The point is narrower: a function confined to one device does not need networking from its layer to do its job.
مربع edge لا يذكر networking. ومعنى ذلك أن edge لا يقدّم خدمة شبكات للآخرين، وليس أن أجهزته غير متصلة. فهي ما زالت على LAN، والبوابة (edge gateway) ما زالت تمرّر البيانات إلى الأعلى. النقطة أضيق من ذلك: الوظيفة المحصورة في جهاز واحد لا تحتاج شبكات من طبقتها لكي تؤدي عملها.
The Internet versus WAN split is about scope, not technology. The Internet is a network of networks built largely from WANs. On the slide, WAN means a regional, operator-scale area and Internet means global, public reach.
الفرق بين Internet وWAN هنا فرق في النطاق لا في التقنية. فالإنترنت شبكة من الشبكات مبنية في معظمها من WANs. وفي الشريحة، WAN تعني منطقة إقليمية يديرها مشغّل واحد، وInternet تعني وصولاً عاماً عالمياً.
Swapping the priorities. The classic matching error puts coordination on the edge or autonomy on the fog. Autonomy belongs to the layer that must survive alone (edge). Coordination belongs to the layer that joins several edges (fog).
تبديل الأولويات. خطأ المطابقة الشهير هو وضع coordination على edge أو autonomy على fog. الاستقلالية تخص الطبقة التي يجب أن تعيش وحدها (edge)، والتنسيق يخص الطبقة التي تجمع عدة edges (fog).
Swapping the networks. Edge is LAN, fog is WAN, cloud is Internet. Fog is not on the Internet column and cloud is not on the WAN column.
تبديل الشبكات. Edge على LAN، وfog على WAN، وcloud على Internet. فالـ fog ليس في عمود Internet، والـ cloud ليس في عمود WAN.
"Edge never needs a network" is false. The rule is about the function's scope. A true/false question that says networking needs are decided by the layer's name is false.
عبارة "edge لا يحتاج شبكة أبداً" خاطئة. القاعدة تتعلق بنطاق الوظيفة. وأي سؤال صح أو خطأ يقول إن الحاجة للشبكات تتحدد من اسم الطبقة فجوابه خطأ.
Check yourself
اختبر نفسك
According to slide 7, what decides whether a function needs networking?
بحسب الشريحة 7، ما الذي يحدد ما إذا كانت الوظيفة تحتاج إلى networking؟
The slide's boxed rule: networking requirements depend on the scope of the function, not simply on whether something is called edge, fog or cloud. Option A is exactly what the slide rejects.
القاعدة المؤطّرة في الشريحة: متطلبات الشبكات تعتمد على نطاق الوظيفة، لا على مجرد تسميتها edge أو fog أو cloud. والخيار A هو بالضبط ما ترفضه الشريحة.
Match the priorities on slide 9. Which row is correct?
طابِق الأولويات في الشريحة 9. أي صف صحيح؟
Edge prioritizes autonomy, fog prioritizes coordination, and cloud prioritizes global connectivity. Option A is the most common swap.
Edge أولويته autonomy، وfog أولويته coordination، وcloud أولويته global connectivity. والخيار A هو أشهر تبديل.
On slide 9, which layer offers compute and storage but no networking service?
في الشريحة 9، أي طبقة تقدّم compute وstorage دون خدمة networking؟
Point 3 in the LAN box lists compute and storage only. Points 2 and 1 in the WAN box add networking, and the cloud is the full data center.
النقطة 3 داخل مربع LAN تذكر compute وstorage فقط. والنقطتان 2 و1 داخل مربع WAN تضيفان networking، والسحابة هي data center كامل.
Several drones flying in the same area must agree on flight paths to avoid collisions. Where does this run, and why?
عدة طائرات مسيّرة تطير في نفس المنطقة ويجب أن تتفق على مسارات الطيران لتجنّب التصادم. أين تعمل هذه الوظيفة، ولماذا؟
The data spans several drones in one area, so networking is needed, but the region is local and the deadline is short. That is the fog's job (slide 7 names a ground station). One drone alone cannot see the others, and the cloud is too far for a collision deadline.
البيانات تشمل عدة طائرات في منطقة واحدة، فالشبكات مطلوبة، لكن المنطقة محلية والمهلة قصيرة. وهذه وظيفة fog (الشريحة 7 تذكر محطة أرضية). فالطائرة الواحدة لا ترى الأخريات، والسحابة بعيدة جداً بالنسبة لمهلة منع التصادم.
True or false, as an MCQ: "Edge devices are offline, which is why the edge box on slide 9 has no networking."
صح أم خطأ، على شكل اختيار من متعدد: "أجهزة edge غير متصلة بالشبكة، ولهذا لا يحتوي مربع edge في الشريحة 9 على networking."
The edge column is labelled Local Area Network, so its devices are networked. What is missing is a networking service offered to others, because functions placed at the edge have device-local scope. Option D swaps the network column.
عمود edge عنوانه Local Area Network، فأجهزته متصلة بشبكة. الغائب هو خدمة شبكات تُقدَّم للآخرين، لأن الوظائف الموضوعة في edge نطاقها محلي على الجهاز. والخيار D يبدّل عمود الشبكة.