A scalable cluster computing proof-of-concept that calculates prime numbers upto 2^32!

Overview

Project Crumbler

An proof-of-concept of oppurtunistic computing which also uses cluster computing

This serves as a project as part of the Cloud Computing Course at my university

Architecture

Arch

Split Banner

Installation

git clone https://github.com/DarthBenro008/crumbler

Cloud Central Server

To install the central server, use the following:

cd crumbler_central_node
yarn 
yarn start

You will get an message that:

Server started succesfully in port 3000

Using Dockerfile

Run the following commands

cd crumbler_central_node
docker build . -t crumbler_node:latest
docker run -p 3000:3000 crumbler_node:latest

Mobile App

Building

It is recommended that you run Gradle with the --daemon option, as starting up the tool from scratch often takes at least a few seconds. You can kill the java process that it leaves running once you are done running your commands.

Tasks work much like Make targets, so you may concatenate them. Tasks are not re-done if multiple targets in a single command require them. For example, running assemble install will not compile the apk twice even though install depends on assemble.

Clean

gradle clean

Debug

This compiles a debugging apk in build/outputs/apk/ signed with a debug key, ready to be installed for testing purposes.

gradle assembleDebug

You can also install it on your attached device:

gradle installDebug

Release

This compiles an unsigned release (non-debugging) apk in build/outputs/apk/. It's not signed, you must sign it before it can be installed by any users.

gradle assembleRelease

Test

Were you to add automated java tests, you could configure them in your build.gradle file and run them within gradle as well.

gradle test

Results

Why calculation of prime numbers?

We are using Sieve of erasothaneses to calculate prime numbers upto high like 2^25. We are doing this using web-socket and power of cluster computing,

we were able to achieve a whooping 50% efficiency than runnning it an normal node.

You might also like...
Proof of concept app for Android permanent denial-of-service vulnerability CVE-2020-0443

CVE-2020-0443 This is a proof of concept app that exploits CVE-2020-0443 to brick any Android device. After running the app and rebooting, the device

A proof-of-concept of a fractal/recursive navigation system.

compose-fractal-nav A proof-of-concept of a fractal/recursive navigation system. Instead of defining a bunch of top-level routes with navigation movin

Free p2p cdn android github sdk to reduce video streaming costs  of live and on demand video using webrtc by upto 90% and improve scalability by 6x - ๐Ÿš€ Vadootv ๐Ÿš€
Free p2p cdn android github sdk to reduce video streaming costs of live and on demand video using webrtc by upto 90% and improve scalability by 6x - ๐Ÿš€ Vadootv ๐Ÿš€

