SlideShare ist ein Scribd-Unternehmen logo
1 von 12
Volunteer Computing with Client-Server perspective Presented by: Diamantino Cruz Ricardo Madeira
BOINC (Berkeley Open Infrastructure for Network Computing) What is BOINC? BOINC is middleware system created to simplify the implementation of volunteer computing projects. What is volunteer computing? Volunteer computing is an arrangement in which people (volunteers) provide internet-connected computers, to be used as a source of computing power and storage. Why use volunteer computing? Volunteer computing uses computational resources that would otherwise be unused, to solve computationally intensive projects, for lower costs them other available solutions.
Task Server Components Each BOINC-based projects operates a server consisting of several components: Web interfaces for account and team management, message boards, and other features. A task server that creates tasks dispatches them to clients, and processes returned tasks. A data server that downloads input files and executables, and that uploads output files. The clients periodically communicates with the task server to report completed work and to get new work.
Task Server Components What are the functions of the programs? The work generatorprepares new jobs to be sent and their input files. The scheduler deals requests from the clients.  	The requests include a description of the host, a list of completed instances, and a request for additional work. The reply includes a list of instances and their corresponding jobs. The scheduler also maintains the records for the user account and team, the host, and the various jobs and instances The feederfacilitates the scheduler’s database access, maintaining a shared-memory segment containing static database tables, and a fixed-size cache of unsent instance/job pairs. The transitionerexamines jobs for which a state change has occurred if needed generates new instances, flag the job as having a permanent error, or trigger validation or assimilation of the job.
Task Server Components The validatorcompares the instances of a job and selects a canonical instance representing the correct output. It determines the credit granted to users and hosts that return the correct output, and updates those database records. The assimilatorhandles job that are “completed” (has an canonical instance or a permanent error has occurred). Handling a successfully completed job might involve writing outputs to an application database or archiving the output files. The file deleterdeletes input and output files that are no longer needed. The database purgerremoves jobs and instance database entries that are no longer needed, first writing them to XML log files. The programs communicate using the BOINC database.
Persistent redundant computing Because incorrect output may result from a hardware and software problems, an incorrect modification to the application, or a intentional attack by the volunteer, mechanisms to ensure that outputs are correct (validation)and that tasks eventually get done (retry). BOINC provides a mechanism called persistent redundant computing that accomplishes both goals. This mechanism involves performing each task independently on various computers, comparing the outputs, looking for a “quorum” of equivalent outputs, and generating new instances as needed to reach a quorum.
How The Magic is done Client Side Core Client Client has 2 “modes” Manager Screensaver
Boinc Manager
How The Magic is done Client Side The core client communicates with applications by shared-memory message passing
Failure Protection BOINC uses heartbeat messages BOINC API finalization routine writes a ‘finished file’ BOINC supplies a set of printf()-replacement functions that buffer output in memory, and flush these buffers during checkpoint All information about a task (exit code, signal number, standard error output, volunteer host platform) is stored in a relational database on the server
Conclusion, Death, Taxes and BOINC What is the internet for the average Portuguese user google.pt hi5.com youtube.com live.com google.com Additional info 11	travian.pt 13	facebook.com 14	record.pt 19	abola.pt Source  http://www.alexa.com/topsites/countries/PT
Conclusion, Why use Boinc Suppose you need a lot of computing power - say, 100 TeraFLOPS for 1 year. Here are some ways you can get it:  Use Amazon's Elastic Computing Cloud $175 Million: Based on $0.10 per node/hour.  Build a cluster $12.4 Million: This includes power and air-conditioning infrastructure, network hardware, computing hardware, storage, electricity, and sysadmin personnel.  Use BOINC $125,000: Based on the average throughput and budget of the 6 largest volunteer computing projects.

Weitere Àhnliche Inhalte

Was ist angesagt?

Balman stork cw09
Balman stork cw09Balman stork cw09
Balman stork cw09
balmanme
 

Was ist angesagt? (8)

Globus: Beyond File Transfer
Globus: Beyond File TransferGlobus: Beyond File Transfer
Globus: Beyond File Transfer
 
Balman stork cw09
Balman stork cw09Balman stork cw09
Balman stork cw09
 
