SlideShare ist ein Scribd-Unternehmen logo
1 von 17
Downloaden Sie, um offline zu lesen
Asterism: A Decentralized File Sharing
for Mobile Devices
Olli-Pekka Heinisuo, Valentina Lenarduzzi, Davide Taibi
Tampere University
CloWEE – Cloud and Web Engineering
http://research.tuni.fi/clowee
Background
â—Ź Computers, smart devices are connected to the internet
â—‹ produce and consume huge amounts of data
â—Ź Data need to be stored somewhere
â—‹ cloud platforms
â–  AWS, Azure, Google Cloud etc.
@davidetaibi Asterism: A Decentralized File Sharing for Mobile Devices IEEE Mobile Cloud 2019
Background
Data Storage is highly centralized
â—Ź In the hands of a few large private enterprises
â—Ź Single point of failure (there are still servers)
â—Ź Concerns about privacy and security
@davidetaibi Asterism: A Decentralized File Sharing for Mobile Devices IEEE Mobile Cloud 2019
Background
How to avoid the usage of the central entities?
â—Ź Peer-to-peer (p2p) networking
â—‹ Every device is both a client and a server
â–  BitTorrent, Freenet, Gnutella, Napster etc.
â—‹ Widely used by cryptocurrencies
■ Bitcoin and Ethereum, …
@davidetaibi Asterism: A Decentralized File Sharing for Mobile Devices IEEE Mobile Cloud 2019
Goal
Is it possible to use mobile devices as a
decentralized content delivery network
without any central servers or authorities?
@davidetaibi Asterism: A Decentralized File Sharing for Mobile Devices IEEE Mobile Cloud 2019
Research Method
â—Ź Development of proof of concept
â—‹ p2p mobile application
â—Ź Validation
â—‹ Measurement on different devices
â–  network usage
â–  power consumption.
@davidetaibi Asterism: A Decentralized File Sharing for Mobile Devices IEEE Mobile Cloud 2019
Peer-to-peer network selection
â—Ź InterPlanetary File System (IPFS)
â—‹ Widely used
â—‹ Reference implementation available in Go
â—‹ Very active development
â—Ź Dat
â—‹ hard to integrate to resource constrained mobile environment
â—‹ JavaScript-only implementation
â—Ź Swarm (part of Ethereum ecosystem)
â—‹ Not mature (in alpha state)
â—‹ depends on Ethereum
Selected
@davidetaibi Asterism: A Decentralized File Sharing for Mobile Devices IEEE Mobile Cloud 2019
Mobile Application Requirements
â—Ź Start and stop a fully working IPFS node.
â—Ź Run in the background while other applications are running.
â—Ź Display basic information about the node and its status in the user interface.
â—Ź User interface can be used to change basic settings of the node.
â—Ź User interface allows adding content to IPFS and retrieving content from
IPFS.
â—Ź Provides a file system style interface for managing the added files.
@davidetaibi Asterism: A Decentralized File Sharing for Mobile Devices IEEE Mobile Cloud 2019
Mobile Platform Selection
Three mobile operating systems considered:
â—Ź iOS
â—Ź Android
â—Ź Sailfish OS
â—Ź True multitasking support
â–  easy to run measurements while other apps are running in the background.
â—Ź Applications Developed in C++.
â–  A shared library based on IPFS Go implementation can be used directly from C++ without extra software layers.
â—Ź Native access to full GNU/Linux system and terminal without rooting or jailbreaking the device.
â—Ź Access to many command line applications which would be hard to come by in the other two
operating systems.
Selected
Thank you!
The Mobile Application Developed
â—Ź The IPFS Go library (go-ipfs) cannot be directly used from a C++
application
â—Ź Separate wrapper, Libipfs, was developed for go-ipfs in Go and C
â—‹ This wrapper exposes simple to use IPFS methods
â—‹ Cross-compiled into shared library for ARM and x86 platforms
â—‹ Single binary, contains also Go runtime
â—‹ Available at https://github.com/skvark/libipfs
â—Ź Main mobile application, Asterism, is dynamically linked with
Libipfs
â—‹ Uses Libipfs methods, concurrency handled internally in Libipfs with
goroutines (lightweight threads of Go)
â—‹ Mainly QML-based GUI code and some C++
â—‹ Available at https://github.com/skvark/Asterism
@davidetaibi Asterism: A Decentralized File Sharing for Mobile Devices IEEE Mobile Cloud 2019
@davidetaibi Asterism: A Decentralized File Sharing for Mobile Devices IEEE Mobile Cloud 2019
Measurements
Three devices were adopted for the measurements:
Sony Xperia X Jolla C Jolla Tablet
Measurement Settings
The network usage and power consumption measurements:
â—Ź No content was added to or retrieved from IPFS
â—Ź Device screen was off
â—Ź Android support layer of the Sailfish OS was turned off
â—Ź Power consumption was measured for 4 hours
â—Ź Network usage was measured for about 2 hours
â—Ź Network combinations: WLAN + 4G, WLAN only, 4G only
â—Ź IPFS modes: full DHT (Distributed Hash Tables) and client only
@davidetaibi Asterism: A Decentralized File Sharing for Mobile Devices IEEE Mobile Cloud 2019
Network Traffic
ANalysis
@davidetaibi Asterism: A Decentralized File Sharing for Mobile Devices IEEE Mobile Cloud 2019
Power Consumption
@davidetaibi Asterism: A Decentralized File Sharing for Mobile Devices IEEE Mobile Cloud 2019
Conclusions
Mobile devices can be used to implement a fully decentralized content sharing network, but:
â—Ź Network usage was so high that the devices could not enter into deep sleep mode.
â—Ź Battery life was highly impacted.
â—‹ On 4G only about 7 hours of continuous usage is possible.
â—‹ On WLAN 14 hours .
â—Ź IPFS needs optimizations or/and bandwidth limit settings.
â—‹ Note: next version of go-ipfs was just released with some optimizations.
â—Ź Suitable for devices used as IoT, always connected to the electricity
@davidetaibi Asterism: A Decentralized File Sharing for Mobile Devices IEEE Mobile Cloud 2019

