COMP2207 Protocol

public class Protocol { // messages sent by Clients public final static String LIST_TOKEN = “LIST”; // also from Controller and Dstores public final static String STORE_TOKEN = “STORE”; // also from Dstores public final static String LOAD_TOKEN = “LOAD”; public final static String LOAD_DATA_TOKEN = “LOAD_DATA”; public final static String RELOAD_TOKEN = “RELOAD”; public […]

COMP2207 Protocol Read More »

COMP2207 Coursework

COMP2207 – 2023/24 – Coursework Specification Distributed File System coursework 1 Introduction In this coursework you will build a distributed storage system. This will involve knowledge of Java, networking and distributed systems. The system has one Controller and N Data Stores (Dstores). It supports multiple concurrent clients sending store, load, list, remove requests. You will

COMP2207 Coursework Read More »

COMP2207 ClientMain

import java.io.File; import java.io.IOException; import java.util.Random; public class ClientMain { public static void main(String[] args) throws Exception{ final int cport = Integer.parseInt(args[0]); int timeout = Integer.parseInt(args[1]); // this client expects a ‘downloads’ folder in the current directory; all files loaded from the store will be stored in this folder File downloadFolder = new File(“downloads”); if

COMP2207 ClientMain Read More »

CS7280 Quiz 12

Which of the following statements isare TRUE? As we increase the value of the exponent a in the nonlinear Preferential Attachment I k ck, where c is a positive constant, the following happens: A: The maximum degree is expected to reduce. B: The degree variance is expected to increase. C: The degree distribution is expected

CS7280 Quiz 12 Read More »

CSE361S malloclab

CSE 361S Spring 2024 Lab 5: Writing a Dynamic Memory Allocator Assigned: Wednesday, April 3rd Checkpoint due: Friday, April 19th at 11:59pm Full lab due: Sunday, April 28th at 11:59pm 1 Introduction In this lab you will be writing a generalpurpose dynamic storage allocator for C programs; i.e., your own version of the malloc, free,

CSE361S malloclab Read More »

FIT1047 Assignment 2 – Processes and MARIE Programming

FACULTY OF INFORMATION TECHNOLOGY FIT1047 Introduction to computer systems, networks and security – S1 2024 Assignment 2 – Processes and MARIE Programming Processes and programs are what makes computers do what we want them to do. In the first part of this assignment, students will investigate the processes running on their computers. The second part

FIT1047 Assignment 2 – Processes and MARIE Programming Read More »

FIT5225 Assignment 1 Rubric

FIT5225 -Assignment 1 Rubric Web Service (10) Object detection is working correctly and is able to detect the correct objects in the images, handles concurrent requests, and the Base64 decoding process is done properly. Web service generates proper JSON messages as the response in the requested format. UUID is handled properly. Code is readable, well-designed,

FIT5225 Assignment 1 Rubric Read More »

FIT5225 Assignment1 2024

Assignment 1 FIT5225 2024 SM1 CloudDetect: Creating and Deploying an Image Object Detection Web Service within a Containerised Environment in Clouds 1 Synopsis and Background This project aims to build a web-based system that we call CloudDetect. It will allow end-users to send an image to a web service hosted by Docker containers and receive

FIT5225 Assignment1 2024 Read More »

FIT5225 Assignment1 2022

Assignment 1 FIT5225 2022 SM1 Creating and Deploying an Image Object Detection Web Service within a Containerised Environment in Clouds 1 Synopsis and Background This project aims at building a web-based system that we call iWebLens. It allows end-users to send an image to a web service hosted by Docker containers and receive a list

FIT5225 Assignment1 2022 Read More »