Automating Research Data Flows with the Globus Command Line Interface (CLI)
Automating Research Data Flows with the Globus Command Line Interface (CLI)Automating Research Data Flows with the Globus Command Line Interface (CLI)
Automating Research Data Flows with the Globus Command Line Interface (CLI)
 
Slim Baltagi – Flink vs. Spark
Slim Baltagi – Flink vs. SparkSlim Baltagi – Flink vs. Spark
Slim Baltagi – Flink vs. Spark
 
Globus Platform Overview
Globus Platform OverviewGlobus Platform Overview
Globus Platform Overview
 
IEEE 2014 DOTNET DATA MINING PROJECTS Trusted db a-trusted-hardware-based-dat...
IEEE 2014 DOTNET DATA MINING PROJECTS Trusted db a-trusted-hardware-based-dat...IEEE 2014 DOTNET DATA MINING PROJECTS Trusted db a-trusted-hardware-based-dat...
IEEE 2014 DOTNET DATA MINING PROJECTS Trusted db a-trusted-hardware-based-dat...
 
Globus for System Administrators
Globus for System AdministratorsGlobus for System Administrators
Globus for System Administrators
 
Lessons Learned Running InfluxDB Cloud and Other Cloud Services at Scale by T...
Lessons Learned Running InfluxDB Cloud and Other Cloud Services at Scale by T...Lessons Learned Running InfluxDB Cloud and Other Cloud Services at Scale by T...
Lessons Learned Running InfluxDB Cloud and Other Cloud Services at Scale by T...
 

Ähnlich wie "Volunteer Computing With Boinc" por Diamantino Cruz e Ricardo Madeira

ideas.doc
ideas.docideas.doc
ideas.doc
butest
 
shivkumar pathak web based manufacturing presentation
shivkumar pathak   web based manufacturing presentationshivkumar pathak   web based manufacturing presentation
shivkumar pathak web based manufacturing presentation
Akash Maurya
 
Chapter3
Chapter3Chapter3
Chapter3
suks_87
 

Ähnlich wie "Volunteer Computing With Boinc" por Diamantino Cruz e Ricardo Madeira (20)

ideas.doc
ideas.docideas.doc
ideas.doc
 
GCF
GCFGCF
GCF
 
Computers in management
Computers in managementComputers in management
Computers in management
 
Transcend Automation's Kepware OPC Products
Transcend Automation's Kepware OPC ProductsTranscend Automation's Kepware OPC Products
Transcend Automation's Kepware OPC Products
 
shivkumar pathak web based manufacturing presentation
shivkumar pathak   web based manufacturing presentationshivkumar pathak   web based manufacturing presentation
shivkumar pathak web based manufacturing presentation
 
Spring batch for large enterprises operations
Spring batch for large enterprises operations Spring batch for large enterprises operations
Spring batch for large enterprises operations
 
Chapter3
Chapter3Chapter3
Chapter3
 
Bfc Presentation
Bfc PresentationBfc Presentation
Bfc Presentation
 
Building Continuous Application with Structured Streaming and Real-Time Data ...
Building Continuous Application with Structured Streaming and Real-Time Data ...Building Continuous Application with Structured Streaming and Real-Time Data ...
Building Continuous Application with Structured Streaming and Real-Time Data ...
 
ProjectReport_Subhayu
ProjectReport_SubhayuProjectReport_Subhayu
ProjectReport_Subhayu
 
Performance eng prakash.sahu
Performance eng prakash.sahuPerformance eng prakash.sahu
Performance eng prakash.sahu
 
IRJET - Code Compiler Shell
IRJET -  	  Code Compiler ShellIRJET -  	  Code Compiler Shell
IRJET - Code Compiler Shell
 
Cognos Analytics Performance Tuning: Tips & Tricks to Rev Performance
Cognos Analytics Performance Tuning: Tips & Tricks to Rev Performance Cognos Analytics Performance Tuning: Tips & Tricks to Rev Performance
Cognos Analytics Performance Tuning: Tips & Tricks to Rev Performance
 
Components of client server application
Components of client server applicationComponents of client server application
Components of client server application
 
Census Bureau PBOCS
Census Bureau PBOCSCensus Bureau PBOCS
Census Bureau PBOCS
 