Weitere ähnliche Inhalte

Was ist angesagt?

IITSEC-20131205-No Video
IITSEC-20131205-No VideoIITSEC-20131205-No Video
IITSEC-20131205-No VideoHarry Chawla
 
Edge-Fog Cloud: Scaling IoT computations on the edge
Edge-Fog Cloud: Scaling IoT computations on the edgeEdge-Fog Cloud: Scaling IoT computations on the edge
Edge-Fog Cloud: Scaling IoT computations on the edgeNitinder Mohan
 
IoX - tech-intro-for-paris-hackathon
IoX - tech-intro-for-paris-hackathonIoX - tech-intro-for-paris-hackathon
IoX - tech-intro-for-paris-hackathonCisco DevNet
 
Sustainability and fog computing applications, advantages and challenges
Sustainability and fog computing applications, advantages and challengesSustainability and fog computing applications, advantages and challenges
Sustainability and fog computing applications, advantages and challengesAbdulMajidFarooqi
 
KNoT Manifesto
KNoT ManifestoKNoT Manifesto
KNoT ManifestoTiago Barros
 
Edge and Fog computing, a use-case prespective
Edge and Fog computing, a use-case prespectiveEdge and Fog computing, a use-case prespective
Edge and Fog computing, a use-case prespectiveChetan Kumar S
 
Edge computing -by ChandraShekhar
Edge computing -by ChandraShekharEdge computing -by ChandraShekhar
Edge computing -by ChandraShekharChandraShekhar Patel
 
Edge Computing Platforms and Protocols - Ph.D. thesis
Edge Computing Platforms and Protocols - Ph.D. thesisEdge Computing Platforms and Protocols - Ph.D. thesis
Edge Computing Platforms and Protocols - Ph.D. thesisNitinder Mohan
 
Fog computing
Fog computingFog computing
Fog computingkarunsajeev
 
Azureday 2020 - The Edge talks - long road into the Cloud​
Azureday 2020 - The Edge talks - long road into the Cloud​Azureday 2020 - The Edge talks - long road into the Cloud​
Azureday 2020 - The Edge talks - long road into the Cloud​Rafal Warzycha
 
What is Edge Computing and Why does it matter in IoT?
What is Edge Computing and Why does it matter in IoT?What is Edge Computing and Why does it matter in IoT?
What is Edge Computing and Why does it matter in IoT?Sameer Ahmed
 
Security Issues of IoT with Fog
Security Issues of IoT with FogSecurity Issues of IoT with Fog
Security Issues of IoT with FogAchu Anna
 
Walking through the fog (computing) - Keynote talk at Italian Networking Work...
Walking through the fog (computing) - Keynote talk at Italian Networking Work...Walking through the fog (computing) - Keynote talk at Italian Networking Work...
Walking through the fog (computing) - Keynote talk at Italian Networking Work...FBK CREATE-NET
 
IPv6 and Internet of Things: A Nice Couple
IPv6 and Internet of Things: A Nice CoupleIPv6 and Internet of Things: A Nice Couple
IPv6 and Internet of Things: A Nice CoupleRIPE NCC
 

