SlideShare a Scribd company logo
2015/12/15
Marat Zhanikeev
maratishe@gmail.com
SE研@博多シティ
PDF: bit.do/151215
3-Way Scripts as a Base Unit
for Flexible Scale-Out Code
Things You Might've Noticed
• most coding today is done in scripting languages -- php, python, ruby, ....
• DiY deploy is becoming more common than platforms -- Docker deploy via filesystem diffs
• smartphone-centric coding is already a reality and reaches further into
IoT, IoV, etc.
• .... a demo?
M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 2/20
2/20
3-Way Scripts
function callme (…)
…
Class NAME
Other code,
Manager
CLI mode
$a = new NAME()
$a ->callme ();
HTTP mode
$a = new NAME()
echo toJSON ( $a ->callme ());
OperatorRemote code
Use in
Object mode
01 M.Zhanikeev "Github Public Repository for the 3-Way Scripting Project" https://github.com/maratishe/3wayscripting (current)
M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 3/20
3/20
The Need (also for Speed)
• 2 ways wanted 06 詳細 : high-thru local vs low-thru remote calls to A
A
B
C
Many Many
HTTP REQ
HTTP REP (small data)
new,
call
CLI
High
volume
Big Data
Manager
06 M.Zhanikeev "Streaming Algorithms for Big Data Processing on Multicore" CRC (2015)
M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 4/20
4/20
Objectives
1. heterogeneity
◦ in clouds known as federated and fog clouds 03
◦ in coding, ambient 18 and p2p networking between instances/agents 15
◦ ultimately VNE 詳細 for distributed software agents
2. volatility
◦ again, fog clouds 03 ambient programming 18
◦ hierarchical structures -- like Fractal 14
3. autonomy
◦ not much in programming but more actively discussed in clouds, network
management, etc. 09
◦ distant goal is Truly Autonomous 詳細
03 M.Zhanikeev "A Cloud Visitation Platform to Facilitate Cloud Federation and Fog Computing" IEEE Computer (2015)
18 J.Dedecker+4 "Ambient-Oriented Programming in AmbientTalk" 20th ECOOP (2006)
15 M.Albano+2 "Hierarchical P2P Overlays for DVE: An Additively Weighted Voronoi Based Approach" ICUMT (2009)
14 F.Baude+2 "From Distributed Objects to Hierarchical Grid Components" CoopIS, DOA, and ODBASE, Springer LNCS (2003)
09 M.Zhanikeev "Population Management in Clouds is a Do-It-Yourself Technology" IETF94/NMRG (2015)
M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 5/20
5/20
Theory of Distributed Computing
A
Platform Platform
Bc
C
Run
A. CORBA model
A B
B. Current (traditional) Model
Platform
C. Distributed Code (proposed)
A
Platform Platform
B
C
Run
3-way code
Distribution borders
(network, etc.)
Code (objects, scripts)
Data, messages
Runtime
Invocation routes
XYZ
• CORBA used to
stringify and
send objects
• modern platforms
mostly send data
• 3-way code is
unique
◦ platformless
◦ autonomous
◦ volatility OK =
adaptible
◦ ...
M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 6/20
6/20
Class/Function Call-by-Variable
• most scripting languages (PHP) allow for some nifty referencing techniques
• key to using the same code in 3+ ways
$a = new NAME();
$b = ‘callme’;
$a->$b( $param, $defaultparam = 10);
M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 7/20
7/20
Basic Security for Web API
AB
Many Many
REQ( md5p , …)
Make
secure
Operator,
Manager
mp5p
mp5 (file)
Attacker
Manager
M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 8/20
8/20
More Specific on MD5 Keys
BA
Each Each
REQ( key , …)
keyfile
Operator/
automation
(once)c
web.php make()
verify
same dir.
Attacker
Manager
(key exchange)
M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 9/20
9/20
web.php key management
• see source code at 01
• key made by make() is mapped to tag, then to place
• load() is internal, used for de-mapping from place/tag
make( $libdir,$stuff,$length=10){ // returns $key
tag( $key,$tag,$cldir=‘.’){ // outgoing
place( $name,$iport,$tag,$cldir=‘.’){ // outgoing
private load( $place,$tag,$cldir=‘.’){ // outgoing
01 M.Zhanikeev "Github Public Repository for the 3-Way Scripting Project" https://github.com/maratishe/3wayscripting (current)
M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 10/20
10/20
web.php mid-way interface
• remote calls can be reduced to remote procedure and RESTful calls
• rrun() : communicate to remote web.php and have it run something on local
commandline
• rcall() : send a RESTful REQ directly to place and return results as JSON
server( $port) { // use own IP
rrun( $place,...) { // $place maps to $tag, then $key
rcall( $place,...) {
M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 11/20
11/20
web.php mid-way interface (2)
A
Each Each
REQ( key , …)
C keyfile
Operator/
automation
b
make()
Attacker
D keyfile
E keyfile
keyfile
(global)
M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 12/20
12/20
Wrapup : Feature Comparison
• note the learning curve -- very important for modern programming and edge
boxes 詳細
• traffic efficiency 詳細 is not mentioned, but is part of current/future work 02
• destined for wireless fog boxes which need platformless agents 詳細
(Web)
Sockets
RESTful
calls
Hierarchical
structure
Heterogeneous
environments
Learning
curve
(simplicity)
Needs a
platform?
Traffic
encoding
optional?
Traditional
(Corba, ESB, MPI,…) YES NO NO NO NO YES NO
Advanced/modern
(SOC, Ibis, …) YES YES YES YES NO YES NO
Distributed code
(proposed) YES YES YES YES YES NO YES
02 M.Zhanikeev "DiffHub: An Efficient Cloud Sync Technology based on Binary Diffs" IPSJ JIP (2015)
M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 13/20
13/20
That’s all, thank you ...
M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 14/20
14/20
Application: Hadoop Interface
Hadoop Agent
... is software that runs locally as an agent of the
remote client
Storage Node
(shard)
Time-Aware
Sub-Store(s)
Manager
Client Machine
Client
Your
Sketcher
You
Start Use
Schedule
Multicore
Replay
Replay Node
many
• Hadoop interface is very
intensive, cannot be done
remotely
• there are also alternatives
to Hadoop 06
• one of applications for 3-way
scripts 戻る
06 M.Zhanikeev "Streaming Algorithms for Big Data Processing on Multicore" CRC (2015)
M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 15/20
15/20
VNE: Virtual Network Embedding
VNE
... is the best way to formulate optimization of
multiple overlayed virtual (service) networks
Physical
layer
Virtual
Layer1
VN
Request
2
Make VN
3 VN
Reply
4 Virtual
Virtual
Physical
• still active area of research,
good heuristics wanted 07
• best for service networks in
clouds 戻る
07 M.Zhanikeev "A New VNE Method for More Responsive Networking in Many-to-Many Groups" 7th ICUFN (2015)
M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 16/20
16/20
Truly Autonomous Agents
True Autonomy
... is alternative to VNE in that optimization is
done autonomously at service side
Network
Provider s
(NOC)
Agent
Service Traditional agents
True Autonomy
• part of current standards
discussion on future
network management 09
• traditional: NOC + agents
but NOC is interface =
bottleneck
• true autonomy: agents are
open for direct
coordination with remove
services 戻る
09
09 M.Zhanikeev "Population Management in Clouds is a Do-It-Yourself Technology" IETF94/NMRG (2015)
M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 17/20
17/20
Wireless Network Edge
Reachable Devices
... are boxes that talk to your smartphone using
P2P WiFi (WiFi Direct is best today)
AP
User
Internet
User
Internet
WiFi
Congestion
User
Internet
3G
Smartphone
Device
Device
Device
AP Design
WLAN Design
Reachable
Devices Design
AP
DeviceWiFi User
Internet
AP Design (2)
Congestion
WiFi
P2P WiFi
Cannot use
at the same time
Reachable Platform
• modern boxes are mostly based on
the AP Design -- connectivity problem
• even if conenctivity problem is
resolved, you have congestion
problem
• with Reachable Technology,
smartphone is the realtime mid-way
interface between clouds and
devices
• link to code: software agent is
running at (1) smartphone and (2)
the box 戻る
M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 18/20
18/20
Example Edge Box for 3-Way Scripts
• currently trying to build this box based on conventional Xen
• LHAP is Local Hardware Awareness Platform 03
• software agents are running at the box, those are Beacons, Wireless Data
Hubs, etc. 戻る
WiFi
Wireless users
Wireless
AP
Physical Device
LHAP
VM
VM
Con.Con.Con.
Storage
Sensors
… Beacon
WiFi AP
WiFi Client
P2P WiFi
03 M.Zhanikeev "A Cloud Visitation Platform to Facilitate Cloud Federation and Fog Computing" IEEE Computer (2015)
M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 19/20
19/20
Binary Diffs and DiffHub Idea
Binary Diffs
... are the best way to achieve traffic
efficiency in a datatype-indiferent way
Cloud
Drive
User A
User B
New
Old
Old
Diff Diff
Old version
New version
Binary diff
DiffHub
• exampe: Docker uses filesystem
diffs
• recent study: binary diffs are better
than filesystem diffs
• connection: efficient deploy/
maintain of scale-out code 戻る
M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 20/20
20/20

More Related Content

Viewers also liked

Kevin geovanni flores duque cv spanish version
Kevin geovanni flores duque   cv spanish versionKevin geovanni flores duque   cv spanish version
Kevin geovanni flores duque cv spanish versionKevin Duque
 
Rovarovaivalu Thesis - The Effect of the Tipped Minimum Wage on Firm Strategy...
Rovarovaivalu Thesis - The Effect of the Tipped Minimum Wage on Firm Strategy...Rovarovaivalu Thesis - The Effect of the Tipped Minimum Wage on Firm Strategy...
Rovarovaivalu Thesis - The Effect of the Tipped Minimum Wage on Firm Strategy...Rovarovaivalu Vesikula
 
Noucentisme
NoucentismeNoucentisme
Rethinking your supply chain process to make your business more profitable
Rethinking your supply chain process to make your business more profitableRethinking your supply chain process to make your business more profitable
Rethinking your supply chain process to make your business more profitable
GA Circular
 
Presetnacion proyecto de faisury
Presetnacion proyecto de faisuryPresetnacion proyecto de faisury
Presetnacion proyecto de faisury
webmasteriensp
 
Proyecto uoasar actividad
Proyecto uoasar actividadProyecto uoasar actividad
Proyecto uoasar actividad
webmasteriensp
 
DNS DDoS mitigation using Amazon Route 53 and AWS Shield
DNS DDoS mitigation using Amazon Route 53 and AWS ShieldDNS DDoS mitigation using Amazon Route 53 and AWS Shield
DNS DDoS mitigation using Amazon Route 53 and AWS Shield
Amazon Web Services
 

Viewers also liked (7)

Kevin geovanni flores duque cv spanish version
Kevin geovanni flores duque   cv spanish versionKevin geovanni flores duque   cv spanish version
Kevin geovanni flores duque cv spanish version
 
Rovarovaivalu Thesis - The Effect of the Tipped Minimum Wage on Firm Strategy...
Rovarovaivalu Thesis - The Effect of the Tipped Minimum Wage on Firm Strategy...Rovarovaivalu Thesis - The Effect of the Tipped Minimum Wage on Firm Strategy...
Rovarovaivalu Thesis - The Effect of the Tipped Minimum Wage on Firm Strategy...
 
Noucentisme
NoucentismeNoucentisme
Noucentisme
 
Rethinking your supply chain process to make your business more profitable
Rethinking your supply chain process to make your business more profitableRethinking your supply chain process to make your business more profitable
Rethinking your supply chain process to make your business more profitable
 
Presetnacion proyecto de faisury
Presetnacion proyecto de faisuryPresetnacion proyecto de faisury
Presetnacion proyecto de faisury
 
Proyecto uoasar actividad
Proyecto uoasar actividadProyecto uoasar actividad
Proyecto uoasar actividad
 
DNS DDoS mitigation using Amazon Route 53 and AWS Shield
DNS DDoS mitigation using Amazon Route 53 and AWS ShieldDNS DDoS mitigation using Amazon Route 53 and AWS Shield
DNS DDoS mitigation using Amazon Route 53 and AWS Shield
 

Similar to 3-Way Scripts as a Base Unit for Flexible Scale-Out Code

3-Way Scripts as a Practical Platform for Secure Distributed Code in Clouds
3-Way Scripts as a Practical Platform for Secure Distributed Code in Clouds3-Way Scripts as a Practical Platform for Secure Distributed Code in Clouds
3-Way Scripts as a Practical Platform for Secure Distributed Code in Clouds
Tokyo University of Science
 
Training - Managing .NET/J2EE Projects
Training - Managing .NET/J2EE ProjectsTraining - Managing .NET/J2EE Projects
Training - Managing .NET/J2EE Projects
Shashank Banerjea
 
A Cloud Visitation Platform for Federated Services at Network Edge
A Cloud Visitation Platform for Federated Services at Network EdgeA Cloud Visitation Platform for Federated Services at Network Edge
A Cloud Visitation Platform for Federated Services at Network Edge
Tokyo University of Science
 
jeevanreddy-nwplm
jeevanreddy-nwplmjeevanreddy-nwplm
jeevanreddy-nwplmjeevan b
 
Reactive Microservices with Spring 5: WebFlux
Reactive Microservices with Spring 5: WebFlux Reactive Microservices with Spring 5: WebFlux
Reactive Microservices with Spring 5: WebFlux
Trayan Iliev
 
Developers’ mDay u Banjoj Luci - Janko Isidorović, Mainflux – Unified IoT Pl...
Developers’ mDay u Banjoj Luci - Janko Isidorović, Mainflux –  Unified IoT Pl...Developers’ mDay u Banjoj Luci - Janko Isidorović, Mainflux –  Unified IoT Pl...
Developers’ mDay u Banjoj Luci - Janko Isidorović, Mainflux – Unified IoT Pl...
mCloud
 
Using Node-RED for building IoT workflows
Using Node-RED for building IoT workflowsUsing Node-RED for building IoT workflows
Using Node-RED for building IoT workflows
Aniruddha Chakrabarti
 
How to Build a Generic Fog Cloud Box
How to Build a Generic Fog Cloud BoxHow to Build a Generic Fog Cloud Box
How to Build a Generic Fog Cloud Box
Tokyo University of Science
 
MobiCloud: Towards Cloud Mobile Hybrid Application Generation using Semantica...
MobiCloud: Towards Cloud Mobile Hybrid Application Generation using Semantica...MobiCloud: Towards Cloud Mobile Hybrid Application Generation using Semantica...
MobiCloud: Towards Cloud Mobile Hybrid Application Generation using Semantica...
Amit Sheth
 
Openshift visual workflows
Openshift visual workflowsOpenshift visual workflows
Openshift visual workflowsIIIT HYDERABAD
 
Mainflux - Hyperscalable Unified IoT Platform
Mainflux - Hyperscalable Unified IoT PlatformMainflux - Hyperscalable Unified IoT Platform
Mainflux - Hyperscalable Unified IoT Platform
Sasa Klopanovic
 
Mainflux - Hyperscalable Unified IoT Platform
Mainflux - Hyperscalable Unified IoT PlatformMainflux - Hyperscalable Unified IoT Platform
Mainflux - Hyperscalable Unified IoT Platform
Sasa Klopanovic
 
IT TRENDS AND PERSPECTIVES 2016
IT TRENDS AND PERSPECTIVES 2016IT TRENDS AND PERSPECTIVES 2016
IT TRENDS AND PERSPECTIVES 2016
Vaidheswaran CS
 
Open source building blocks for the Internet of Things - Jfokus 2013
Open source building blocks for the Internet of Things - Jfokus 2013Open source building blocks for the Internet of Things - Jfokus 2013
Open source building blocks for the Internet of Things - Jfokus 2013
Benjamin Cabé
 
E2E Services using Cloud Visitation Platforms
E2E Services using Cloud Visitation PlatformsE2E Services using Cloud Visitation Platforms
E2E Services using Cloud Visitation Platforms
Tokyo University of Science
 
Fog Cloud Caching at Network Edge via Local Hardware Awareness Spaces
Fog Cloud Caching at Network Edge via Local Hardware Awareness SpacesFog Cloud Caching at Network Edge via Local Hardware Awareness Spaces
Fog Cloud Caching at Network Edge via Local Hardware Awareness Spaces
Tokyo University of Science
 
【BS1】What’s new in visual studio 2022 and c# 10
【BS1】What’s new in visual studio 2022 and c# 10【BS1】What’s new in visual studio 2022 and c# 10
【BS1】What’s new in visual studio 2022 and c# 10
日本マイクロソフト株式会社
 

Similar to 3-Way Scripts as a Base Unit for Flexible Scale-Out Code (20)

3-Way Scripts as a Practical Platform for Secure Distributed Code in Clouds
3-Way Scripts as a Practical Platform for Secure Distributed Code in Clouds3-Way Scripts as a Practical Platform for Secure Distributed Code in Clouds
3-Way Scripts as a Practical Platform for Secure Distributed Code in Clouds
 
Training - Managing .NET/J2EE Projects
Training - Managing .NET/J2EE ProjectsTraining - Managing .NET/J2EE Projects
Training - Managing .NET/J2EE Projects
 
A Cloud Visitation Platform for Federated Services at Network Edge
A Cloud Visitation Platform for Federated Services at Network EdgeA Cloud Visitation Platform for Federated Services at Network Edge
A Cloud Visitation Platform for Federated Services at Network Edge
 
jeevanreddy-nwplm
jeevanreddy-nwplmjeevanreddy-nwplm
jeevanreddy-nwplm
 
Dcc Ppt
Dcc PptDcc Ppt
Dcc Ppt
 
Reactive Microservices with Spring 5: WebFlux
Reactive Microservices with Spring 5: WebFlux Reactive Microservices with Spring 5: WebFlux
Reactive Microservices with Spring 5: WebFlux
 
Developers’ mDay u Banjoj Luci - Janko Isidorović, Mainflux – Unified IoT Pl...
Developers’ mDay u Banjoj Luci - Janko Isidorović, Mainflux –  Unified IoT Pl...Developers’ mDay u Banjoj Luci - Janko Isidorović, Mainflux –  Unified IoT Pl...
Developers’ mDay u Banjoj Luci - Janko Isidorović, Mainflux – Unified IoT Pl...
 
Using Node-RED for building IoT workflows
Using Node-RED for building IoT workflowsUsing Node-RED for building IoT workflows
Using Node-RED for building IoT workflows
 
How to Build a Generic Fog Cloud Box
How to Build a Generic Fog Cloud BoxHow to Build a Generic Fog Cloud Box
How to Build a Generic Fog Cloud Box
 
MobiCloud: Towards Cloud Mobile Hybrid Application Generation using Semantica...
MobiCloud: Towards Cloud Mobile Hybrid Application Generation using Semantica...MobiCloud: Towards Cloud Mobile Hybrid Application Generation using Semantica...
MobiCloud: Towards Cloud Mobile Hybrid Application Generation using Semantica...
 
Openshift visual workflows
Openshift visual workflowsOpenshift visual workflows
Openshift visual workflows
 
Mainflux - Hyperscalable Unified IoT Platform
Mainflux - Hyperscalable Unified IoT PlatformMainflux - Hyperscalable Unified IoT Platform
Mainflux - Hyperscalable Unified IoT Platform
 
Mainflux - Hyperscalable Unified IoT Platform
Mainflux - Hyperscalable Unified IoT PlatformMainflux - Hyperscalable Unified IoT Platform
Mainflux - Hyperscalable Unified IoT Platform
 
IT TRENDS AND PERSPECTIVES 2016
IT TRENDS AND PERSPECTIVES 2016IT TRENDS AND PERSPECTIVES 2016
IT TRENDS AND PERSPECTIVES 2016
 
Open source building blocks for the Internet of Things - Jfokus 2013
Open source building blocks for the Internet of Things - Jfokus 2013Open source building blocks for the Internet of Things - Jfokus 2013
Open source building blocks for the Internet of Things - Jfokus 2013
 
E2E Services using Cloud Visitation Platforms
E2E Services using Cloud Visitation PlatformsE2E Services using Cloud Visitation Platforms
E2E Services using Cloud Visitation Platforms
 
Fog Cloud Caching at Network Edge via Local Hardware Awareness Spaces
Fog Cloud Caching at Network Edge via Local Hardware Awareness SpacesFog Cloud Caching at Network Edge via Local Hardware Awareness Spaces
Fog Cloud Caching at Network Edge via Local Hardware Awareness Spaces
 
Chapter 6-Remoting
Chapter 6-RemotingChapter 6-Remoting
Chapter 6-Remoting
 
【BS1】What’s new in visual studio 2022 and c# 10
【BS1】What’s new in visual studio 2022 and c# 10【BS1】What’s new in visual studio 2022 and c# 10
【BS1】What’s new in visual studio 2022 and c# 10
 
CV_Serhiy_Medvedyev_2015
CV_Serhiy_Medvedyev_2015CV_Serhiy_Medvedyev_2015
CV_Serhiy_Medvedyev_2015
 

More from Tokyo University of Science

A Method for Cloud-Assisted Secure Wireless Grouping of Client Devices at Net...
A Method for Cloud-Assisted Secure Wireless Grouping of Client Devices at Net...A Method for Cloud-Assisted Secure Wireless Grouping of Client Devices at Net...
A Method for Cloud-Assisted Secure Wireless Grouping of Client Devices at Net...
Tokyo University of Science
 
Ultrasound Relative Positioning for IoT Devices in Dense Wireless Spaces
Ultrasound Relative Positioning for IoT Devices in Dense Wireless SpacesUltrasound Relative Positioning for IoT Devices in Dense Wireless Spaces
Ultrasound Relative Positioning for IoT Devices in Dense Wireless Spaces
Tokyo University of Science
 
Towards a Packet Traffic Genome Project as a Method for Realtime Sub-Flow Tra...
Towards a Packet Traffic Genome Project as a Method for Realtime Sub-Flow Tra...Towards a Packet Traffic Genome Project as a Method for Realtime Sub-Flow Tra...
Towards a Packet Traffic Genome Project as a Method for Realtime Sub-Flow Tra...
Tokyo University of Science
 
What if We Atomize Student Data and Apps and Put Them on Docker Containers?
What if We Atomize Student Data and Apps and Put Them on Docker Containers?What if We Atomize Student Data and Apps and Put Them on Docker Containers?
What if We Atomize Student Data and Apps and Put Them on Docker Containers?
Tokyo University of Science
 
Large-Scale Crowdsourcing by Vehicular Data Packets in a Sparse Roadside Infr...
Large-Scale Crowdsourcing by Vehicular Data Packets in a Sparse Roadside Infr...Large-Scale Crowdsourcing by Vehicular Data Packets in a Sparse Roadside Infr...
Large-Scale Crowdsourcing by Vehicular Data Packets in a Sparse Roadside Infr...
Tokyo University of Science
 
On Performance Under Hotspots in Hadoop versus Bigdata Replay Platforms
On Performance Under Hotspots in Hadoop versus Bigdata Replay PlatformsOn Performance Under Hotspots in Hadoop versus Bigdata Replay Platforms
On Performance Under Hotspots in Hadoop versus Bigdata Replay Platforms
Tokyo University of Science
 
Taking the Step from Software to Product Development \\ when teaching PBL at ...
Taking the Step from Software to Product Development \\ when teaching PBL at ...Taking the Step from Software to Product Development \\ when teaching PBL at ...
Taking the Step from Software to Product Development \\ when teaching PBL at ...
Tokyo University of Science
 
Design and Implementation of a 3-Party Cloud-Backed Handshake for Secure Grou...
Design and Implementation of a 3-Party Cloud-Backed Handshake for Secure Grou...Design and Implementation of a 3-Party Cloud-Backed Handshake for Secure Grou...
Design and Implementation of a 3-Party Cloud-Backed Handshake for Secure Grou...
Tokyo University of Science
 
The Switchboard Optimization Problem and Heuristics for Cut-Through Networking
The Switchboard Optimization Problem and Heuristics for Cut-Through NetworkingThe Switchboard Optimization Problem and Heuristics for Cut-Through Networking
The Switchboard Optimization Problem and Heuristics for Cut-Through Networking
Tokyo University of Science
 
The Switchboard Traffic Engineering Problem for Mixed Contention/Cut-Through ...
The Switchboard Traffic Engineering Problem for Mixed Contention/Cut-Through ...The Switchboard Traffic Engineering Problem for Mixed Contention/Cut-Through ...
The Switchboard Traffic Engineering Problem for Mixed Contention/Cut-Through ...
Tokyo University of Science
 
Bulk-n-Pick Method for One-to-Many Data Transfer in Dense Wireless Spaces
Bulk-n-Pick Method for One-to-Many Data Transfer in Dense Wireless SpacesBulk-n-Pick Method for One-to-Many Data Transfer in Dense Wireless Spaces
Bulk-n-Pick Method for One-to-Many Data Transfer in Dense Wireless Spaces
Tokyo University of Science
 
Image-Related Uses for Roadside Infrastructure \\ based on Wireless Beacons
Image-Related Uses for Roadside Infrastructure \\ based on Wireless BeaconsImage-Related Uses for Roadside Infrastructure \\ based on Wireless Beacons
Image-Related Uses for Roadside Infrastructure \\ based on Wireless Beacons
Tokyo University of Science
 
Complexity Resolution Control for Context Based on Metromaps
Complexity Resolution Control for Context Based on MetromapsComplexity Resolution Control for Context Based on Metromaps
Complexity Resolution Control for Context Based on Metromaps
Tokyo University of Science
 
Towards Social Robotics on Smartphones with Simple XYZV Sensor Feedback
Towards Social Robotics on Smartphones with Simple XYZV Sensor FeedbackTowards Social Robotics on Smartphones with Simple XYZV Sensor Feedback
Towards Social Robotics on Smartphones with Simple XYZV Sensor Feedback
Tokyo University of Science
 
Back to Rings but not Tokens: Physical and Logical Designs for Distributed Fi...
Back to Rings but not Tokens: Physical and Logical Designs for Distributed Fi...Back to Rings but not Tokens: Physical and Logical Designs for Distributed Fi...
Back to Rings but not Tokens: Physical and Logical Designs for Distributed Fi...
Tokyo University of Science
 
Browser Visualization using PNGs Generated by HTML5 Workers on Multicore
Browser Visualization using PNGs Generated by HTML5 Workers on MulticoreBrowser Visualization using PNGs Generated by HTML5 Workers on Multicore
Browser Visualization using PNGs Generated by HTML5 Workers on Multicore
Tokyo University of Science
 
Population Management in Clouds is a Do-It-Yourself Technology
Population Management in Clouds is a Do-It-Yourself TechnologyPopulation Management in Clouds is a Do-It-Yourself Technology
Population Management in Clouds is a Do-It-Yourself Technology
Tokyo University of Science
 
Irregularity Countermeasures in Massively Parallel BigData Processors
Irregularity Countermeasures in Massively Parallel BigData ProcessorsIrregularity Countermeasures in Massively Parallel BigData Processors
Irregularity Countermeasures in Massively Parallel BigData Processors
Tokyo University of Science
 
A Method for Dynamic Packing of Data Blocks for Over-the-Network Indexing
A Method for Dynamic Packing of Data Blocks for Over-the-Network IndexingA Method for Dynamic Packing of Data Blocks for Over-the-Network Indexing
A Method for Dynamic Packing of Data Blocks for Over-the-Network Indexing
Tokyo University of Science
 
The All-In-One Package for Massively Multicore, Heterogeneous Jobs with Hotsp...
The All-In-One Package for Massively Multicore, Heterogeneous Jobs with Hotsp...The All-In-One Package for Massively Multicore, Heterogeneous Jobs with Hotsp...
The All-In-One Package for Massively Multicore, Heterogeneous Jobs with Hotsp...
Tokyo University of Science
 

More from Tokyo University of Science (20)

A Method for Cloud-Assisted Secure Wireless Grouping of Client Devices at Net...
A Method for Cloud-Assisted Secure Wireless Grouping of Client Devices at Net...A Method for Cloud-Assisted Secure Wireless Grouping of Client Devices at Net...
A Method for Cloud-Assisted Secure Wireless Grouping of Client Devices at Net...
 
Ultrasound Relative Positioning for IoT Devices in Dense Wireless Spaces
Ultrasound Relative Positioning for IoT Devices in Dense Wireless SpacesUltrasound Relative Positioning for IoT Devices in Dense Wireless Spaces
Ultrasound Relative Positioning for IoT Devices in Dense Wireless Spaces
 
Towards a Packet Traffic Genome Project as a Method for Realtime Sub-Flow Tra...
Towards a Packet Traffic Genome Project as a Method for Realtime Sub-Flow Tra...Towards a Packet Traffic Genome Project as a Method for Realtime Sub-Flow Tra...
Towards a Packet Traffic Genome Project as a Method for Realtime Sub-Flow Tra...
 
What if We Atomize Student Data and Apps and Put Them on Docker Containers?
What if We Atomize Student Data and Apps and Put Them on Docker Containers?What if We Atomize Student Data and Apps and Put Them on Docker Containers?
What if We Atomize Student Data and Apps and Put Them on Docker Containers?
 
Large-Scale Crowdsourcing by Vehicular Data Packets in a Sparse Roadside Infr...
Large-Scale Crowdsourcing by Vehicular Data Packets in a Sparse Roadside Infr...Large-Scale Crowdsourcing by Vehicular Data Packets in a Sparse Roadside Infr...
Large-Scale Crowdsourcing by Vehicular Data Packets in a Sparse Roadside Infr...
 
On Performance Under Hotspots in Hadoop versus Bigdata Replay Platforms
On Performance Under Hotspots in Hadoop versus Bigdata Replay PlatformsOn Performance Under Hotspots in Hadoop versus Bigdata Replay Platforms
On Performance Under Hotspots in Hadoop versus Bigdata Replay Platforms
 
Taking the Step from Software to Product Development \\ when teaching PBL at ...
Taking the Step from Software to Product Development \\ when teaching PBL at ...Taking the Step from Software to Product Development \\ when teaching PBL at ...
Taking the Step from Software to Product Development \\ when teaching PBL at ...
 
Design and Implementation of a 3-Party Cloud-Backed Handshake for Secure Grou...
Design and Implementation of a 3-Party Cloud-Backed Handshake for Secure Grou...Design and Implementation of a 3-Party Cloud-Backed Handshake for Secure Grou...
Design and Implementation of a 3-Party Cloud-Backed Handshake for Secure Grou...
 
The Switchboard Optimization Problem and Heuristics for Cut-Through Networking
The Switchboard Optimization Problem and Heuristics for Cut-Through NetworkingThe Switchboard Optimization Problem and Heuristics for Cut-Through Networking
The Switchboard Optimization Problem and Heuristics for Cut-Through Networking
 
The Switchboard Traffic Engineering Problem for Mixed Contention/Cut-Through ...
The Switchboard Traffic Engineering Problem for Mixed Contention/Cut-Through ...The Switchboard Traffic Engineering Problem for Mixed Contention/Cut-Through ...
The Switchboard Traffic Engineering Problem for Mixed Contention/Cut-Through ...
 
Bulk-n-Pick Method for One-to-Many Data Transfer in Dense Wireless Spaces
Bulk-n-Pick Method for One-to-Many Data Transfer in Dense Wireless SpacesBulk-n-Pick Method for One-to-Many Data Transfer in Dense Wireless Spaces
Bulk-n-Pick Method for One-to-Many Data Transfer in Dense Wireless Spaces
 
Image-Related Uses for Roadside Infrastructure \\ based on Wireless Beacons
Image-Related Uses for Roadside Infrastructure \\ based on Wireless BeaconsImage-Related Uses for Roadside Infrastructure \\ based on Wireless Beacons
Image-Related Uses for Roadside Infrastructure \\ based on Wireless Beacons
 
Complexity Resolution Control for Context Based on Metromaps
Complexity Resolution Control for Context Based on MetromapsComplexity Resolution Control for Context Based on Metromaps
Complexity Resolution Control for Context Based on Metromaps
 
Towards Social Robotics on Smartphones with Simple XYZV Sensor Feedback
Towards Social Robotics on Smartphones with Simple XYZV Sensor FeedbackTowards Social Robotics on Smartphones with Simple XYZV Sensor Feedback
Towards Social Robotics on Smartphones with Simple XYZV Sensor Feedback
 
Back to Rings but not Tokens: Physical and Logical Designs for Distributed Fi...
Back to Rings but not Tokens: Physical and Logical Designs for Distributed Fi...Back to Rings but not Tokens: Physical and Logical Designs for Distributed Fi...
Back to Rings but not Tokens: Physical and Logical Designs for Distributed Fi...
 
Browser Visualization using PNGs Generated by HTML5 Workers on Multicore
Browser Visualization using PNGs Generated by HTML5 Workers on MulticoreBrowser Visualization using PNGs Generated by HTML5 Workers on Multicore
Browser Visualization using PNGs Generated by HTML5 Workers on Multicore
 
Population Management in Clouds is a Do-It-Yourself Technology
Population Management in Clouds is a Do-It-Yourself TechnologyPopulation Management in Clouds is a Do-It-Yourself Technology
Population Management in Clouds is a Do-It-Yourself Technology
 
Irregularity Countermeasures in Massively Parallel BigData Processors
Irregularity Countermeasures in Massively Parallel BigData ProcessorsIrregularity Countermeasures in Massively Parallel BigData Processors
Irregularity Countermeasures in Massively Parallel BigData Processors
 
A Method for Dynamic Packing of Data Blocks for Over-the-Network Indexing
A Method for Dynamic Packing of Data Blocks for Over-the-Network IndexingA Method for Dynamic Packing of Data Blocks for Over-the-Network Indexing
A Method for Dynamic Packing of Data Blocks for Over-the-Network Indexing
 
The All-In-One Package for Massively Multicore, Heterogeneous Jobs with Hotsp...
The All-In-One Package for Massively Multicore, Heterogeneous Jobs with Hotsp...The All-In-One Package for Massively Multicore, Heterogeneous Jobs with Hotsp...
The All-In-One Package for Massively Multicore, Heterogeneous Jobs with Hotsp...
 

Recently uploaded

PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 

Recently uploaded (20)

PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 

3-Way Scripts as a Base Unit for Flexible Scale-Out Code

  • 2. Things You Might've Noticed • most coding today is done in scripting languages -- php, python, ruby, .... • DiY deploy is becoming more common than platforms -- Docker deploy via filesystem diffs • smartphone-centric coding is already a reality and reaches further into IoT, IoV, etc. • .... a demo? M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 2/20 2/20
  • 3. 3-Way Scripts function callme (…) … Class NAME Other code, Manager CLI mode $a = new NAME() $a ->callme (); HTTP mode $a = new NAME() echo toJSON ( $a ->callme ()); OperatorRemote code Use in Object mode 01 M.Zhanikeev "Github Public Repository for the 3-Way Scripting Project" https://github.com/maratishe/3wayscripting (current) M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 3/20 3/20
  • 4. The Need (also for Speed) • 2 ways wanted 06 詳細 : high-thru local vs low-thru remote calls to A A B C Many Many HTTP REQ HTTP REP (small data) new, call CLI High volume Big Data Manager 06 M.Zhanikeev "Streaming Algorithms for Big Data Processing on Multicore" CRC (2015) M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 4/20 4/20
  • 5. Objectives 1. heterogeneity ◦ in clouds known as federated and fog clouds 03 ◦ in coding, ambient 18 and p2p networking between instances/agents 15 ◦ ultimately VNE 詳細 for distributed software agents 2. volatility ◦ again, fog clouds 03 ambient programming 18 ◦ hierarchical structures -- like Fractal 14 3. autonomy ◦ not much in programming but more actively discussed in clouds, network management, etc. 09 ◦ distant goal is Truly Autonomous 詳細 03 M.Zhanikeev "A Cloud Visitation Platform to Facilitate Cloud Federation and Fog Computing" IEEE Computer (2015) 18 J.Dedecker+4 "Ambient-Oriented Programming in AmbientTalk" 20th ECOOP (2006) 15 M.Albano+2 "Hierarchical P2P Overlays for DVE: An Additively Weighted Voronoi Based Approach" ICUMT (2009) 14 F.Baude+2 "From Distributed Objects to Hierarchical Grid Components" CoopIS, DOA, and ODBASE, Springer LNCS (2003) 09 M.Zhanikeev "Population Management in Clouds is a Do-It-Yourself Technology" IETF94/NMRG (2015) M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 5/20 5/20
  • 6. Theory of Distributed Computing A Platform Platform Bc C Run A. CORBA model A B B. Current (traditional) Model Platform C. Distributed Code (proposed) A Platform Platform B C Run 3-way code Distribution borders (network, etc.) Code (objects, scripts) Data, messages Runtime Invocation routes XYZ • CORBA used to stringify and send objects • modern platforms mostly send data • 3-way code is unique ◦ platformless ◦ autonomous ◦ volatility OK = adaptible ◦ ... M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 6/20 6/20
  • 7. Class/Function Call-by-Variable • most scripting languages (PHP) allow for some nifty referencing techniques • key to using the same code in 3+ ways $a = new NAME(); $b = ‘callme’; $a->$b( $param, $defaultparam = 10); M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 7/20 7/20
  • 8. Basic Security for Web API AB Many Many REQ( md5p , …) Make secure Operator, Manager mp5p mp5 (file) Attacker Manager M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 8/20 8/20
  • 9. More Specific on MD5 Keys BA Each Each REQ( key , …) keyfile Operator/ automation (once)c web.php make() verify same dir. Attacker Manager (key exchange) M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 9/20 9/20
  • 10. web.php key management • see source code at 01 • key made by make() is mapped to tag, then to place • load() is internal, used for de-mapping from place/tag make( $libdir,$stuff,$length=10){ // returns $key tag( $key,$tag,$cldir=‘.’){ // outgoing place( $name,$iport,$tag,$cldir=‘.’){ // outgoing private load( $place,$tag,$cldir=‘.’){ // outgoing 01 M.Zhanikeev "Github Public Repository for the 3-Way Scripting Project" https://github.com/maratishe/3wayscripting (current) M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 10/20 10/20
  • 11. web.php mid-way interface • remote calls can be reduced to remote procedure and RESTful calls • rrun() : communicate to remote web.php and have it run something on local commandline • rcall() : send a RESTful REQ directly to place and return results as JSON server( $port) { // use own IP rrun( $place,...) { // $place maps to $tag, then $key rcall( $place,...) { M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 11/20 11/20
  • 12. web.php mid-way interface (2) A Each Each REQ( key , …) C keyfile Operator/ automation b make() Attacker D keyfile E keyfile keyfile (global) M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 12/20 12/20
  • 13. Wrapup : Feature Comparison • note the learning curve -- very important for modern programming and edge boxes 詳細 • traffic efficiency 詳細 is not mentioned, but is part of current/future work 02 • destined for wireless fog boxes which need platformless agents 詳細 (Web) Sockets RESTful calls Hierarchical structure Heterogeneous environments Learning curve (simplicity) Needs a platform? Traffic encoding optional? Traditional (Corba, ESB, MPI,…) YES NO NO NO NO YES NO Advanced/modern (SOC, Ibis, …) YES YES YES YES NO YES NO Distributed code (proposed) YES YES YES YES YES NO YES 02 M.Zhanikeev "DiffHub: An Efficient Cloud Sync Technology based on Binary Diffs" IPSJ JIP (2015) M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 13/20 13/20
  • 14. That’s all, thank you ... M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 14/20 14/20
  • 15. Application: Hadoop Interface Hadoop Agent ... is software that runs locally as an agent of the remote client Storage Node (shard) Time-Aware Sub-Store(s) Manager Client Machine Client Your Sketcher You Start Use Schedule Multicore Replay Replay Node many • Hadoop interface is very intensive, cannot be done remotely • there are also alternatives to Hadoop 06 • one of applications for 3-way scripts 戻る 06 M.Zhanikeev "Streaming Algorithms for Big Data Processing on Multicore" CRC (2015) M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 15/20 15/20
  • 16. VNE: Virtual Network Embedding VNE ... is the best way to formulate optimization of multiple overlayed virtual (service) networks Physical layer Virtual Layer1 VN Request 2 Make VN 3 VN Reply 4 Virtual Virtual Physical • still active area of research, good heuristics wanted 07 • best for service networks in clouds 戻る 07 M.Zhanikeev "A New VNE Method for More Responsive Networking in Many-to-Many Groups" 7th ICUFN (2015) M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 16/20 16/20
  • 17. Truly Autonomous Agents True Autonomy ... is alternative to VNE in that optimization is done autonomously at service side Network Provider s (NOC) Agent Service Traditional agents True Autonomy • part of current standards discussion on future network management 09 • traditional: NOC + agents but NOC is interface = bottleneck • true autonomy: agents are open for direct coordination with remove services 戻る 09 09 M.Zhanikeev "Population Management in Clouds is a Do-It-Yourself Technology" IETF94/NMRG (2015) M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 17/20 17/20
  • 18. Wireless Network Edge Reachable Devices ... are boxes that talk to your smartphone using P2P WiFi (WiFi Direct is best today) AP User Internet User Internet WiFi Congestion User Internet 3G Smartphone Device Device Device AP Design WLAN Design Reachable Devices Design AP DeviceWiFi User Internet AP Design (2) Congestion WiFi P2P WiFi Cannot use at the same time Reachable Platform • modern boxes are mostly based on the AP Design -- connectivity problem • even if conenctivity problem is resolved, you have congestion problem • with Reachable Technology, smartphone is the realtime mid-way interface between clouds and devices • link to code: software agent is running at (1) smartphone and (2) the box 戻る M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 18/20 18/20
  • 19. Example Edge Box for 3-Way Scripts • currently trying to build this box based on conventional Xen • LHAP is Local Hardware Awareness Platform 03 • software agents are running at the box, those are Beacons, Wireless Data Hubs, etc. 戻る WiFi Wireless users Wireless AP Physical Device LHAP VM VM Con.Con.Con. Storage Sensors … Beacon WiFi AP WiFi Client P2P WiFi 03 M.Zhanikeev "A Cloud Visitation Platform to Facilitate Cloud Federation and Fog Computing" IEEE Computer (2015) M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 19/20 19/20
  • 20. Binary Diffs and DiffHub Idea Binary Diffs ... are the best way to achieve traffic efficiency in a datatype-indiferent way Cloud Drive User A User B New Old Old Diff Diff Old version New version Binary diff DiffHub • exampe: Docker uses filesystem diffs • recent study: binary diffs are better than filesystem diffs • connection: efficient deploy/ maintain of scale-out code 戻る M.Zhanikeev -- maratishe@gmail.com -- 3-Way Scripts as a Base Unit for Flexible Scale-Out Code -- bit.do/151215 20/20 20/20