Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit

School of Computing: COMP5123M Coursework 2

Module title

Cloud Computing Systems

Module code

COMP5123M

Assignment title

Coursework 2

Assignment type and description

   In-course Assessment

Rationale

The  coursework demonstrates that you can discuss, reason and construct practical outcomes from learned knowledge. You need to review the material covered in the lectures and lab. sessions in week 5-6.

Word limit and guidance

-

Weighting

20%

Submission dead- line

21/03/2024, 10:00

Submission

method

Gradescope

Feedback provision

25/04/2024 on Gradescope.

Learning  outcomes assessed

1. Design a high-level framework of a Cloud architec- ture; 2) Use a range of middleware tools to implement and evaluate a cloud application.

1. Assignment guidance This exercise aims to give you some practical experience of using serverless architectures.  It will also give you the opportunity to research on the cloud computing domain of Function as a Service (FaaS), technologies and performance.

Serverless computing is revolutionising cloud application development as it ofers the ability to create modular, highly-scalable, fault-tolerant applications, with minimal operational management.  In order to con- tribute to the widespread adoption of serverless platforms, the perfor- mance of functions, including work月ows, running on such platforms is key. This coursework aims to investigate the performance of worklow functions on two diferent platforms: commercial and open-source.

You should carefully review the lecture notes on this topic before you start work.

2. Assessment tasks

(a)  For the investigation, consider the following platforms:  Microsoft Azure Functions serverless solution and OpenFaas;

(b)  Research  into the performance of serverless  work月ows deployed on serverless architectures (commercial and open-source) to pro- vide insight into their capabilities and increase awareness of their potential;

(c)  Design  a  set of experiments to assess the performance on each  serverless platform considering one language runtime of your choice. You can choose, for example, among Python, Java and Node.js.  Propose a cloud-based technical implementation for comparison  and analysis of your serverless worklow, and demonstrate their  performance in terms of runtime and resource consumption.

1 Requirements

(a) Related work in the literature:  identify at least two research pa- pers that report on serverless worklows.   Extra  marks  will  be allocated when considering a thorough review of the literature.

(b)  Consider a serverless worklow of your choice, e.g. image  pro- cessing pipeline, parallel processing, machine learning etc. The worklow should have a  minimum of two functions and a  maxi- mum of three.   Extra marks will be allocated when considering three functions.

(c)  Consider one programming language for the implementation of your functions;

(d)  Consider the  aspect  of scalability by increasing the number of function invocations;

(e)  Report your performance results.

Notes.

(a) You need to install OpenFaaS, e.g. on a Virtual Machine running on Microsoft Azure.

(b) An important aspect of the implementation of the serverless func- tions is how they are triggered, see lecture slides and examples on the Azure portal.

(c) You need to demonstrate your ability to write code to implement your own serverless functions. You are allowed to implement one function in the worklow that interacts with third-party services through, e.g. APIs.

3. General guidance and study support Learning resources and use- ful links are available in COMP5123M area on Minerva.  Help is also available on the module Teams channel.

4. Assessment criteria and marking process

Address the questions in relation the problem motivation, related work, worklow composition originality, experimental design and implemen- tation, discussion of results, and evidence of execution.  Distribution of marks:

Report

Problem motivation                                       5

Related work                                                5

Workflow originality                                       5

Experimental Design and Implementation       10

Results                                                        10

Quality of evaluation                                     10

Code/scripts                                                  5

                                                                  50

Coursework feedback and return of marks will be available on Grade- scope (expected date: 4 weeks after coursework submission).

5. Presentation and referencing

The quality of written English will be assessed in this work. As a minimum, you must ensure:

❼ Paragraphs are used

❼ There  are  links  between  and within paragraphs although these may be inefective at times

❼ There are (at least) attempts at referencing

❼ Word choice and grammar do not seriously undermine the mean- ing and comprehensibility of the argument

❼ Word choice  and grammar are generally appropriate to an aca- demic text.

These are pass/ fail criteria. So irrespective of marks awarded else- where, if you do not meet these criteria you will fail overall.

6. Submission requirements

The following deliverables are expected:

(a) Research report on the domain of investigation: answer all the individual questions available on Gradescope;

(b) Material developed as part of the experiment design (code, scripts). To submit your code for the exercise, you can either:  1) provide  a link to Git, or 2) create a Zip or tar archive of the iles which make up your system and upload it on Gradescope.  If you have organised your iles into a directory hierarchy, then package this as a single Zip or tar archive;

(c) Demonstration:  produce a short video (maximum 2 minutes long) to demonstrate your solution and results.  You can either: 1) upload it on Gradescope, or 2) upload on any cloud platform of your choice, e.g. Youtube and provide the link.

7. Academic misconduct and plagiarism

Academic integrity means engaging in good academic practice.  This involves essential academic skills, such as keeping track of where you ind ideas and information and referencing these accurately in your work.

By submitting this assignment you are conirming that the work is a true expression of your own work and ideas and that you have given credit to others where their work has contributed to yours.

8. Assessment/marking criteria grid

This coursework is marked out of 50 and accounts for 20% of the assess- ment.  A lateness submision penalty will apply  (5% of the maximum available mark per day).