Was ist angesagt? (20)

Fog Computing
Fog ComputingFog Computing
Fog Computing
 
IITSEC-20131205-No Video
IITSEC-20131205-No VideoIITSEC-20131205-No Video
IITSEC-20131205-No Video
 
Fog computing
Fog computingFog computing
Fog computing
 
Edge-Fog Cloud: Scaling IoT computations on the edge
Edge-Fog Cloud: Scaling IoT computations on the edgeEdge-Fog Cloud: Scaling IoT computations on the edge
Edge-Fog Cloud: Scaling IoT computations on the edge
 
Edge-Fog Cloud
Edge-Fog CloudEdge-Fog Cloud
Edge-Fog Cloud
 
IoX - tech-intro-for-paris-hackathon
IoX - tech-intro-for-paris-hackathonIoX - tech-intro-for-paris-hackathon
IoX - tech-intro-for-paris-hackathon
 
Sustainability and fog computing applications, advantages and challenges
Sustainability and fog computing applications, advantages and challengesSustainability and fog computing applications, advantages and challenges
Sustainability and fog computing applications, advantages and challenges
 
Edge Computing
Edge ComputingEdge Computing
Edge Computing
 
KNoT Manifesto
KNoT ManifestoKNoT Manifesto
KNoT Manifesto
 
Edge and Fog computing, a use-case prespective
Edge and Fog computing, a use-case prespectiveEdge and Fog computing, a use-case prespective
Edge and Fog computing, a use-case prespective
 
Edge computing -by ChandraShekhar
Edge computing -by ChandraShekharEdge computing -by ChandraShekhar
Edge computing -by ChandraShekhar
 
Edge computing
Edge computingEdge computing
Edge computing
 
Edge Computing Platforms and Protocols - Ph.D. thesis
Edge Computing Platforms and Protocols - Ph.D. thesisEdge Computing Platforms and Protocols - Ph.D. thesis
Edge Computing Platforms and Protocols - Ph.D. thesis
 
Fog computing
Fog computingFog computing
Fog computing
 
Azureday 2020 - The Edge talks - long road into the Cloud​
Azureday 2020 - The Edge talks - long road into the Cloud​Azureday 2020 - The Edge talks - long road into the Cloud​
Azureday 2020 - The Edge talks - long road into the Cloud​
 
What is Edge Computing and Why does it matter in IoT?
What is Edge Computing and Why does it matter in IoT?What is Edge Computing and Why does it matter in IoT?
What is Edge Computing and Why does it matter in IoT?
 
Security Issues of IoT with Fog
Security Issues of IoT with FogSecurity Issues of IoT with Fog
Security Issues of IoT with Fog
 
Walking through the fog (computing) - Keynote talk at Italian Networking Work...
Walking through the fog (computing) - Keynote talk at Italian Networking Work...Walking through the fog (computing) - Keynote talk at Italian Networking Work...
Walking through the fog (computing) - Keynote talk at Italian Networking Work...
 
IPv6 and Internet of Things: A Nice Couple
IPv6 and Internet of Things: A Nice CoupleIPv6 and Internet of Things: A Nice Couple
IPv6 and Internet of Things: A Nice Couple
 
Modern IT Infrastructure - ZIF
Modern IT Infrastructure - ZIFModern IT Infrastructure - ZIF
Modern IT Infrastructure - ZIF
 

Ă„hnlich wie Asterism: A Decentralized File Sharing for Mobile Devices

ABS 2013: Dive into Android Networking - Adding Ethernet Connectivity
ABS 2013: Dive into Android Networking - Adding Ethernet ConnectivityABS 2013: Dive into Android Networking - Adding Ethernet Connectivity
ABS 2013: Dive into Android Networking - Adding Ethernet ConnectivityBenjamin Zores
 
MIPI DevCon 2021: MIPI D-PHY and MIPI CSI-2 for IoT: AI Edge Devices
MIPI DevCon 2021: MIPI D-PHY and MIPI CSI-2 for IoT: AI Edge DevicesMIPI DevCon 2021: MIPI D-PHY and MIPI CSI-2 for IoT: AI Edge Devices
MIPI DevCon 2021: MIPI D-PHY and MIPI CSI-2 for IoT: AI Edge DevicesMIPI Alliance
 
Gregory Touretsky - Intel IT- Open Cloud Journey
Gregory Touretsky - Intel IT- Open Cloud JourneyGregory Touretsky - Intel IT- Open Cloud Journey
Gregory Touretsky - Intel IT- Open Cloud JourneyCloud Native Day Tel Aviv
 
