Majid Al-RaimiCourse map and syllabusخريطة المقرر والخطة الدراسية

COE 558Lecture 01المحاضرة 01Part 01الجزء 01

Course map and syllabusخريطة المقرر والخطة الدراسية

What the course covers, how it is graded, and how to plan the research project from week one.ما يغطيه المقرر، وكيف يُقيَّم، وكيف تخطط للمشروع البحثي من الأسبوع الأول.

Conceptsالمفاهيم
3
Slidesالشرائح
1-7
Readingمدة القراءة
18 min18 دقيقة
Understoodما فهمته
0/3 conceptsمفاهيم

Why this part mattersلماذا يهمّ هذا الجزء

This course is graded mostly on work you do outside the exam hall. The research project alone is worth 35%. The opening logistics are really a plan: which topics form the foundation, when the Week 8 midterm arrives, and how paper critiques turn into the research question behind your final study. Understand the plan well and you start the project in week one, not week twelve. The topic list is also a map of the skills you need to design a real edge and cloud service, from packaging it in containers to deciding where each step runs.

معظم درجة هذا المقرر تأتي من عمل تنجزه خارج قاعة الامتحان. المشروع البحثي وحده يساوي 35%. أمور التنظيم في بداية المقرر هي في الحقيقة خطة: أي المواضيع تشكّل الأساس، ومتى يأتي امتحان منتصف الفصل في الأسبوع 8، وكيف تتحول المراجعات النقدية للأوراق إلى السؤال البحثي الذي تقوم عليه دراستك النهائية. إذا فهمت الخطة جيدًا فستبدأ المشروع في الأسبوع الأول لا في الأسبوع الثاني عشر. وقائمة المواضيع هي أيضًا خريطة للمهارات التي تحتاجها لتصميم خدمة حقيقية على الحافة (edge) والسحابة (cloud)، من تغليفها في حاويات (containers) إلى تحديد أين تعمل كل خطوة.

By the end you canفي نهاية هذا الجزء ستستطيع

  1. Explain why Lecture 01 climbs from system models and networking to latency before it can answer where a task should run.تشرح لماذا تتدرج المحاضرة 01 من نماذج الأنظمة والشبكات إلى زمن الاستجابة (latency) قبل أن تستطيع الإجابة عن مكان تشغيل كل مهمة.
  2. Separate the Internet from the Web, and place each lecture topic in the chain that leads to the latency budget.تفرّق بين الإنترنت (Internet) والويب (Web)، وتضع كل موضوع في المحاضرة في موقعه من السلسلة التي تقود إلى ميزانية زمن الاستجابة (latency budget).
  3. Group the nine course topics into a foundations block and a build-and-operate block, and define image, container, registry, elasticity and the NIST models.تقسّم مواضيع المقرر التسعة إلى كتلة أساسيات وكتلة بناء وتشغيل، وتعرّف image وcontainer وregistry وelasticity ونماذج NIST.
  4. Compute how the 100% splits between coursework and exams, and within the 35% research project.تحسب كيف تتوزع نسبة 100% بين الأعمال الفصلية والامتحانات، وكيف تتوزع نسبة 35% داخل المشروع البحثي.
  5. Plan the project as a pipeline: three-pass paper reading, critiques that end in a research question, and office hours to agree scope early.تخطط للمشروع كخط متتابع (pipeline): قراءة الأوراق على ثلاث مراحل، ومراجعات نقدية تنتهي بسؤال بحثي، وساعات مكتبية للاتفاق على النطاق مبكرًا.

Start from the question this lecture ends on. A client sends images to a pipeline that resizes each image, detects objects and draws bounding boxes. Where should each step run: on the client device, on a nearby edge box, on a fog node or in a distant cloud data center? And which latency number backs that choice? The last part of this lecture builds exactly that answer, and every idea before it supplies one piece.

ابدأ من السؤال الذي تنتهي به هذه المحاضرة. يرسل عميل صورًا إلى خط معالجة (pipeline) يغيّر حجم كل صورة، ويكتشف الأجسام فيها، ثم يرسم حولها مربعات تحديد (bounding boxes). أين يجب أن تعمل كل خطوة: على جهاز العميل، أم على جهاز حافة (edge) قريب، أم على عقدة ضباب (fog)، أم في مركز بيانات سحابي بعيد؟ وما رقم زمن الاستجابة (latency) الذي يبرر هذا الاختيار؟ الجزء الأخير من المحاضرة يبني هذه الإجابة بالضبط، وكل فكرة قبله تقدّم قطعة منها.

