SlideShare a Scribd company logo
PROCESS WARP
distributed processing system
Yuji Ito
facebook : https://www.facebook.com/ito.yuuji
github : https://github.com/llamerada-jp
I talk about PROCESS WARP that is a distributed processing system, I'm developing.
PROCESS WARP : A new infrastructure
for distributed processing system. All
machines are equal. It doesn’t require a
special machine as a server.
Typical system : Formed by client/
server. It requires a server, if the server is
down, service will stop.
※ Icons by Crystal Project (LGPL).
Aim
Feature
• Applications run in virtual
space, that is made up by a
group of nodes.
• Makes it possible to use any
amount of computer resources
and control nodes by a single
process.
• Makes it possible to warp a
process to another node with
keep alive.
Advantage
Increase total processing power
according to number of joining
nodes.
• Decrease cost to maintain
service without relation to
number of nodes.
• Service provider can choose a
good topology for system
having a lot of nodes.
join
Advantage
It breaks the border between a
standalone application and a
cloud application.
• User can use stand alone
application similar to cloud
application on PROCESS
WARP.
• User can use application
offline, after a migration
process.
(Under active development)
Because a process image can migrate, the
user can use the application offline.
Share the process space among the
connected computers and freely pass the
running application between machines.
Architecture
Host : native environment like UNIX, or web-browser
CPU : Interpret LLVM-IR
instructions without using
native stack
Memory : Store memory
image partially per node
other host
VM
Process Virtual Machine : Dump and synchronise (or pass)
memory image; Control PCB (Process Control Block); Call API
Use native APIs
Synchronise memory image, Control PCB
I'm developing a special virtual machine to realise previous slide's system.
LLVM is a compiler infrastructure that is used in many environments.
Actual status
• You can run virtual machine on FreeBSD, Linux, OSX, and Web-
browser.
• And run sample C/C++ program on virtual machine.
• Multiple threads can be distributed across several machines.
• Virtual machines have minimal APIs like “printf”.
• I published source code with MIT license and anyone can try it on
web-browser.
• http://www.processwarp.org/
• https://github.com/processwarp
Demo
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
char* ret = "a";
static void *thread_func(void *vptr_args) {
int i;
for (i = 0; i < 20000; i++) {
printf(" b [%d]n", i);
}
return (void*)ret;
}
int main(void) {
int i;
pthread_t thread;
void* retval;
if (pthread_create
(&thread, NULL, thread_func, NULL)
!= 0) {
return EXIT_FAILURE;
}
for (i = 0; i < 10000; i++) {
printf("a [%d]n", i);
}
if (pthread_join(thread, &retval) != 0) {
return EXIT_FAILURE;
}
printf("ret %016llx %16llxn",
(unsigned long long)ret,
(unsigned long long)retval);
return EXIT_SUCCESS;
}
This program is a simple multi thread
application. This program makes two
threads and increments a counter on each
thread.
Next milestones
• Remove server (currently needs control server) and implement
peer to peer transfer.
• Make test, document, and more APIs to run existing applications.
• Develop I/O functions including storage and socket layers.
Thank you!

More Related Content

What's hot

HOW TO CREATE AWESOME POLYGLOT APPLICATIONS USING GRAALVM
HOW TO CREATE AWESOME POLYGLOT APPLICATIONS USING GRAALVMHOW TO CREATE AWESOME POLYGLOT APPLICATIONS USING GRAALVM
HOW TO CREATE AWESOME POLYGLOT APPLICATIONS USING GRAALVM
Owais Zahid
 
Introduction to telepresence
Introduction to telepresenceIntroduction to telepresence
Introduction to telepresence
Kyohei Mizumoto
 
Develop custom SAPUI5 libraries using SAP Web IDE
Develop custom SAPUI5 libraries using SAP Web IDEDevelop custom SAPUI5 libraries using SAP Web IDE
Develop custom SAPUI5 libraries using SAP Web IDE
Thomas Nelissen
 