OSIS19_IoT :Transparent remote connectivity to short-range IoT devices, by Na...
OSIS19_IoT :Transparent remote connectivity to short-range IoT devices, by Na...OSIS19_IoT :Transparent remote connectivity to short-range IoT devices, by Na...
OSIS19_IoT :Transparent remote connectivity to short-range IoT devices, by Na...PĂ´le Systematic Paris-Region
 
Technology update
Technology updateTechnology update
Technology updatejumus jumbuck
 
Technology update
Technology updateTechnology update
Technology updatejumus jumbuck
 
Basic android-ppt
Basic android-pptBasic android-ppt
Basic android-pptSrijib Roy
 
Introduction to roof computing by Nishant Krishna
Introduction to roof computing by Nishant KrishnaIntroduction to roof computing by Nishant Krishna
Introduction to roof computing by Nishant KrishnaCodeOps Technologies LLP
 
CloudBerry
CloudBerryCloudBerry
CloudBerrySusmitha M
 
Hac IT 4. Emerging Technologies (1).pdf
Hac IT 4. Emerging Technologies  (1).pdfHac IT 4. Emerging Technologies  (1).pdf
Hac IT 4. Emerging Technologies (1).pdfAAFREEN SHAIKH
 
Michael Enescu - Cloud + IoT at IEEE
Michael Enescu - Cloud + IoT at IEEEMichael Enescu - Cloud + IoT at IEEE
Michael Enescu - Cloud + IoT at IEEEMichael Enescu
 
Smart Storage for Home Application
Smart Storage for Home ApplicationSmart Storage for Home Application
Smart Storage for Home ApplicationIRJET Journal
 
Zoe - Swarming Spark applications
Zoe - Swarming Spark applicationsZoe - Swarming Spark applications
Zoe - Swarming Spark applicationsDaniele Venzano
 
OpenStackDay - XIFI Federation
OpenStackDay - XIFI FederationOpenStackDay - XIFI Federation
OpenStackDay - XIFI FederationAlessandro Martellone
 
Building enterprise applications using open source
Building enterprise applications using open sourceBuilding enterprise applications using open source
Building enterprise applications using open sourcePeter Batty
 
CPaaS.io Y1 Review Meeting - Cloud & Edge Programming
CPaaS.io Y1 Review Meeting - Cloud & Edge ProgrammingCPaaS.io Y1 Review Meeting - Cloud & Edge Programming
CPaaS.io Y1 Review Meeting - Cloud & Edge ProgrammingStephan Haller
 
5G and edge computing - CORAL perspective
5G and edge computing - CORAL perspective5G and edge computing - CORAL perspective
5G and edge computing - CORAL perspectiveRichard Scott
 
Intelligently Collecting Data at the Edge – Intro to Apache MiNiFi
Intelligently Collecting Data at the Edge – Intro to Apache MiNiFiIntelligently Collecting Data at the Edge – Intro to Apache MiNiFi
Intelligently Collecting Data at the Edge – Intro to Apache MiNiFiDataWorks Summit
 

Ă„hnlich wie Asterism: A Decentralized File Sharing for Mobile Devices (20)

ABS 2013: Dive into Android Networking - Adding Ethernet Connectivity
ABS 2013: Dive into Android Networking - Adding Ethernet ConnectivityABS 2013: Dive into Android Networking - Adding Ethernet Connectivity
ABS 2013: Dive into Android Networking - Adding Ethernet Connectivity
 
document
documentdocument
document
 
MIPI DevCon 2021: MIPI D-PHY and MIPI CSI-2 for IoT: AI Edge Devices
MIPI DevCon 2021: MIPI D-PHY and MIPI CSI-2 for IoT: AI Edge DevicesMIPI DevCon 2021: MIPI D-PHY and MIPI CSI-2 for IoT: AI Edge Devices
MIPI DevCon 2021: MIPI D-PHY and MIPI CSI-2 for IoT: AI Edge Devices
 
Introduction to Filecoin
Introduction to Filecoin   Introduction to Filecoin
Introduction to Filecoin
 
Gregory Touretsky - Intel IT- Open Cloud Journey
Gregory Touretsky - Intel IT- Open Cloud JourneyGregory Touretsky - Intel IT- Open Cloud Journey
Gregory Touretsky - Intel IT- Open Cloud Journey
 
OSIS19_IoT :Transparent remote connectivity to short-range IoT devices, by Na...
OSIS19_IoT :Transparent remote connectivity to short-range IoT devices, by Na...OSIS19_IoT :Transparent remote connectivity to short-range IoT devices, by Na...
OSIS19_IoT :Transparent remote connectivity to short-range IoT devices, by Na...
 