The outline looks like a list, but read it as a chain in which each item answers a question the previous one raises. Take the running example of the lecture, a lamp you switch on from a web browser. To build it you first need a model of the system: which parts exist and who talks to whom. That model immediately asks how bytes move between machines, which is the job of the TCP/IP stack. Moving bytes is not enough; the browser and the lamp need a shared language for asking something to happen, and that language is HTTP. Your code then needs a programming interface for sending and receiving over the network, the socket. With those in place you can write an actual application, with a frontend in the browser and a backend on a server.

تبدو خطة المحاضرة كقائمة، لكن اقرأها كسلسلة يجيب فيها كل بند عن سؤال يطرحه البند الذي قبله. خذ المثال الذي ترافقنا به المحاضرة: مصباح تشغّله من متصفح الويب. لكي تبنيه تحتاج أولًا إلى نموذج للنظام: ما الأجزاء الموجودة ومن يتواصل مع من. هذا النموذج يطرح فورًا سؤال كيف تنتقل البايتات بين الأجهزة، وهذه مهمة TCP/IP stack. لكن نقل البايتات لا يكفي، فالمتصفح والمصباح يحتاجان إلى لغة مشتركة لطلب تنفيذ شيء ما، وهذه اللغة هي HTTP. بعد ذلك يحتاج الكود إلى واجهة برمجية للإرسال والاستقبال عبر الشبكة، وهي socket. وعندما تتوفر هذه كلها يمكنك كتابة تطبيق فعلي، له واجهة أمامية frontend في المتصفح وواجهة خلفية backend على خادم.

Only now can you ask the question the course is named after: where should that server run? The range of places between a device and the cloud where computation can live is the edge-to-cloud (E2C) continuum. The tool for choosing a place on it is the latency budget, the ceiling τ that a request's end-to-end response time must stay under. Placement is a latency decision, and latency comes from the network, which is why the lecture cannot skip the networking material to get to the interesting part faster.

الآن فقط يمكنك أن تسأل السؤال الذي سُمّي المقرر باسمه: أين يجب أن يعمل هذا الخادم؟ المدى الممتد من الجهاز إلى السحابة، بكل الأماكن التي يمكن أن تجري فيها الحوسبة، هو edge-to-cloud (E2C) continuum (متصل الحافة إلى السحابة). والأداة التي نختار بها مكانًا عليه هي latency budget (ميزانية زمن الاستجابة)، أي الحد الأعلى τ الذي يجب أن يبقى زمن الاستجابة الكلي للطلب من طرف إلى طرف دونه. اختيار المكان قرار يتعلق بزمن الاستجابة، وزمن الاستجابة مصدره الشبكة، ولهذا لا تستطيع المحاضرة أن تتخطى مادة الشبكات لتصل أسرع إلى الجزء المثير.

Outline itemبند الخطةSite partالجزء في الموقعSlidesالشرائح
Course syllabusتوصيف المقرر (syllabus)Part 1الجزء 11 to 7من 1 إلى 7
Motivationالدافع (Motivation)Part 2الجزء 28 to 21من 8 إلى 21
The Internet (TCP/IP stack)الإنترنت (TCP/IP stack)Part 3الجزء 322 to 29من 22 إلى 29
The Web (HTTP), network applications (sockets) and web developmentالويب (HTTP)، وتطبيقات الشبكة (sockets)، وتطوير الويبParts 4 and 5الجزآن 4 و530 to 45من 30 إلى 45
The E2C continuumمتصل E2C (E2C continuum)Parts 6 to 9الأجزاء من 6 إلى 946 to 71من 46 إلى 71
Latency budget and example E2C applicationsميزانية زمن الاستجابة (latency budget) وأمثلة على تطبيقات E2CPart 10الجزء 1072 to 77من 72 إلى 77
Where each outline item is taught on this siteأين يُشرح كل بند من خطة المحاضرة في هذا الموقع

Recall

Why does the lecture reach the TCP/IP stack before the E2C continuum?لماذا تصل المحاضرة إلى TCP/IP stack قبل E2C continuum؟

You cannot decide where a server should run until you understand how a request travels and what adds delay along the way. Placement on the continuum is a latency decision, and latency comes from the network.
لا يمكنك أن تقرر أين يجب أن يعمل الخادم قبل أن تفهم كيف ينتقل الطلب وما الذي يضيف تأخيرًا على طول الطريق. اختيار المكان على المتصل (continuum) قرار يتعلق بزمن الاستجابة، وزمن الاستجابة مصدره الشبكة.

A syllabus is a contract about scope: it tells you what can appear in exams and what counts as fair ground for your research project. COE 558 has two versions of that contract, and knowing both saves you from picking a project topic that is too narrow.