AllTheTalks 2020: Buildpacks - container for everyone!
AllTheTalks 2020: Buildpacks - container for everyone!AllTheTalks 2020: Buildpacks - container for everyone!
AllTheTalks 2020: Buildpacks - container for everyone!
Zander Mackie
 
Kompose
KomposeKompose
Kompose
Suraj Narwade
 
Multiplatform C++ on the Web with Emscripten
Multiplatform C++ on the Web with EmscriptenMultiplatform C++ on the Web with Emscripten
Multiplatform C++ on the Web with Emscripten
Chad Austin
 
Kubernetes: training micro-dragons for a serious battle
Kubernetes: training micro-dragons for a serious battleKubernetes: training micro-dragons for a serious battle
Kubernetes: training micro-dragons for a serious battle
Amir Moghimi
 
.NET Core in the Real World
.NET Core in the Real World.NET Core in the Real World
.NET Core in the Real World
Nate Barbettini
 
Minko - Build WebGL applications with C++ and asm.js
Minko - Build WebGL applications with C++ and asm.jsMinko - Build WebGL applications with C++ and asm.js
Minko - Build WebGL applications with C++ and asm.js
Minko3D
 
Beyond Xen: A look into the Xen Cloud Platform
Beyond Xen: A look into the Xen Cloud PlatformBeyond Xen: A look into the Xen Cloud Platform
Beyond Xen: A look into the Xen Cloud Platform
The Linux Foundation
 
[Szjug] Docker. Does it matter for java developer?
[Szjug] Docker. Does it matter for java developer?[Szjug] Docker. Does it matter for java developer?
[Szjug] Docker. Does it matter for java developer?
Izzet Mustafaiev
 
Deployment of the Machine Learning at the production level
Deployment of the Machine Learning at the production levelDeployment of the Machine Learning at the production level
Deployment of the Machine Learning at the production level
Illarion Khlestov
 
Dockerfile for rust project
Dockerfile for rust projectDockerfile for rust project
Dockerfile for rust project
Hien Nguyen
 
Object Studio 8.2: News Update
Object Studio 8.2: News UpdateObject Studio 8.2: News Update
Object Studio 8.2: News Update
ESUG
 
Ci for android OS
Ci for android OSCi for android OS
Ci for android OS
Jarek Potiuk
 
Writing your own browser reload functionality
Writing your own browser reload functionalityWriting your own browser reload functionality
Writing your own browser reload functionality
Anže Žnidaršič
 
Microservices on Kubernetes - The simple way
Microservices on Kubernetes - The simple wayMicroservices on Kubernetes - The simple way
Microservices on Kubernetes - The simple way
Suraj Deshmukh
 
Simulation in R and Python
Simulation in R and PythonSimulation in R and Python
Simulation in R and Python
Shunichi Otsuka
 
Application Deployment Architecture
Application Deployment ArchitectureApplication Deployment Architecture
Application Deployment Architecture
Saurav Basu
 
CF News April Feb-Apr 2017
CF News April Feb-Apr 2017CF News April Feb-Apr 2017
CF News April Feb-Apr 2017
Hristo Iliev
 

What's hot (20)

HOW TO CREATE AWESOME POLYGLOT APPLICATIONS USING GRAALVM
HOW TO CREATE AWESOME POLYGLOT APPLICATIONS USING GRAALVMHOW TO CREATE AWESOME POLYGLOT APPLICATIONS USING GRAALVM
HOW TO CREATE AWESOME POLYGLOT APPLICATIONS USING GRAALVM
 
Introduction to telepresence
Introduction to telepresenceIntroduction to telepresence
Introduction to telepresence
 
Develop custom SAPUI5 libraries using SAP Web IDE
Develop custom SAPUI5 libraries using SAP Web IDEDevelop custom SAPUI5 libraries using SAP Web IDE
Develop custom SAPUI5 libraries using SAP Web IDE
 
AllTheTalks 2020: Buildpacks - container for everyone!
AllTheTalks 2020: Buildpacks - container for everyone!AllTheTalks 2020: Buildpacks - container for everyone!
AllTheTalks 2020: Buildpacks - container for everyone!
 
Kompose
KomposeKompose
Kompose
 