Technology update
Technology updateTechnology update
Technology update
 
Technology update
Technology updateTechnology update
Technology update
 
Basic android-ppt
Basic android-pptBasic android-ppt
Basic android-ppt
 
Introduction to roof computing by Nishant Krishna
Introduction to roof computing by Nishant KrishnaIntroduction to roof computing by Nishant Krishna
Introduction to roof computing by Nishant Krishna
 
CloudBerry
CloudBerryCloudBerry
CloudBerry
 
Hac IT 4. Emerging Technologies (1).pdf
Hac IT 4. Emerging Technologies  (1).pdfHac IT 4. Emerging Technologies  (1).pdf
Hac IT 4. Emerging Technologies (1).pdf
 
Michael Enescu - Cloud + IoT at IEEE
Michael Enescu - Cloud + IoT at IEEEMichael Enescu - Cloud + IoT at IEEE
Michael Enescu - Cloud + IoT at IEEE
 
Smart Storage for Home Application
Smart Storage for Home ApplicationSmart Storage for Home Application
Smart Storage for Home Application
 
Zoe - Swarming Spark applications
Zoe - Swarming Spark applicationsZoe - Swarming Spark applications
Zoe - Swarming Spark applications
 
OpenStackDay - XIFI Federation
OpenStackDay - XIFI FederationOpenStackDay - XIFI Federation
OpenStackDay - XIFI Federation
 
Building enterprise applications using open source
Building enterprise applications using open sourceBuilding enterprise applications using open source
Building enterprise applications using open source
 
CPaaS.io Y1 Review Meeting - Cloud & Edge Programming
CPaaS.io Y1 Review Meeting - Cloud & Edge ProgrammingCPaaS.io Y1 Review Meeting - Cloud & Edge Programming
CPaaS.io Y1 Review Meeting - Cloud & Edge Programming
 
5G and edge computing - CORAL perspective
5G and edge computing - CORAL perspective5G and edge computing - CORAL perspective
5G and edge computing - CORAL perspective
 
Intelligently Collecting Data at the Edge – Intro to Apache MiNiFi
Intelligently Collecting Data at the Edge – Intro to Apache MiNiFiIntelligently Collecting Data at the Edge – Intro to Apache MiNiFi
Intelligently Collecting Data at the Edge – Intro to Apache MiNiFi
 

Mehr von Davide Taibi

From monolithic to microservices to serverless
From monolithic to microservices to serverlessFrom monolithic to microservices to serverless
From monolithic to microservices to serverlessDavide Taibi
 
On the Relationship Between Coupling and Refactoring: An Empirical Viewpoint
On the Relationship Between Coupling and Refactoring: An Empirical Viewpoint On the Relationship Between Coupling and Refactoring: An Empirical Viewpoint
On the Relationship Between Coupling and Refactoring: An Empirical Viewpoint Davide Taibi
 
From Microservices to Serverless. A new hype or a new hope?
From Microservices to Serverless. A new hype or a new hope?From Microservices to Serverless. A new hype or a new hope?
From Microservices to Serverless. A new hype or a new hope?Davide Taibi
 
From monolithic systems to microservices. a decomposition framework based on ...
From monolithic systems to microservices. a decomposition framework based on ...From monolithic systems to microservices. a decomposition framework based on ...
From monolithic systems to microservices. a decomposition framework based on ...Davide Taibi
 
Serverless Anti-Patterns @Helsinki Serverless Days - 25.04.2019
Serverless Anti-Patterns @Helsinki Serverless Days - 25.04.2019 Serverless Anti-Patterns @Helsinki Serverless Days - 25.04.2019
Serverless Anti-Patterns @Helsinki Serverless Days - 25.04.2019 Davide Taibi
 
Microservices Patterns, Issues, Migration Processes
Microservices Patterns, Issues, Migration ProcessesMicroservices Patterns, Issues, Migration Processes
Microservices Patterns, Issues, Migration ProcessesDavide Taibi
 
Prioritizing Corrective Maintenance Activities for Android Applications: An I...
Prioritizing Corrective Maintenance Activities for Android Applications: An I...Prioritizing Corrective Maintenance Activities for Android Applications: An I...
Prioritizing Corrective Maintenance Activities for Android Applications: An I...Davide Taibi
 