DYNAMIC ALLOCATION METHOD FOR EFFICIENT LOAD BALANCING IN VIRTUAL MACHINES FO...
DYNAMIC ALLOCATION METHOD FOR EFFICIENT LOAD BALANCING IN VIRTUAL MACHINES FO...DYNAMIC ALLOCATION METHOD FOR EFFICIENT LOAD BALANCING IN VIRTUAL MACHINES FO...
DYNAMIC ALLOCATION METHOD FOR EFFICIENT LOAD BALANCING IN VIRTUAL MACHINES FO...
 
Cloud Foundry Technical Overview
Cloud Foundry Technical OverviewCloud Foundry Technical Overview
Cloud Foundry Technical Overview
 
My Saminar On Php
My Saminar On PhpMy Saminar On Php
My Saminar On Php
 
15.web document types.pdf bdgjrjdhdhsgbdidh
15.web document types.pdf bdgjrjdhdhsgbdidh15.web document types.pdf bdgjrjdhdhsgbdidh
15.web document types.pdf bdgjrjdhdhsgbdidh
 
Online Examination System in .NET & DB2
Online Examination System in .NET & DB2Online Examination System in .NET & DB2
Online Examination System in .NET & DB2
 

Mehr von NĂșcleo de ElectrĂłnica e InformĂĄtica da Universidade do Algarve

Mehr von NĂșcleo de ElectrĂłnica e InformĂĄtica da Universidade do Algarve (11)

"GMail" por Artur Martins
"GMail" por Artur Martins"GMail" por Artur Martins
"GMail" por Artur Martins
 
"Javascript" por Tiago Rodrigues
"Javascript" por Tiago Rodrigues"Javascript" por Tiago Rodrigues
"Javascript" por Tiago Rodrigues
 
"Estudo de implementação de alimentação eléctrica através de energia solar fo...
"Estudo de implementação de alimentação eléctrica através de energia solar fo..."Estudo de implementação de alimentação eléctrica através de energia solar fo...
"Estudo de implementação de alimentação eléctrica através de energia solar fo...
 
"Volunteer Computing with BOINC Client-Server side" por Diamantino Cruz e Ric...
"Volunteer Computing with BOINC Client-Server side" por Diamantino Cruz e Ric..."Volunteer Computing with BOINC Client-Server side" por Diamantino Cruz e Ric...
"Volunteer Computing with BOINC Client-Server side" por Diamantino Cruz e Ric...
 
"Parallel and Distributed Computing: BOINC Grid Implementation" por Rodrigo N...
"Parallel and Distributed Computing: BOINC Grid Implementation" por Rodrigo N..."Parallel and Distributed Computing: BOINC Grid Implementation" por Rodrigo N...
"Parallel and Distributed Computing: BOINC Grid Implementation" por Rodrigo N...
 
"Estudo de implementação de alimentação eléctrica através de energia solar fo...
"Estudo de implementação de alimentação eléctrica através de energia solar fo..."Estudo de implementação de alimentação eléctrica através de energia solar fo...
"Estudo de implementação de alimentação eléctrica através de energia solar fo...
 
“Web Services with Mobile Phones” por João Duro
“Web Services with Mobile Phones” por João Duro“Web Services with Mobile Phones” por João Duro
“Web Services with Mobile Phones” por João Duro
 
“Revision Control Systems: Subversion (SVN)” por Tiago Rodrigues
“Revision Control Systems: Subversion (SVN)” por Tiago Rodrigues“Revision Control Systems: Subversion (SVN)” por Tiago Rodrigues
“Revision Control Systems: Subversion (SVN)” por Tiago Rodrigues
 
“eSpeak” por Diogo Costa e Daniela Guerreiro
“eSpeak” por Diogo Costa e Daniela Guerreiro“eSpeak” por Diogo Costa e Daniela Guerreiro
“eSpeak” por Diogo Costa e Daniela Guerreiro
 
“LaTeX” por Manuel Rocha
“LaTeX” por Manuel Rocha“LaTeX” por Manuel Rocha
“LaTeX” por Manuel Rocha
 