Multiplatform C++ on the Web with Emscripten
Multiplatform C++ on the Web with EmscriptenMultiplatform C++ on the Web with Emscripten
Multiplatform C++ on the Web with Emscripten
 
Kubernetes: training micro-dragons for a serious battle
Kubernetes: training micro-dragons for a serious battleKubernetes: training micro-dragons for a serious battle
Kubernetes: training micro-dragons for a serious battle
 
.NET Core in the Real World
.NET Core in the Real World.NET Core in the Real World
.NET Core in the Real World
 
Minko - Build WebGL applications with C++ and asm.js
Minko - Build WebGL applications with C++ and asm.jsMinko - Build WebGL applications with C++ and asm.js
Minko - Build WebGL applications with C++ and asm.js
 
Beyond Xen: A look into the Xen Cloud Platform
Beyond Xen: A look into the Xen Cloud PlatformBeyond Xen: A look into the Xen Cloud Platform
Beyond Xen: A look into the Xen Cloud Platform
 
[Szjug] Docker. Does it matter for java developer?
[Szjug] Docker. Does it matter for java developer?[Szjug] Docker. Does it matter for java developer?
[Szjug] Docker. Does it matter for java developer?
 
Deployment of the Machine Learning at the production level
Deployment of the Machine Learning at the production levelDeployment of the Machine Learning at the production level
Deployment of the Machine Learning at the production level
 
Dockerfile for rust project
Dockerfile for rust projectDockerfile for rust project
Dockerfile for rust project
 
Object Studio 8.2: News Update
Object Studio 8.2: News UpdateObject Studio 8.2: News Update
Object Studio 8.2: News Update
 
Ci for android OS
Ci for android OSCi for android OS
Ci for android OS
 
Writing your own browser reload functionality
Writing your own browser reload functionalityWriting your own browser reload functionality
Writing your own browser reload functionality
 
Microservices on Kubernetes - The simple way
Microservices on Kubernetes - The simple wayMicroservices on Kubernetes - The simple way
Microservices on Kubernetes - The simple way
 
Simulation in R and Python
Simulation in R and PythonSimulation in R and Python
Simulation in R and Python
 
Application Deployment Architecture
Application Deployment ArchitectureApplication Deployment Architecture
Application Deployment Architecture
 
CF News April Feb-Apr 2017
CF News April Feb-Apr 2017CF News April Feb-Apr 2017
CF News April Feb-Apr 2017
 

Viewers also liked

Proyecto Maestría
Proyecto MaestríaProyecto Maestría
Proyecto Maestría
alejandra-serrano-antero
 
Las redes sociales
Las redes socialesLas redes sociales
Las redes sociales
severicherivera
 
Presentación1
Presentación1Presentación1
Presentación1
narujulito
 
Paki
PakiPaki
Comunicación sincrónica y asincrónica
Comunicación sincrónica y asincrónicaComunicación sincrónica y asincrónica
Comunicación sincrónica y asincrónica
elluaser
 
NEPSE weekly status Vol-1 issue-3
NEPSE weekly status Vol-1 issue-3NEPSE weekly status Vol-1 issue-3
NEPSE weekly status Vol-1 issue-3
Sharechart Shrestha
 
JPNIC Update
JPNIC UpdateJPNIC Update
JPNIC Update
APNIC
 
vsource_brochure_spread (upload in linkedin)
vsource_brochure_spread (upload in linkedin)vsource_brochure_spread (upload in linkedin)
vsource_brochure_spread (upload in linkedin)
Anh Nguyen
 
sharechart Technical Newsletter vol-2 issue-35
sharechart Technical Newsletter vol-2 issue-35sharechart Technical Newsletter vol-2 issue-35
sharechart Technical Newsletter vol-2 issue-35
Sharechart Shrestha
 
sharechart Technical Newsletter vol-2 issue-36
sharechart Technical Newsletter vol-2 issue-36sharechart Technical Newsletter vol-2 issue-36
sharechart Technical Newsletter vol-2 issue-36
Sharechart Shrestha
 