Ease2017 - Operationalizing the Experience Factory for Effort Estimation in A...
Ease2017 - Operationalizing the Experience Factory for Effort Estimation in A...Ease2017 - Operationalizing the Experience Factory for Effort Estimation in A...
Ease2017 - Operationalizing the Experience Factory for Effort Estimation in A...Davide Taibi
 
EASE2017 - Comparing Communication Effort within the Scrum, Scrum with Kanban...
EASE2017 - Comparing Communication Effort within the Scrum, Scrum with Kanban...EASE2017 - Comparing Communication Effort within the Scrum, Scrum with Kanban...
EASE2017 - Comparing Communication Effort within the Scrum, Scrum with Kanban...Davide Taibi
 
Uno studio sulle strategie di marketing e comunicazione per il software libero
Uno studio sulle strategie di marketing e comunicazione per il software liberoUno studio sulle strategie di marketing e comunicazione per il software libero
Uno studio sulle strategie di marketing e comunicazione per il software liberoDavide Taibi
 
Un’esempio concreto di interazione tra pubblica amministrazione e pmi
Un’esempio concreto di interazione tra pubblica amministrazione e pmiUn’esempio concreto di interazione tra pubblica amministrazione e pmi
Un’esempio concreto di interazione tra pubblica amministrazione e pmiDavide Taibi
 
OSS Marketing: How to make your product attractive
OSS Marketing: How to make your product attractiveOSS Marketing: How to make your product attractive
OSS Marketing: How to make your product attractiveDavide Taibi
 
20070619 javaday quali_p_so
20070619 javaday  quali_p_so20070619 javaday  quali_p_so
20070619 javaday quali_p_soDavide Taibi
 
Defining an Open Source Software Trustworthiness Model
Defining an Open Source Software Trustworthiness Model Defining an Open Source Software Trustworthiness Model
Defining an Open Source Software Trustworthiness Model Davide Taibi
 
Os Mi Devo Fidare
Os   Mi Devo FidareOs   Mi Devo Fidare
Os Mi Devo FidareDavide Taibi
 
Open Bqr an Open Framework for the assessment of Open Source Software
Open Bqr an Open Framework for the assessment of Open Source SoftwareOpen Bqr an Open Framework for the assessment of Open Source Software
Open Bqr an Open Framework for the assessment of Open Source SoftwareDavide Taibi
 
A GQM plan for the evaluation of the trustworthiness of open-source software
A GQM plan for the evaluation of the trustworthiness of open-source softwareA GQM plan for the evaluation of the trustworthiness of open-source software
A GQM plan for the evaluation of the trustworthiness of open-source softwareDavide Taibi
 

Mehr von Davide Taibi (20)

From monolithic to microservices to serverless
From monolithic to microservices to serverlessFrom monolithic to microservices to serverless
From monolithic to microservices to serverless
 
On the Relationship Between Coupling and Refactoring: An Empirical Viewpoint
On the Relationship Between Coupling and Refactoring: An Empirical Viewpoint On the Relationship Between Coupling and Refactoring: An Empirical Viewpoint
On the Relationship Between Coupling and Refactoring: An Empirical Viewpoint
 
From Microservices to Serverless. A new hype or a new hope?
From Microservices to Serverless. A new hype or a new hope?From Microservices to Serverless. A new hype or a new hope?
From Microservices to Serverless. A new hype or a new hope?
 
From monolithic systems to microservices. a decomposition framework based on ...
From monolithic systems to microservices. a decomposition framework based on ...From monolithic systems to microservices. a decomposition framework based on ...
From monolithic systems to microservices. a decomposition framework based on ...
 
Serverless Anti-Patterns @Helsinki Serverless Days - 25.04.2019
Serverless Anti-Patterns @Helsinki Serverless Days - 25.04.2019 Serverless Anti-Patterns @Helsinki Serverless Days - 25.04.2019
Serverless Anti-Patterns @Helsinki Serverless Days - 25.04.2019
 
Microservices Patterns, Issues, Migration Processes
Microservices Patterns, Issues, Migration ProcessesMicroservices Patterns, Issues, Migration Processes
Microservices Patterns, Issues, Migration Processes
 
Prioritizing Corrective Maintenance Activities for Android Applications: An I...
Prioritizing Corrective Maintenance Activities for Android Applications: An I...Prioritizing Corrective Maintenance Activities for Android Applications: An I...
Prioritizing Corrective Maintenance Activities for Android Applications: An I...
 
Ease2017 - Operationalizing the Experience Factory for Effort Estimation in A...
Ease2017 - Operationalizing the Experience Factory for Effort Estimation in A...Ease2017 - Operationalizing the Experience Factory for Effort Estimation in A...
Ease2017 - Operationalizing the Experience Factory for Effort Estimation in A...
 