توصيف المقرر (syllabus) عقد حول النطاق: يخبرك بما يمكن أن يأتي في الامتحانات، وبما يُعدّ مجالًا مقبولًا لمشروعك البحثي. لمقرر COE 558 نسختان من هذا العقد، ومعرفة الاثنتين تحميك من اختيار موضوع مشروع ضيق أكثر من اللازم.

The slides describe what is taught this term. The official KFUPM catalog entry is the formal scope: it lists COE 558 as 3-0-3 (three lecture hours, no lab, three credits) with Graduate Standing as the prerequisite, and its description is broader than the nine topics taught in class.

الشرائح تصف ما يُدرَّس في هذا الفصل. أما مدخل المقرر في الدليل الرسمي لجامعة KFUPM فهو النطاق الرسمي: يذكر COE 558 بصيغة 3-0-3 (ثلاث ساعات محاضرة، بلا معمل، ثلاث ساعات معتمدة)، ومتطلبه السابق هو القيد في الدراسات العليا (Graduate Standing)، ووصفه أوسع من المواضيع التسعة التي تُدرَّس في الصف.

The practical rule: study the taught topics for exams, but when you pick a research topic, anything in either list is in scope. Storage models and big-data frameworks get only one short line in class, yet they are rich research areas.

القاعدة العملية: ذاكر المواضيع المُدرَّسة للامتحانات، لكن عندما تختار موضوعًا بحثيًا فأي شيء في أي من القائمتين داخل النطاق. نماذج التخزين وأطر البيانات الضخمة لا تأخذ في الصف إلا سطرًا قصيرًا واحدًا، ومع ذلك فهي مجالات بحثية غنية.

Nine topics as a stack: the bottom three are the foundations the rest build on.المواضيع التسعة على شكل طبقات: الثلاثة السفلى هي الأساسيات التي يُبنى عليها الباقي.

The foundations: three questions about the same applicationالأساسيات: ثلاثة أسئلة عن التطبيق نفسه

The nine topics split into two blocks. The first three are the foundations, and they read as three questions about the lamp application from the lecture arc.

تنقسم المواضيع التسعة إلى كتلتين. الثلاثة الأولى هي الأساسيات، ويمكن قراءتها كثلاثة أسئلة عن تطبيق المصباح الذي رأيناه في تسلسل المحاضرة.

  1. How do things communicate? Topic 1, this lecture: the TCP/IP stack, client and server roles, sockets, frontend and backend, and how latency shapes a web service on the edge-to-cloud continuum.كيف تتواصل الأشياء؟ الموضوع 1، وهو هذه المحاضرة: TCP/IP stack، ودورا العميل client والخادم server، وsockets، والواجهة الأمامية frontend والخلفية backend، وكيف يؤثر زمن الاستجابة latency في خدمة ويب على edge-to-cloud continuum.
  2. Where can it run, and how is it packaged? Topic 2: system thinking applied to the edge, fog and cloud layers, then virtualization: virtual machines, hypervisors and Docker containers.أين يمكن أن يعمل، وكيف يُغلَّف؟ الموضوع 2: التفكير المنظومي system thinking مطبقًا على طبقات الحافة edge والضباب fog والسحابة cloud، ثم الافتراضية (virtualization): الأجهزة الافتراضية (virtual machines) ومراقبات الأجهزة الافتراضية (hypervisors) وحاويات Docker.
  3. Where should it run? Topic 3: what makes something a cloud, what edge computing adds, and when to combine both.أين يجب أن يعمل؟ الموضوع 3: ما الذي يجعل الشيء سحابة، وما الذي تضيفه حوسبة الحافة (edge computing)، ومتى نجمع بينهما.

Packaging is the first place the course gets concrete. Docker's own documentation gives three short definitions worth memorizing now. An image is a read-only template with instructions for creating a container. A container is a runnable instance of an image. A registry stores images, and Docker Hub is a public registry. A virtual machine, by contrast, runs a whole guest operating system on virtualized hardware managed by a hypervisor, which is why containers are said to deploy faster. Treat that claim as a simplification. Docker says a container is relatively well isolated by default, but containers share the host kernel while each VM runs its own, so faster startup comes with weaker isolation than a VM, a trade-off you will study in topic 2.

التغليف هو أول موضع يصبح فيه المقرر ملموسًا. توثيق Docker نفسه يعطي ثلاثة تعريفات قصيرة تستحق الحفظ من الآن. الصورة (image) قالب للقراءة فقط يحتوي تعليمات إنشاء حاوية. والحاوية (container) نسخة قابلة للتشغيل من صورة. والسجل (registry) يخزّن الصور، وDocker Hub سجل عام. أما الجهاز الافتراضي (VM) فيشغّل نظام تشغيل ضيفًا كاملًا على عتاد افتراضي يديره hypervisor، ولهذا يقال إن الحاويات أسرع في النشر. تعامل مع هذا الادعاء على أنه تبسيط. يقول Docker إن الحاوية معزولة بشكل جيد نسبيًا افتراضيًا، لكن الحاويات تتشارك نواة (kernel) المضيف بينما يشغّل كل VM نواته الخاصة، لذلك يأتي الإقلاع الأسرع مع عزل أضعف من عزل الجهاز الافتراضي، وهذه مقايضة ستدرسها في الموضوع 2.