sharechart Technical Analysis from Student Raju Munikar Presentation on NHPC...
sharechart Technical Analysis from Student Raju Munikar  Presentation on NHPC...sharechart Technical Analysis from Student Raju Munikar  Presentation on NHPC...
sharechart Technical Analysis from Student Raju Munikar Presentation on NHPC...
Sharechart Shrestha
 
Presentation 1 ward
Presentation 1 ward Presentation 1 ward
Presentation 1 ward
abileenward
 
DNA & Heredity-I
DNA & Heredity-IDNA & Heredity-I
DNA & Heredity-I
B.H. Hashmi
 
тракийски съкровища Ivka
тракийски съкровища Ivkaтракийски съкровища Ivka
тракийски съкровища IvkaDani Parvanova
 
ο δικός μας αρχιμήδης
ο δικός μας αρχιμήδηςο δικός μας αρχιμήδης
ο δικός μας αρχιμήδηςvasilikiarvan
 
Copywriting, Conversion, and Your Customer's Comfort Zone
Copywriting, Conversion, and Your Customer's Comfort ZoneCopywriting, Conversion, and Your Customer's Comfort Zone
Copywriting, Conversion, and Your Customer's Comfort Zone
Kissmetrics on SlideShare
 

Viewers also liked (17)

Proyecto Maestría
Proyecto MaestríaProyecto Maestría
Proyecto Maestría
 
Las redes sociales
Las redes socialesLas redes sociales
Las redes sociales
 
Presentación1
Presentación1Presentación1
Presentación1
 
Paki
PakiPaki
Paki
 
GT-P20-270615
GT-P20-270615GT-P20-270615
GT-P20-270615
 
Comunicación sincrónica y asincrónica
Comunicación sincrónica y asincrónicaComunicación sincrónica y asincrónica
Comunicación sincrónica y asincrónica
 
NEPSE weekly status Vol-1 issue-3
NEPSE weekly status Vol-1 issue-3NEPSE weekly status Vol-1 issue-3
NEPSE weekly status Vol-1 issue-3
 
JPNIC Update
JPNIC UpdateJPNIC Update
JPNIC Update
 
vsource_brochure_spread (upload in linkedin)
vsource_brochure_spread (upload in linkedin)vsource_brochure_spread (upload in linkedin)
vsource_brochure_spread (upload in linkedin)
 
sharechart Technical Newsletter vol-2 issue-35
sharechart Technical Newsletter vol-2 issue-35sharechart Technical Newsletter vol-2 issue-35
sharechart Technical Newsletter vol-2 issue-35
 
sharechart Technical Newsletter vol-2 issue-36
sharechart Technical Newsletter vol-2 issue-36sharechart Technical Newsletter vol-2 issue-36
sharechart Technical Newsletter vol-2 issue-36
 
sharechart Technical Analysis from Student Raju Munikar Presentation on NHPC...
sharechart Technical Analysis from Student Raju Munikar  Presentation on NHPC...sharechart Technical Analysis from Student Raju Munikar  Presentation on NHPC...
sharechart Technical Analysis from Student Raju Munikar Presentation on NHPC...
 
Presentation 1 ward
Presentation 1 ward Presentation 1 ward
Presentation 1 ward
 
DNA & Heredity-I
DNA & Heredity-IDNA & Heredity-I
DNA & Heredity-I
 
тракийски съкровища Ivka
тракийски съкровища Ivkaтракийски съкровища Ivka
тракийски съкровища Ivka
 
ο δικός μας αρχιμήδης
ο δικός μας αρχιμήδηςο δικός μας αρχιμήδης
ο δικός μας αρχιμήδης
 
Copywriting, Conversion, and Your Customer's Comfort Zone
Copywriting, Conversion, and Your Customer's Comfort ZoneCopywriting, Conversion, and Your Customer's Comfort Zone
Copywriting, Conversion, and Your Customer's Comfort Zone
 

Similar to PROCESS WARP

Flexible compute
Flexible computeFlexible compute
Flexible compute
Peter Clapham
 