EASE2017 - Comparing Communication Effort within the Scrum, Scrum with Kanban...
EASE2017 - Comparing Communication Effort within the Scrum, Scrum with Kanban...EASE2017 - Comparing Communication Effort within the Scrum, Scrum with Kanban...
EASE2017 - Comparing Communication Effort within the Scrum, Scrum with Kanban...
 
Uno studio sulle strategie di marketing e comunicazione per il software libero
Uno studio sulle strategie di marketing e comunicazione per il software liberoUno studio sulle strategie di marketing e comunicazione per il software libero
Uno studio sulle strategie di marketing e comunicazione per il software libero
 
Un’esempio concreto di interazione tra pubblica amministrazione e pmi
Un’esempio concreto di interazione tra pubblica amministrazione e pmiUn’esempio concreto di interazione tra pubblica amministrazione e pmi
Un’esempio concreto di interazione tra pubblica amministrazione e pmi
 
OSS Marketing: How to make your product attractive
OSS Marketing: How to make your product attractiveOSS Marketing: How to make your product attractive
OSS Marketing: How to make your product attractive
 
20070619 javaday quali_p_so
20070619 javaday  quali_p_so20070619 javaday  quali_p_so
20070619 javaday quali_p_so
 
Defining an Open Source Software Trustworthiness Model
Defining an Open Source Software Trustworthiness Model Defining an Open Source Software Trustworthiness Model
Defining an Open Source Software Trustworthiness Model
 
Os Mi Devo Fidare
Os   Mi Devo FidareOs   Mi Devo Fidare
Os Mi Devo Fidare
 
Open Bqr an Open Framework for the assessment of Open Source Software
Open Bqr an Open Framework for the assessment of Open Source SoftwareOpen Bqr an Open Framework for the assessment of Open Source Software
Open Bqr an Open Framework for the assessment of Open Source Software
 
A GQM plan for the evaluation of the trustworthiness of open-source software
A GQM plan for the evaluation of the trustworthiness of open-source softwareA GQM plan for the evaluation of the trustworthiness of open-source software
A GQM plan for the evaluation of the trustworthiness of open-source software
 
Blogmeter
BlogmeterBlogmeter
Blogmeter
 
Open Bqr
Open BqrOpen Bqr
Open Bqr
 
Open Bqr
Open BqrOpen Bqr
Open Bqr
 

KĂĽrzlich hochgeladen

call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Bert Jan Schrijver
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is insideshinachiaurasa2
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...masabamasaba
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024VictoriaMetrics
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
tonesoftg
tonesoftgtonesoftg
tonesoftglanshi9
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfWilly Marroquin (WillyDevNET)
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park masabamasaba
 
Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT  - Elevating Productivity in Today's Agile EnvironmentHarnessing ChatGPT  - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT - Elevating Productivity in Today's Agile EnvironmentVictorSzoltysek
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...masabamasaba
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfonteinmasabamasaba
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...masabamasaba
 

KĂĽrzlich hochgeladen (20)

call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT  - Elevating Productivity in Today's Agile EnvironmentHarnessing ChatGPT  - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 