Once something is packaged, the next question is what it means to run it in a cloud. The standard definition comes from NIST Special Publication 800-145. It names five essential characteristics: on-demand self-service, broad network access, resource pooling, rapid elasticity and measured service. The course emphasizes self-service, scalability and elasticity. NIST describes rapid elasticity as capabilities that can be elastically provisioned and released, in some cases automatically, to scale rapidly outward and inward commensurate with demand.

بعد أن يُغلَّف الشيء، يأتي السؤال التالي: ماذا يعني أن تشغّله في سحابة؟ التعريف المعياري مأخوذ من منشور NIST الخاص رقم 800-145. يذكر خمس خصائص أساسية: الخدمة الذاتية عند الطلب (on-demand self-service)، والوصول الواسع عبر الشبكة (broad network access)، وتجميع الموارد (resource pooling)، والمرونة السريعة (rapid elasticity)، والخدمة المقاسة (measured service). المقرر يركز على الخدمة الذاتية وقابلية التوسع (scalability) والمرونة (elasticity). وتصف NIST المرونة السريعة بأنها قدرات يمكن توفيرها وتحريرها بمرونة، وتلقائيًا في بعض الحالات، لتتوسع بسرعة إلى الخارج وتنكمش إلى الداخل بما يتناسب مع الطلب.

Quick checkاختبار سريع

Which NIST characteristic means capacity scales outward and inward to match demand?أي خاصية من خصائص NIST تعني أن السعة تتوسع إلى الخارج وتنكمش إلى الداخل بما يتناسب مع الطلب؟

Recall

Image, container, registry: one line each.عرّف image وcontainer وregistry في سطر واحد لكل منها.

An image is a read-only template for creating containers. A container is a runnable instance of an image. A registry is a store of images, such as Docker Hub.
الصورة (image) قالب للقراءة فقط لإنشاء الحاويات. والحاوية (container) نسخة قابلة للتشغيل من صورة. والسجل (registry) مخزن للصور، مثل Docker Hub.

Build and operate: the remaining six topicsالبناء والتشغيل: المواضيع الستة الباقية

With the foundations in place, the other six topics move from understanding to building and operating real services. In order: what you rent from a provider (service and deployment models), a real open-source cloud you can run yourself (OpenStack), how services talk to each other (HTTP, REST and JSON through a Web API), how to run them at scale (containers, orchestration, monitoring), how to handle data at Internet scale, and how to keep all of it secure.

بعد أن تستقر الأساسيات، تنتقل المواضيع الستة الأخرى من الفهم إلى بناء خدمات حقيقية وتشغيلها. وهي بالترتيب: ما الذي تستأجره من المزوّد (نماذج الخدمة ونماذج النشر)، وسحابة حقيقية مفتوحة المصدر يمكنك تشغيلها بنفسك (OpenStack)، وكيف تتواصل الخدمات مع بعضها (HTTP وREST وJSON عبر web API)، وكيف تُشغَّل على نطاق واسع (الحاويات والتنسيق orchestration والمراقبة monitoring)، وكيف تُعالَج البيانات على نطاق الإنترنت، وكيف يُحافَظ على أمان ذلك كله.

The thread running through them is the service. Service-oriented architecture builds an application from separate services that talk over the network. Microservices push that idea further: many small services, each deployed on its own. REST (REpresentational State Transfer, capitalized to spell out the acronym) is the usual way those services expose a web API: each thing is a resource with a URL, and clients act on it with standard HTTP methods such as GET and POST.

الخيط الذي يجمعها هو الخدمة. المعمارية الموجهة بالخدمات (service-oriented architecture) تبني التطبيق من خدمات منفصلة تتواصل عبر الشبكة. والخدمات المصغّرة (microservices) تدفع الفكرة أبعد: خدمات صغيرة كثيرة، تُنشر كل منها مستقلة. وREST (REpresentational State Transfer، والأحرف الكبيرة فيها تكوّن الاختصار) هي الطريقة المعتادة التي تعرض بها هذه الخدمات web API: كل شيء مورد (resource) له URL، ويتعامل معه العملاء بطرق HTTP القياسية مثل GET وPOST.