“Squid” por Artur Martins, David Riedel e Florentino Bexiga
“Squid” por Artur Martins, David Riedel e Florentino Bexiga“Squid” por Artur Martins, David Riedel e Florentino Bexiga
“Squid” por Artur Martins, David Riedel e Florentino Bexiga
 

KĂŒrzlich hochgeladen

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
Christopher Logan Kennedy
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

KĂŒrzlich hochgeladen (20)

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 

"Volunteer Computing With Boinc" por Diamantino Cruz e Ricardo Madeira

  • 1. Volunteer Computing with Client-Server perspective Presented by: Diamantino Cruz Ricardo Madeira
  • 2. BOINC (Berkeley Open Infrastructure for Network Computing) What is BOINC? BOINC is middleware system created to simplify the implementation of volunteer computing projects. What is volunteer computing? Volunteer computing is an arrangement in which people (volunteers) provide internet-connected computers, to be used as a source of computing power and storage. Why use volunteer computing? Volunteer computing uses computational resources that would otherwise be unused, to solve computationally intensive projects, for lower costs them other available solutions.
  • 3. Task Server Components Each BOINC-based projects operates a server consisting of several components: Web interfaces for account and team management, message boards, and other features. A task server that creates tasks dispatches them to clients, and processes returned tasks. A data server that downloads input files and executables, and that uploads output files. The clients periodically communicates with the task server to report completed work and to get new work.
  • 4. Task Server Components What are the functions of the programs? The work generatorprepares new jobs to be sent and their input files. The scheduler deals requests from the clients. The requests include a description of the host, a list of completed instances, and a request for additional work. The reply includes a list of instances and their corresponding jobs. The scheduler also maintains the records for the user account and team, the host, and the various jobs and instances The feederfacilitates the scheduler’s database access, maintaining a shared-memory segment containing static database tables, and a fixed-size cache of unsent instance/job pairs. The transitionerexamines jobs for which a state change has occurred if needed generates new instances, flag the job as having a permanent error, or trigger validation or assimilation of the job.
  • 5. Task Server Components The validatorcompares the instances of a job and selects a canonical instance representing the correct output. It determines the credit granted to users and hosts that return the correct output, and updates those database records. The assimilatorhandles job that are “completed” (has an canonical instance or a permanent error has occurred). Handling a successfully completed job might involve writing outputs to an application database or archiving the output files. The file deleterdeletes input and output files that are no longer needed. The database purgerremoves jobs and instance database entries that are no longer needed, first writing them to XML log files. The programs communicate using the BOINC database.
  • 6. Persistent redundant computing Because incorrect output may result from a hardware and software problems, an incorrect modification to the application, or a intentional attack by the volunteer, mechanisms to ensure that outputs are correct (validation)and that tasks eventually get done (retry). BOINC provides a mechanism called persistent redundant computing that accomplishes both goals. This mechanism involves performing each task independently on various computers, comparing the outputs, looking for a “quorum” of equivalent outputs, and generating new instances as needed to reach a quorum.
  • 7. How The Magic is done Client Side Core Client Client has 2 “modes” Manager Screensaver
  • 9. How The Magic is done Client Side The core client communicates with applications by shared-memory message passing
  • 10. Failure Protection BOINC uses heartbeat messages BOINC API finalization routine writes a ‘finished file’ BOINC supplies a set of printf()-replacement functions that buffer output in memory, and flush these buffers during checkpoint All information about a task (exit code, signal number, standard error output, volunteer host platform) is stored in a relational database on the server
  • 11. Conclusion, Death, Taxes and BOINC What is the internet for the average Portuguese user google.pt hi5.com youtube.com live.com google.com Additional info 11 travian.pt 13 facebook.com 14 record.pt 19 abola.pt Source http://www.alexa.com/topsites/countries/PT
  • 12. Conclusion, Why use Boinc Suppose you need a lot of computing power - say, 100 TeraFLOPS for 1 year. Here are some ways you can get it: Use Amazon's Elastic Computing Cloud $175 Million: Based on $0.10 per node/hour. Build a cluster $12.4 Million: This includes power and air-conditioning infrastructure, network hardware, computing hardware, storage, electricity, and sysadmin personnel. Use BOINC $125,000: Based on the average throughput and budget of the 6 largest volunteer computing projects.