Asterism: A Decentralized File Sharing for Mobile Devices

  • 1. Asterism: A Decentralized File Sharing for Mobile Devices Olli-Pekka Heinisuo, Valentina Lenarduzzi, Davide Taibi Tampere University CloWEE – Cloud and Web Engineering http://research.tuni.fi/clowee
  • 2. Background â—Ź Computers, smart devices are connected to the internet â—‹ produce and consume huge amounts of data â—Ź Data need to be stored somewhere â—‹ cloud platforms â–  AWS, Azure, Google Cloud etc. @davidetaibi Asterism: A Decentralized File Sharing for Mobile Devices IEEE Mobile Cloud 2019
  • 3. Background Data Storage is highly centralized â—Ź In the hands of a few large private enterprises â—Ź Single point of failure (there are still servers) â—Ź Concerns about privacy and security @davidetaibi Asterism: A Decentralized File Sharing for Mobile Devices IEEE Mobile Cloud 2019
  • 4. Background How to avoid the usage of the central entities? â—Ź Peer-to-peer (p2p) networking â—‹ Every device is both a client and a server â–  BitTorrent, Freenet, Gnutella, Napster etc. â—‹ Widely used by cryptocurrencies â–  Bitcoin and Ethereum, … @davidetaibi Asterism: A Decentralized File Sharing for Mobile Devices IEEE Mobile Cloud 2019
  • 5. Goal Is it possible to use mobile devices as a decentralized content delivery network without any central servers or authorities? @davidetaibi Asterism: A Decentralized File Sharing for Mobile Devices IEEE Mobile Cloud 2019
  • 6. Research Method â—Ź Development of proof of concept â—‹ p2p mobile application â—Ź Validation â—‹ Measurement on different devices â–  network usage â–  power consumption. @davidetaibi Asterism: A Decentralized File Sharing for Mobile Devices IEEE Mobile Cloud 2019
  • 7. Peer-to-peer network selection â—Ź InterPlanetary File System (IPFS) â—‹ Widely used â—‹ Reference implementation available in Go â—‹ Very active development â—Ź Dat â—‹ hard to integrate to resource constrained mobile environment â—‹ JavaScript-only implementation â—Ź Swarm (part of Ethereum ecosystem) â—‹ Not mature (in alpha state) â—‹ depends on Ethereum Selected @davidetaibi Asterism: A Decentralized File Sharing for Mobile Devices IEEE Mobile Cloud 2019
  • 8. Mobile Application Requirements â—Ź Start and stop a fully working IPFS node. â—Ź Run in the background while other applications are running. â—Ź Display basic information about the node and its status in the user interface. â—Ź User interface can be used to change basic settings of the node. â—Ź User interface allows adding content to IPFS and retrieving content from IPFS. â—Ź Provides a file system style interface for managing the added files. @davidetaibi Asterism: A Decentralized File Sharing for Mobile Devices IEEE Mobile Cloud 2019
  • 9. Mobile Platform Selection Three mobile operating systems considered: â—Ź iOS â—Ź Android â—Ź Sailfish OS â—Ź True multitasking support â–  easy to run measurements while other apps are running in the background. â—Ź Applications Developed in C++. â–  A shared library based on IPFS Go implementation can be used directly from C++ without extra software layers. â—Ź Native access to full GNU/Linux system and terminal without rooting or jailbreaking the device. â—Ź Access to many command line applications which would be hard to come by in the other two operating systems. Selected
  • 11. The Mobile Application Developed â—Ź The IPFS Go library (go-ipfs) cannot be directly used from a C++ application â—Ź Separate wrapper, Libipfs, was developed for go-ipfs in Go and C â—‹ This wrapper exposes simple to use IPFS methods â—‹ Cross-compiled into shared library for ARM and x86 platforms â—‹ Single binary, contains also Go runtime â—‹ Available at https://github.com/skvark/libipfs â—Ź Main mobile application, Asterism, is dynamically linked with Libipfs â—‹ Uses Libipfs methods, concurrency handled internally in Libipfs with goroutines (lightweight threads of Go) â—‹ Mainly QML-based GUI code and some C++ â—‹ Available at https://github.com/skvark/Asterism @davidetaibi Asterism: A Decentralized File Sharing for Mobile Devices IEEE Mobile Cloud 2019
  • 12. @davidetaibi Asterism: A Decentralized File Sharing for Mobile Devices IEEE Mobile Cloud 2019
  • 13. Measurements Three devices were adopted for the measurements: Sony Xperia X Jolla C Jolla Tablet
  • 14. Measurement Settings The network usage and power consumption measurements: â—Ź No content was added to or retrieved from IPFS â—Ź Device screen was off â—Ź Android support layer of the Sailfish OS was turned off â—Ź Power consumption was measured for 4 hours â—Ź Network usage was measured for about 2 hours â—Ź Network combinations: WLAN + 4G, WLAN only, 4G only â—Ź IPFS modes: full DHT (Distributed Hash Tables) and client only @davidetaibi Asterism: A Decentralized File Sharing for Mobile Devices IEEE Mobile Cloud 2019
  • 15. Network Traffic ANalysis @davidetaibi Asterism: A Decentralized File Sharing for Mobile Devices IEEE Mobile Cloud 2019
  • 16. Power Consumption @davidetaibi Asterism: A Decentralized File Sharing for Mobile Devices IEEE Mobile Cloud 2019
  • 17. Conclusions Mobile devices can be used to implement a fully decentralized content sharing network, but: â—Ź Network usage was so high that the devices could not enter into deep sleep mode. â—Ź Battery life was highly impacted. â—‹ On 4G only about 7 hours of continuous usage is possible. â—‹ On WLAN 14 hours . â—Ź IPFS needs optimizations or/and bandwidth limit settings. â—‹ Note: next version of go-ipfs was just released with some optimizations. â—Ź Suitable for devices used as IoT, always connected to the electricity @davidetaibi Asterism: A Decentralized File Sharing for Mobile Devices IEEE Mobile Cloud 2019