What you rent determines how much of that service stack is yours to manage. NIST defines three service models. With Infrastructure as a Service you rent virtual machines, storage and networks and manage everything above them. With Platform as a Service you deploy your code onto a managed runtime. With Software as a Service you simply use a finished application. NIST also defines four deployment models, which describe who the cloud is for: private, community, public and hybrid.

ما تستأجره يحدد مقدار ما يقع عليك إدارته من طبقات الخدمة. تعرّف NIST ثلاثة نماذج خدمة. في البنية التحتية كخدمة (Infrastructure as a Service) تستأجر أجهزة افتراضية وتخزينًا وشبكات وتدير كل ما فوقها. وفي المنصة كخدمة (Platform as a Service) تنشر كودك على بيئة تشغيل مُدارة. وفي البرمجيات كخدمة (Software as a Service) تستخدم تطبيقًا جاهزًا فحسب. وتعرّف NIST أيضًا أربعة نماذج نشر تصف لمن تكون السحابة: خاصة (private)، ومجتمعية (community)، وعامة (public)، وهجينة (hybrid).

OpenStack makes those models tangible: it is an open-source platform for building your own cloud, assembled from separate services that talk to each other through APIs. In other words, it is itself a service-oriented system. The course names four of its services, and the official documentation describes each in one line.

يجعل OpenStack هذه النماذج ملموسة: هو منصة مفتوحة المصدر لبناء سحابتك الخاصة، مركّبة من خدمات منفصلة تتواصل فيما بينها عبر APIs. بعبارة أخرى، هو نفسه نظام موجّه بالخدمات. يذكر المقرر أربعًا من خدماته، والتوثيق الرسمي يصف كل واحدة منها في سطر.

ServiceالخدمةRoleالدورSourceالمصدر
NovaNovaProvisions compute instances (virtual servers)توفير مثيلات الحوسبة (خوادم افتراضية)OpenStack Nova docsتوثيق OpenStack Nova
KeystoneKeystoneAPI client authentication, service discovery and multi-tenant authorizationمصادقة عملاء الـ API، واكتشاف الخدمات، والتفويض متعدد المستأجرينOpenStack Keystone docsتوثيق OpenStack Keystone
HorizonHorizonThe dashboard: a web-based user interface to the other servicesلوحة التحكم: واجهة مستخدم على الويب للوصول إلى الخدمات الأخرىOpenStack Horizon docsتوثيق OpenStack Horizon
NeutronNeutronNetwork connectivity as a service between interface devicesاتصال شبكي كخدمة بين أجهزة الواجهاتOpenStack Neutron docsتوثيق OpenStack Neutron
Four core OpenStack servicesأربع خدمات أساسية في OpenStack

Quick checkاختبار سريع

Which pairing of OpenStack service and its role is correct?أي ربط بين خدمة من خدمات OpenStack ودورها صحيح؟

Recall

Name the four NIST deployment models.اذكر نماذج النشر الأربعة عند NIST.

Private, community, public and hybrid. Multi-cloud is industry usage, not a NIST model.
خاصة (private)، ومجتمعية (community)، وعامة (public)، وهجينة (hybrid). أما multi-cloud فاستخدام صناعي وليس نموذجًا من نماذج NIST.

Where the scope meets your projectحيث يلتقي نطاق المقرر بمشروعك

Two of the build-and-operate items connect straight back to the placement problem at the end of this lecture. Client-service interaction for cloud and edge deployments is about requests crossing the continuum, and end-to-end processing pipelines are chains of steps that can each run in a different place (a service pipeline). Deciding which step runs on the edge and which in the cloud, under a latency limit, is a natural research direction, for example latency-aware task placement. Start a list of candidate topics now; the next concept explains why that list needs to exist in week one.

بندان من بنود البناء والتشغيل يرتبطان مباشرة بمشكلة اختيار المكان في نهاية هذه المحاضرة. التفاعل بين العميل والخدمة في عمليات النشر على السحابة والحافة يدور حول طلبات تعبر المتصل (continuum)، وخطوط المعالجة من طرف إلى طرف هي سلاسل من الخطوات يمكن أن تعمل كل منها في مكان مختلف (service pipeline). تحديد أي خطوة تعمل على الحافة edge وأيها في السحابة cloud، تحت حد لزمن الاستجابة، اتجاه بحثي طبيعي، مثل توزيع المهام مع مراعاة زمن الاستجابة (latency-aware task placement). ابدأ الآن قائمة بالمواضيع المرشحة، فالمفهوم التالي يشرح لماذا يجب أن تكون هذه القائمة موجودة في الأسبوع الأول.

Start with the numbers, because they decide how you should spend your semester. The course has five assessments, and the research project inside them is split into three components.