Android p2p cdn sdk to distribute load and reduce costs(https://peervadoo.com) Vadootv is a p2p sdk integration to reduce your video streaming costs b

This is the kotlin-based android application. In this you can solve upto 100 flag-quiz question and enhance your skill.
This is the kotlin-based android application. In this you can solve upto 100 flag-quiz question and enhance your skill.

Flag Quiz App - DOWNLOAD APP Enhance your knowledge by taking part in this Quiz - 100 Questions in 30 minutes It is based on the Kotlin language. You

๐Ÿงถ Full-fledged Kotlin client for MikaBot/cluster-operator as a separate package

๐Ÿงถ Eri Full-fledged Kotlin client for MikaBot/cluster-operator as a separate package Usage Connecting to operator fun main(args: ArrayString) {

Candash - A simple Android app that turns your phone into an instrument cluster for your Tesla Model 3 and Y
Candash - A simple Android app that turns your phone into an instrument cluster for your Tesla Model 3 and Y

What is CANdash? CANdash is an Android app that turns your Android device into a

This is a final project for Mobile Computing
This is a final project for Mobile Computing

Football_IQ This is a final project for Mobile Computing The Problem: Football deals with being the best athlete and understanding the sport and schem

Intellij Idea plugin to push indexing metrics into an Elasticsearch cluster
Intellij Idea plugin to push indexing metrics into an Elasticsearch cluster

indexing-metrics-collector Allows gathering IntelliJ IDEA project scanning & indexing metrics for further analysis by ingesting them into an elasticse

An application that calculates the amount of a potential tip to a service that we were satisfied with.

Project: Tip Time App The 4th project of Kotlin on Android Studio Basics course. Introduction In this project we will create an interactive applicatio

This console based application calculates sales tax, import duty and provide a way to print the invoice

Sales Tax Problem This console based application calculates sales tax, import du

An Android app that calculates BMI values and results by entering your height and weight
An Android app that calculates BMI values and results by entering your height and weight

BMICalculator BMI ์ง€์ˆ˜๋Š” ์†Œ์ˆ˜ ํ•œ์ž๋ฆฌ๊นŒ์ง€๋งŒ ์ถœ๋ ฅ๋จ BMI ๊ฒฐ๊ณผ์˜ ์ƒ‰์ƒ์€ ํ•˜๋‹จ ์ด๋ฏธ์ง€๋ทฐ์˜ ์ฒดํ˜•๋ณ„ ๊ฒฐ๊ณผ๊ฐ’์˜ ์ƒ‰์ƒ๊ณผ ๊ฐ™์Œ ์ฐธ๊ณ ํ–ˆ๋˜ ๋งํฌ

TipTime - An App for Android that Calculates Tip

Project: Tip Time Introduction A Tip Calculator For Android That Will Help You F

An app that calculates which fuel is cheaper for the user, the basis used for the calculation was the famous formula ValorAlcool / ValorGasolina

An app that calculates which fuel is cheaper for the user, the basis used for the calculation was the famous formula ValorAlcool / ValorGasolina

Application: SLA report This application calculates, based on an input, the average duration per service of Axon.

Application: SLA report This application calculates, based on an input, the average duration per service of Axon.

 NumberPickerView - Custom Android View to provide a user friendly way of picking numbers. ๐Ÿงช
NumberPickerView - Custom Android View to provide a user friendly way of picking numbers. ๐Ÿงช

๐Ÿš€ Custom view for Android which provides a modern design and gestures for picking numbers in a user friendly way.

Format numbers using a string pattern with this simple number formatted like ##-####-##

AndroidPattern Format numbers using a string pattern with this simple number formatted like ##-####-## Installation To get a Git project into your bui

Simple-Keyboard - A quick lightweight keyboard app that helps chatting with your friends, or inserting any other texts, numbers or symbols
Owner
Hemanth Krishna
Google SoC'21 @litmuschaos | LFX Mentee 2021 @cncf @keptn | k8s | Gopher | Android | Blockchain | CS Undergrad
Hemanth Krishna
Lambรซ Language 7 Dec 21, 2022
๐Ÿงถ Full-fledged Kotlin client for MikaBot/cluster-operator as a separate package

?? Eri Full-fledged Kotlin client for MikaBot/cluster-operator as a separate package Usage Connecting to operator fun main(args: Array<String>) {

Nino 3 Nov 17, 2021
An Android app that calculates BMI values and results by entering your height and weight

BMICalculator BMI ์ง€์ˆ˜๋Š” ์†Œ์ˆ˜ ํ•œ์ž๋ฆฌ๊นŒ์ง€๋งŒ ์ถœ๋ ฅ๋จ BMI ๊ฒฐ๊ณผ์˜ ์ƒ‰์ƒ์€ ํ•˜๋‹จ ์ด๋ฏธ์ง€๋ทฐ์˜ ์ฒดํ˜•๋ณ„ ๊ฒฐ๊ณผ๊ฐ’์˜ ์ƒ‰์ƒ๊ณผ ๊ฐ™์Œ ์ฐธ๊ณ ํ–ˆ๋˜ ๋งํฌ

HYUNJUNEPARK 0 Feb 10, 2022
Praveen Kumar Kumaresan 0 Jan 17, 2022
Clean Android multi-module offline-first scalable app in 2022. Including Jetpack Compose, MVI, Kotlin coroutines/Flow, Kotlin serialization, Hilt and Room.

Android Kotlin starter project - 2022 edition Android starter project, described precisely in this article. Purpose To show good practices using Kotli

Krzysztof Dฤ…browski 176 Jan 3, 2023
Proof of concept Android WebView implementation based on Chromium code

Deprecation Notice This project is un-maintained. The recommended alternative is the Crosswalk Project. I did not have the time to keep the project up

Victor Costan 1.7k Dec 25, 2022
Proof of concept of custom widgets and apps running on the Z Flip3 cover screen. Adds a widget to Z Flip3 cover screen that lets you launch a web browser-like app on the cover.

SubUI-browser Proof of concept of custom widgets and apps running on the Z Flip3 cover screen. Adds a widget to Z Flip3 cover screen that lets you lau

null 35 Dec 24, 2022
A bare minimum proof-of-concept for Log4j2 JNDI RCE vulnerability (CVE-2021-44228/Log4Shell)

Log4j2 RCE Vulnerability POC A bare minimum proof-of-concept for Log4j2 JNDI Remote-Code-Execution vulnerability (CVE-2021-44228). This is intended fo

Sola 4 Aug 17, 2022
Proof-of-Concept messaging and "voice over IP" server that uses microservices

bullets THIS IS A WIP PROJECT. Proof-of-Concept messaging and "voice over IP" server that uses microservices. The project uses many technologies. Such

Paulo Elienay II 0 Jan 2, 2022
STxMobile is a proof of concept of an Android app for remotely controlling the Raymarine ST2000+ tiller pilot from an Android phone.

STxMobile STxMobile is a proof of concept of an Android app for remotely controlling the Raymarine ST2000+ tiller pilot from an Android phone. The app

Marco 8 Sep 1, 2022