Sanger, upcoming Openstack for Bio-informaticians
Sanger, upcoming Openstack for Bio-informaticiansSanger, upcoming Openstack for Bio-informaticians
Sanger, upcoming Openstack for Bio-informaticians
Peter Clapham
 
A Fabric/Puppet Build/Deploy System
A Fabric/Puppet Build/Deploy SystemA Fabric/Puppet Build/Deploy System
A Fabric/Puppet Build/Deploy System
adrian_nye
 
The Lies We Tell Our Code (#seascale 2015 04-22)
The Lies We Tell Our Code (#seascale 2015 04-22)The Lies We Tell Our Code (#seascale 2015 04-22)
The Lies We Tell Our Code (#seascale 2015 04-22)
Casey Bisson
 
Virtual Machine
Virtual MachineVirtual Machine
Virtual Machine
Prakhar Maurya
 
Habitat Overview
Habitat OverviewHabitat Overview
Habitat Overview
Mandi Walls
 
Making Clouds: Turning OpenNebula into a Product
Making Clouds: Turning OpenNebula into a ProductMaking Clouds: Turning OpenNebula into a Product
Making Clouds: Turning OpenNebula into a Product
NETWAYS
 
OpenNebulaConf 2013 - Making Clouds: Turning OpenNebula into a Product by Car...
OpenNebulaConf 2013 - Making Clouds: Turning OpenNebula into a Product by Car...OpenNebulaConf 2013 - Making Clouds: Turning OpenNebula into a Product by Car...
OpenNebulaConf 2013 - Making Clouds: Turning OpenNebula into a Product by Car...
OpenNebula Project
 
Making clouds: turning opennebula into a product
Making clouds: turning opennebula into a productMaking clouds: turning opennebula into a product
Making clouds: turning opennebula into a product
Carlo Daffara
 
Infrastructure as Code
Infrastructure as CodeInfrastructure as Code
Infrastructure as Code
Albert Suwandhi
 
introduction to node.js
introduction to node.jsintroduction to node.js
introduction to node.js
orkaplan
 
Large-scaled Deploy Over 100 Servers in 3 Minutes
Large-scaled Deploy Over 100 Servers in 3 MinutesLarge-scaled Deploy Over 100 Servers in 3 Minutes
Large-scaled Deploy Over 100 Servers in 3 Minutes
Hiroshi SHIBATA
 
Hogy jussunk ki lezárt hálózatokból?
Hogy jussunk ki lezárt hálózatokból?Hogy jussunk ki lezárt hálózatokból?
Hogy jussunk ki lezárt hálózatokból?
hackersuli
 
OS for AI: Elastic Microservices & the Next Gen of ML
OS for AI: Elastic Microservices & the Next Gen of MLOS for AI: Elastic Microservices & the Next Gen of ML
OS for AI: Elastic Microservices & the Next Gen of ML
Nordic APIs
 
Cannibalising The Google App Engine
Cannibalising The  Google  App  EngineCannibalising The  Google  App  Engine
Cannibalising The Google App Engine
catherinewall
 
Linux containers and docker
Linux containers and dockerLinux containers and docker
Linux containers and docker
Fabio Fumarola
 
Handout2o
Handout2oHandout2o
Handout2o
Shahbaz Sidhu
 
Automation in Cloud
Automation in CloudAutomation in Cloud
Automation in Cloud
Abhishek Amralkar
 
Dockerize your Symfony application - Symfony Live NYC 2014
Dockerize your Symfony application - Symfony Live NYC 2014Dockerize your Symfony application - Symfony Live NYC 2014
Dockerize your Symfony application - Symfony Live NYC 2014
André Rømcke
 
Rmll Virtualization As Is Tool 20090707 V1.0
Rmll Virtualization As Is Tool 20090707 V1.0Rmll Virtualization As Is Tool 20090707 V1.0
Rmll Virtualization As Is Tool 20090707 V1.0
guest72e8c1
 

Similar to PROCESS WARP (20)

Flexible compute
Flexible computeFlexible compute
Flexible compute
 
Sanger, upcoming Openstack for Bio-informaticians
Sanger, upcoming Openstack for Bio-informaticiansSanger, upcoming Openstack for Bio-informaticians
Sanger, upcoming Openstack for Bio-informaticians
 
A Fabric/Puppet Build/Deploy System
A Fabric/Puppet Build/Deploy SystemA Fabric/Puppet Build/Deploy System
A Fabric/Puppet Build/Deploy System
 
The Lies We Tell Our Code (#seascale 2015 04-22)
The Lies We Tell Our Code (#seascale 2015 04-22)The Lies We Tell Our Code (#seascale 2015 04-22)
The Lies We Tell Our Code (#seascale 2015 04-22)
 
Virtual Machine
Virtual MachineVirtual Machine
Virtual Machine
 
Habitat Overview
Habitat OverviewHabitat Overview
Habitat Overview
 
Making Clouds: Turning OpenNebula into a Product
Making Clouds: Turning OpenNebula into a ProductMaking Clouds: Turning OpenNebula into a Product
Making Clouds: Turning OpenNebula into a Product
 
OpenNebulaConf 2013 - Making Clouds: Turning OpenNebula into a Product by Car...
OpenNebulaConf 2013 - Making Clouds: Turning OpenNebula into a Product by Car...OpenNebulaConf 2013 - Making Clouds: Turning OpenNebula into a Product by Car...
OpenNebulaConf 2013 - Making Clouds: Turning OpenNebula into a Product by Car...
 
Making clouds: turning opennebula into a product
Making clouds: turning opennebula into a productMaking clouds: turning opennebula into a product
Making clouds: turning opennebula into a product
 
Infrastructure as Code
Infrastructure as CodeInfrastructure as Code
Infrastructure as Code
 
introduction to node.js
introduction to node.jsintroduction to node.js
introduction to node.js
 
Large-scaled Deploy Over 100 Servers in 3 Minutes
Large-scaled Deploy Over 100 Servers in 3 MinutesLarge-scaled Deploy Over 100 Servers in 3 Minutes
Large-scaled Deploy Over 100 Servers in 3 Minutes
 
Hogy jussunk ki lezárt hálózatokból?
Hogy jussunk ki lezárt hálózatokból?Hogy jussunk ki lezárt hálózatokból?
Hogy jussunk ki lezárt hálózatokból?
 
OS for AI: Elastic Microservices & the Next Gen of ML
OS for AI: Elastic Microservices & the Next Gen of MLOS for AI: Elastic Microservices & the Next Gen of ML
OS for AI: Elastic Microservices & the Next Gen of ML
 
Cannibalising The Google App Engine
Cannibalising The  Google  App  EngineCannibalising The  Google  App  Engine
Cannibalising The Google App Engine
 
Linux containers and docker
Linux containers and dockerLinux containers and docker
Linux containers and docker
 
Handout2o
Handout2oHandout2o
Handout2o
 
Automation in Cloud
Automation in CloudAutomation in Cloud
Automation in Cloud
 
Dockerize your Symfony application - Symfony Live NYC 2014
Dockerize your Symfony application - Symfony Live NYC 2014Dockerize your Symfony application - Symfony Live NYC 2014
Dockerize your Symfony application - Symfony Live NYC 2014
 
Rmll Virtualization As Is Tool 20090707 V1.0
Rmll Virtualization As Is Tool 20090707 V1.0Rmll Virtualization As Is Tool 20090707 V1.0
Rmll Virtualization As Is Tool 20090707 V1.0
 

More from 祐司 伊藤

Container Storage Interface のすべて
Container Storage Interface のすべてContainer Storage Interface のすべて
Container Storage Interface のすべて
祐司 伊藤
 
C/C++とWebAssemblyを利用したライブラリ開発
C/C++とWebAssemblyを利用したライブラリ開発C/C++とWebAssemblyを利用したライブラリ開発
C/C++とWebAssemblyを利用したライブラリ開発
祐司 伊藤
 
C++からWebRTC (DataChannel)を利用する
C++からWebRTC (DataChannel)を利用するC++からWebRTC (DataChannel)を利用する
C++からWebRTC (DataChannel)を利用する
祐司 伊藤
 
詳説WebAssembly
詳説WebAssembly詳説WebAssembly
詳説WebAssembly
祐司 伊藤
 
シンプル Processing !
シンプル Processing !シンプル Processing !
シンプル Processing !
祐司 伊藤
 
PROCESS WARP「プロセスがデバイス間で移動する」仕組みを作る
PROCESS WARP「プロセスがデバイス間で移動する」仕組みを作るPROCESS WARP「プロセスがデバイス間で移動する」仕組みを作る
PROCESS WARP「プロセスがデバイス間で移動する」仕組みを作る
祐司 伊藤
 
PROCESS WARP
PROCESS WARPPROCESS WARP
PROCESS WARP
祐司 伊藤
 
Webブラウザで使えるいろんな処理系
Webブラウザで使えるいろんな処理系Webブラウザで使えるいろんな処理系
Webブラウザで使えるいろんな処理系
祐司 伊藤
 
PIAXで作る P2Pネットワーク
PIAXで作る P2PネットワークPIAXで作る P2Pネットワーク
PIAXで作る P2Pネットワーク
祐司 伊藤
 
新しい分散実行の仕組み PROCESS WARPについて
新しい分散実行の仕組み PROCESS WARPについて新しい分散実行の仕組み PROCESS WARPについて
新しい分散実行の仕組み PROCESS WARPについて
祐司 伊藤
 
emscriptenでC/C++プログラムをwebブラウザから使うまでの難所攻略
emscriptenでC/C++プログラムをwebブラウザから使うまでの難所攻略emscriptenでC/C++プログラムをwebブラウザから使うまでの難所攻略
emscriptenでC/C++プログラムをwebブラウザから使うまでの難所攻略
祐司 伊藤
 

More from 祐司 伊藤 (11)

Container Storage Interface のすべて
Container Storage Interface のすべてContainer Storage Interface のすべて
Container Storage Interface のすべて
 
C/C++とWebAssemblyを利用したライブラリ開発
C/C++とWebAssemblyを利用したライブラリ開発C/C++とWebAssemblyを利用したライブラリ開発
C/C++とWebAssemblyを利用したライブラリ開発
 
C++からWebRTC (DataChannel)を利用する
C++からWebRTC (DataChannel)を利用するC++からWebRTC (DataChannel)を利用する
C++からWebRTC (DataChannel)を利用する
 
詳説WebAssembly
詳説WebAssembly詳説WebAssembly
詳説WebAssembly
 
シンプル Processing !
シンプル Processing !シンプル Processing !
シンプル Processing !
 
PROCESS WARP「プロセスがデバイス間で移動する」仕組みを作る
PROCESS WARP「プロセスがデバイス間で移動する」仕組みを作るPROCESS WARP「プロセスがデバイス間で移動する」仕組みを作る
PROCESS WARP「プロセスがデバイス間で移動する」仕組みを作る
 
PROCESS WARP
PROCESS WARPPROCESS WARP
PROCESS WARP
 
Webブラウザで使えるいろんな処理系
Webブラウザで使えるいろんな処理系Webブラウザで使えるいろんな処理系
Webブラウザで使えるいろんな処理系
 
PIAXで作る P2Pネットワーク
PIAXで作る P2PネットワークPIAXで作る P2Pネットワーク
PIAXで作る P2Pネットワーク
 
新しい分散実行の仕組み PROCESS WARPについて
新しい分散実行の仕組み PROCESS WARPについて新しい分散実行の仕組み PROCESS WARPについて
新しい分散実行の仕組み PROCESS WARPについて
 
emscriptenでC/C++プログラムをwebブラウザから使うまでの難所攻略
emscriptenでC/C++プログラムをwebブラウザから使うまでの難所攻略emscriptenでC/C++プログラムをwebブラウザから使うまでの難所攻略
emscriptenでC/C++プログラムをwebブラウザから使うまでの難所攻略
 

Recently uploaded

5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
dbms calicut university B. sc Cs 4th sem.pdf
dbms  calicut university B. sc Cs 4th sem.pdfdbms  calicut university B. sc Cs 4th sem.pdf
dbms calicut university B. sc Cs 4th sem.pdf
Shinana2
 
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
alexjohnson7307
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Jeffrey Haguewood
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdfNunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
flufftailshop
 
AWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptxAWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptx
HarisZaheer8
 
A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024
Intelisync
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
saastr
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
Operating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptxOperating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptx
Pravash Chandra Das
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
Wouter Lemaire
 
Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!
GDSC PJATK
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Alpen-Adria-Universität
 

Recently uploaded (20)

5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
dbms calicut university B. sc Cs 4th sem.pdf
dbms  calicut university B. sc Cs 4th sem.pdfdbms  calicut university B. sc Cs 4th sem.pdf
dbms calicut university B. sc Cs 4th sem.pdf
 
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdfNunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
 
AWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptxAWS Cloud Cost Optimization Presentation.pptx
AWS Cloud Cost Optimization Presentation.pptx
 
A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
Operating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptxOperating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptx
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
 
Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
 

PROCESS WARP

  • 1. PROCESS WARP distributed processing system Yuji Ito facebook : https://www.facebook.com/ito.yuuji github : https://github.com/llamerada-jp I talk about PROCESS WARP that is a distributed processing system, I'm developing.
  • 2. PROCESS WARP : A new infrastructure for distributed processing system. All machines are equal. It doesn’t require a special machine as a server. Typical system : Formed by client/ server. It requires a server, if the server is down, service will stop. ※ Icons by Crystal Project (LGPL). Aim
  • 3. Feature • Applications run in virtual space, that is made up by a group of nodes. • Makes it possible to use any amount of computer resources and control nodes by a single process. • Makes it possible to warp a process to another node with keep alive.
  • 4. Advantage Increase total processing power according to number of joining nodes. • Decrease cost to maintain service without relation to number of nodes. • Service provider can choose a good topology for system having a lot of nodes. join
  • 5. Advantage It breaks the border between a standalone application and a cloud application. • User can use stand alone application similar to cloud application on PROCESS WARP. • User can use application offline, after a migration process. (Under active development) Because a process image can migrate, the user can use the application offline. Share the process space among the connected computers and freely pass the running application between machines.
  • 6. Architecture Host : native environment like UNIX, or web-browser CPU : Interpret LLVM-IR instructions without using native stack Memory : Store memory image partially per node other host VM Process Virtual Machine : Dump and synchronise (or pass) memory image; Control PCB (Process Control Block); Call API Use native APIs Synchronise memory image, Control PCB I'm developing a special virtual machine to realise previous slide's system. LLVM is a compiler infrastructure that is used in many environments.
  • 7. Actual status • You can run virtual machine on FreeBSD, Linux, OSX, and Web- browser. • And run sample C/C++ program on virtual machine. • Multiple threads can be distributed across several machines. • Virtual machines have minimal APIs like “printf”. • I published source code with MIT license and anyone can try it on web-browser. • http://www.processwarp.org/ • https://github.com/processwarp
  • 8. Demo #include <stdio.h> #include <stdlib.h> #include <pthread.h> char* ret = "a"; static void *thread_func(void *vptr_args) { int i; for (i = 0; i < 20000; i++) { printf(" b [%d]n", i); } return (void*)ret; } int main(void) { int i; pthread_t thread; void* retval; if (pthread_create (&thread, NULL, thread_func, NULL) != 0) { return EXIT_FAILURE; } for (i = 0; i < 10000; i++) { printf("a [%d]n", i); } if (pthread_join(thread, &retval) != 0) { return EXIT_FAILURE; } printf("ret %016llx %16llxn", (unsigned long long)ret, (unsigned long long)retval); return EXIT_SUCCESS; } This program is a simple multi thread application. This program makes two threads and increments a counter on each thread.
  • 9. Next milestones • Remove server (currently needs control server) and implement peer to peer transfer. • Make test, document, and more APIs to run existing applications. • Develop I/O functions including storage and socket layers.