ابدأ بالأرقام، لأنها تحدد كيف يجب أن تقضي فصلك الدراسي. في المقرر خمسة تقييمات، والمشروع البحثي من بينها مقسّم إلى ثلاثة مكونات.

Worked exampleمثال محلول

Where the 100% comes fromمن أين تأتي نسبة 100%

  1. Coursework versus examsالأعمال الفصلية مقابل الامتحانات

    Coursework is 10% + 10% + 35% = 55% (assignments, quizzes, project). Exams are 20% + 25% = 45% (midterm, final). More than half the grade is decided outside exam halls.
    الأعمال الفصلية تساوي 10% + 10% + 35% = 55% (الواجبات، والاختبارات القصيرة، والمشروع). والامتحانات تساوي 20% + 25% = 45% (منتصف الفصل، والنهائي). أي أن أكثر من نصف الدرجة يُحسم خارج قاعات الامتحان.
  2. Inside the projectداخل المشروع

    Reviews, seminar and final study give 8% + 7% + 20% = 35%. That makes the project the single largest assessment, bigger than the final exam at 25%.
    المراجعات والسمينار والدراسة النهائية تعطي 8% + 7% + 20% = 35%. وهذا يجعل المشروع أكبر تقييم منفرد، أكبر من الامتحان النهائي الذي يساوي 25%.
  3. One component against one examمكوّن واحد مقابل امتحان واحد

    The final research study alone (20%) weighs exactly as much as the midterm (20%).
    الدراسة البحثية النهائية وحدها (20%) تزن تمامًا ما يزنه امتحان منتصف الفصل (20%).
  4. Resultالنتيجة

    The project, not the exams, is the thing to plan the semester around. The tables add up: 10 + 10 + 35 + 20 + 25 = 100 and 8 + 7 + 20 = 35.
    المشروع، لا الامتحانات، هو ما يجب أن تبني خطة فصلك حوله. والجداول متسقة في مجموعها: 10 + 10 + 35 + 20 + 25 = 100 و8 + 7 + 20 = 35.
Research project: 35 of 100, split inside into reviews 8, seminar 7 and study 20.المشروع البحثي: 35 من 100، مقسّمة داخليًا إلى مراجعات 8 وسمينار 7 ودراسة 20.

Read the rubric as a pipelineاقرأ معايير التقييم كخط متتابع

The three project components are graded separately, but they work best as stages of one pipeline, much like the image pipeline this lecture ends on: each stage consumes the output of the one before it.

تُقيَّم مكونات المشروع الثلاثة كلٌّ على حدة، لكنها تنجح أكثر عندما تعمل كمراحل في خط واحد (pipeline)، يشبه خط معالجة الصور الذي تنتهي به هذه المحاضرة: كل مرحلة تستهلك مخرجات المرحلة التي قبلها.

  • Reviews and critiques (8%). Critical reading, identifying a research gap (a question or setting existing papers leave open), analysing the methodology, weighing strengths and weaknesses, and finally proposing an initial research question. The question is the output of this stage.المراجعات والنقد (8%). القراءة النقدية، وتحديد فجوة بحثية (سؤال أو بيئة تتركها الأوراق الموجودة مفتوحة)، وتحليل المنهجية، ووزن نقاط القوة والضعف، ثم أخيرًا اقتراح سؤال بحثي أولي. السؤال هو مخرج هذه المرحلة.
  • Seminar (7%). Technical understanding, presentation quality, critical discussion and Q&A. You are graded on whether you can defend a paper under questions, not only summarize it, so present a paper close to your research question.السمينار (7%). الفهم التقني، وجودة العرض، والنقاش النقدي، والأسئلة والأجوبة. تُقيَّم على قدرتك على الدفاع عن ورقة تحت الأسئلة، لا على تلخيصها فقط، لذلك اعرض ورقة قريبة من سؤالك البحثي.
  • Final research study (20%). Problem formulation, literature review, proposed methodology, implementation or simulation, results and the final report. That is months of work, not the last two weeks.الدراسة البحثية النهائية (20%). صياغة المشكلة، ومراجعة الأدبيات، والمنهجية المقترحة، والتنفيذ أو المحاكاة، والنتائج، والتقرير النهائي. هذا عمل شهور، لا عمل الأسبوعين الأخيرين.

Quick checkاختبار سريع

Which research project component weighs the same as the midterm exam?أي مكوّن من مكونات المشروع البحثي يزن ما يزنه امتحان منتصف الفصل؟

Quick checkاختبار سريع

According to the grading rubric, what should a paper critique end by proposing?وفق معايير التقييم، بماذا يجب أن تنتهي المراجعة النقدية للورقة؟

Feeding the pipeline: reading papers in three passesتغذية الخط: قراءة الأوراق على ثلاث مراحل

The first stage only works if you can read many papers without drowning in them. S. Keshav's widely used method reads a paper in up to three passes, each deeper than the last, so you spend real time only on the papers that earn it. The first pass takes about 5 to 10 minutes: title, abstract, introduction, section headings and conclusions. It should let you answer the five Cs: category, context, correctness, contributions and clarity. The second pass takes up to an hour: read carefully, skip proofs, study the figures and mark references you have not read.

المرحلة الأولى لا تنجح إلا إذا استطعت قراءة أوراق كثيرة دون أن تغرق فيها. طريقة S. Keshav واسعة الانتشار تقرأ الورقة على ثلاث مراحل (passes) كحد أقصى، كل منها أعمق من سابقتها، فلا تنفق وقتًا حقيقيًا إلا على الأوراق التي تستحقه. المرحلة الأولى تستغرق نحو 5 إلى 10 دقائق: العنوان، والملخص، والمقدمة، وعناوين الأقسام، والخلاصة. ويجب أن تمكّنك من الإجابة عن الأسئلة الخمسة (five Cs): الفئة (category)، والسياق (context)، والصحة (correctness)، والإسهامات (contributions)، والوضوح (clarity). والمرحلة الثانية تستغرق حتى ساعة: اقرأ بعناية، وتخطَّ البراهين، وادرس الأشكال، وعلّم المراجع التي لم تقرأها.

The third pass means virtually re-implementing the paper, making the same assumptions and recreating the work in your head. Keshav estimates about four or five hours for beginners and about an hour for an experienced reader. By the end you can name implicit assumptions and weak points, which is exactly what the critique rubric asks for. For a literature survey he suggests finding three to five recent papers, reading their related-work sections, then following the citations and venues they share.

المرحلة الثالثة تعني إعادة تنفيذ الورقة افتراضيًا: تأخذ الافتراضات نفسها وتعيد بناء العمل في ذهنك. يقدّر Keshav أنها تستغرق نحو أربع أو خمس ساعات للمبتدئ، ونحو ساعة للقارئ المتمرس. في نهايتها تستطيع تسمية الافتراضات الضمنية ونقاط الضعف، وهذا بالضبط ما تطلبه معايير تقييم المراجعة النقدية. ولمسح الأدبيات (literature survey) يقترح أن تجد ثلاث إلى خمس أوراق حديثة، وتقرأ أقسام الأعمال ذات الصلة (related work) فيها، ثم تتبع الاستشهادات وأماكن النشر المشتركة بينها.

Critiques produce the research question the final study builds on. Only the Week 8 midterm has a fixed date.المراجعات النقدية تنتج السؤال البحثي الذي تقوم عليه الدراسة النهائية. وحده امتحان منتصف الفصل في الأسبوع 8 له موعد محدد.

Protecting the pipeline: office hoursحماية الخط: الساعات المكتبية

A pipeline is only as good as its earliest decisions, and in a research project the expensive ones are scope and method. A concept you did not follow can be re-read here. A research question that is too broad, or a methodology the instructor considers infeasible, costs weeks if you discover it at the seminar. That is what office hours are for.

جودة أي خط متتابع تتوقف على قراراته الأولى، وفي المشروع البحثي القرارات المكلفة هي النطاق والمنهج. المفهوم الذي لم تفهمه يمكنك أن تعيد قراءته هنا. أما سؤال بحثي واسع أكثر من اللازم، أو منهجية يراها المحاضر غير قابلة للتنفيذ، فيكلفك أسابيع إذا اكتشفته في السمينار. لهذا وُجدت الساعات المكتبية.

Section, schedule and contact detailsالشعبة والجدول وبيانات التواصل

Sectionالشعبة
558-2558-2
Class timeوقت المحاضرة
Monday and Wednesday, 6:45 PM to 8:00 PMالاثنين والأربعاء، 6:45 PM to 8:00 PM
Venueالقاعة
Building 24, Room 244المبنى 24، الغرفة 244
Instructorالمحاضر
Dr. Muhammad Afaq, muhammad.afaq@kfupm.edu.saد. محمد آفاق (Dr. Muhammad Afaq)، muhammad.afaq@kfupm.edu.sa
Officeالمكتب
22-21622-216
Office hoursالساعات المكتبية
Monday and Wednesday, 3:00 PM to 4:00 PM, or by appointment via email or Teamsالاثنين والأربعاء، 3:00 PM to 4:00 PM، أو بموعد مسبق عبر البريد الإلكتروني أو Teams

The venue is written as Building #24 244, which reads as Building 24, Room 244. If you are unsure on the first day, check the room number on the registrar schedule.

القاعة مكتوبة بصيغة Building #24 244، وتُقرأ: المبنى 24، الغرفة 244. إذا لم تكن متأكدًا في اليوم الأول، فتحقق من رقم الغرفة في جدول عمادة القبول والتسجيل.

Quick checkاختبار سريع

Which assessment carries the largest share of the course grade?أي تقييم يحمل الحصة الأكبر من درجة المقرر؟

Recall

List the three research project components with their weights, and say what each one produces.اذكر مكونات المشروع البحثي الثلاثة مع أوزانها، وقل ماذا ينتج كل منها.

Reviews and critiques (8%) produce an initial research question. The seminar (7%) demonstrates technical understanding under Q&A. The final study (20%) produces the problem formulation, literature review, methodology, implementation or simulation, results and a report.
المراجعات والنقد (8%) تنتج سؤالًا بحثيًا أوليًا. والسمينار (7%) يُظهر الفهم التقني تحت الأسئلة والأجوبة. والدراسة النهائية (20%) تنتج صياغة المشكلة، ومراجعة الأدبيات، والمنهجية، والتنفيذ أو المحاكاة، والنتائج، وتقريرًا.

Recall

What are Keshav's three passes, and roughly how long does each take?ما مراحل القراءة الثلاث عند Keshav، وكم تستغرق كل منها تقريبًا؟

First, a bird's-eye scan in 5 to 10 minutes. Second, a careful read that skips proofs, up to an hour. Third, a virtual re-implementation, about four or five hours for a beginner.
الأولى: مسح سريع شامل في 5 إلى 10 دقائق. الثانية: قراءة متأنية تتخطى البراهين، حتى ساعة. الثالثة: إعادة تنفيذ افتراضية للورقة، نحو أربع أو خمس ساعات للمبتدئ.

Recapالخلاصة

If you remember nothing elseإن لم تتذكر شيئاً آخر فتذكّر هذا

  • Lecture 01 is a chain: system model, TCP/IP, HTTP, sockets, web apps, then latency and where each task should run on the edge-to-cloud continuum.المحاضرة 01 سلسلة: نموذج النظام، ثم TCP/IP، ثم HTTP، ثم sockets، ثم تطبيقات الويب، ثم زمن الاستجابة وأين يجب أن تعمل كل مهمة على edge-to-cloud continuum.
  • Topics 1 to 3 are the foundations (communication, virtualization, cloud and edge). Topics 4 to 9 cover building, running and securing cloud services. The catalog scope is broader and all of it is fair ground for research.المواضيع 1 إلى 3 هي الأساسيات (التواصل، والافتراضية، والسحابة والحافة). والمواضيع 4 إلى 9 تغطي بناء الخدمات السحابية وتشغيلها وتأمينها. نطاق الدليل الرسمي أوسع، وكله مجال مقبول للبحث.
  • Docker: an image is a read-only template, a container is a running instance, a registry stores images. OpenStack: Nova compute, Keystone identity, Horizon dashboard, Neutron networking.في Docker: الصورة (image) قالب للقراءة فقط، والحاوية (container) نسخة قيد التشغيل، والسجل (registry) يخزّن الصور. وفي OpenStack: Nova للحوسبة، وKeystone للهوية، وHorizon للوحة التحكم، وNeutron للشبكات.
  • NIST has five cloud characteristics, three service models and four deployment models (private, community, public, hybrid). The course lists public, private, hybrid and multi-cloud.عند NIST خمس خصائص للسحابة، وثلاثة نماذج خدمة، وأربعة نماذج نشر (private وcommunity وpublic وhybrid). أما المقرر فيذكر public وprivate وhybrid وmulti-cloud.
  • Grades: assignments 10, quizzes 10, project 35, midterm 20 (Week 8), final 25. Coursework is 55 and exams are 45.الدرجات: الواجبات 10، والاختبارات القصيرة 10، والمشروع 35، ومنتصف الفصل 20 (الأسبوع 8)، والنهائي 25. الأعمال الفصلية 55 والامتحانات 45.
  • Project: reviews 8, seminar 7, final study 20, read as a pipeline. The review stage ends in an initial research question.المشروع: المراجعات 8، والسمينار 7، والدراسة النهائية 20، ويُقرأ كخط متتابع. مرحلة المراجعة تنتهي بسؤال بحثي أولي.
  • Read papers in three passes, review each lecture one to two weeks later, and use office hours to agree project scope.اقرأ الأوراق على ثلاث مراحل، وراجع كل محاضرة بعد أسبوع إلى أسبوعين، واستخدم الساعات المكتبية للاتفاق على نطاق المشروع.

Sourcesالمصادر