SlideShare a Scribd company logo
1 of 50
Download to read offline
Think the Synchronization!

ari (masanari Motohasi)
Institute of Mobile PC Technology
Purpose
●

How many PC or PDA do you have?
–

Office, Home, Mobiles ... any environments...

–

We wish that I had access one Information anywhere.
●

–

the complete networking

However, there are the barriers by cost, security, out of
range...

●

Do you have backup routinely?

●

We need to synchronize the information!
replication system
●

high availability ( 高可用性 )
–

●

redundancy ( 冗長化 ) / ritualized

consistency / concurrency ( 一貫性 )
–

contention ( 衝突回避 )

●

response time / reasonable ( 高性能 )

●

easy to use / manage

●

warm or cold standby
ultimately ubiquitous network
●

インターネットにどんなところからでもアクセス
–
–
–

●

いつでも、どこでも、どんな方法でも
分散されていて、もっとも正規化が進む
情報の同期は考えなくていいのでは?

しかし、ネットワーク的につながっている必要がある
–
–
–

セキュリティとプライバシは大丈夫?
同じセグメントかファイアウォールを抜く必要
コスト、圏外、公衆電話?
Viewpoints
●

like network layers (vertical)
–

●

physical/hardware to applications/software

Transparency or not (horizontal).
–

normalized and distributed

–

“use caches” have the contended problem.

–

“make copies (backups)” have a lag time.

–

recovery time is very important
●
●

clear the “contention problem”.
hot or cold standby?
Application/Software

Directions
dump/load
database

web [page/service]
grid/(mobile) agent
telnet
[process/object] remote display
groupware / mail
[communication]
Version Controls[file]

file sync. (rsync/ftpsync)

backup [file]
(Tape etc)
[unit]

Database
[transaction]
Transparency

remote access
inet (VPN / SSH)
P2P
dial up [any]
mobile PC/PDA [any]
SAN / NAS /
SAN
Removable Media Internet Disk
(snapshot)
HDD/CF/SD..[file]
RAID 1|5
Physical/Hardware
Applications / Software
Web pages and services
●

●

one of the most distributed and normalized
solution with the Internet
standard in the world
–
–

●

“standard” HTML / XML / SOAP etc
very reasonable

with secure
–

SSL (server|client certification, encryption)

–

and the other

–

only good design (^_^;
Web pages – Just Try It!
●

say nothing, because everybody knows (^ ^;)
Web Services – Just Try It!
●

SOAP / XML on HTTP
–

Apache SOAP (Java), Microsoft SOAP toolkit, SOAP
module(Perl)

–

connect to the other world.
●

●
●

Internet Applications (100% pure Java) and legacy systems
(Microsoft COM (ASP / VB / C)).
“Alive Check” system for an services (SOAP).
B2B applications (XML on HTTP POST)
SOAP

Microsoft COM

J2EE

SOAP
(HTTP+VPN)

B2B
another sites
Remote Console, Remote Display
●

Remote Console
–

●

telnet (mainly UNIX)

Remote Display / Desktop
–

VNC (Virtual Network Computing) *
●

–

pcAnywhere *
●

–

Windows only

X
●

–

Windows and Unix

mainly UNIX

Terminal Server (Windows)
Remote Console, Just Try It
●

telnet and telnetd (Unix)

●

Services for Unix (Windows) 29,800yen
–

functions
●
●
●

–

telnet daemon (password sync Windows to Unix)
server/client/gateway for NFS
server for NIS

for developers
●

all developers telnet, compile and test the applications
Remote Display, Just Try It
●

VNC (Virtual Network Computing)
–
–

●

for developers and tests only
check the security

pcAnywhere
–

control and administer to the servers on the branches
●

●

for security patch and maintenance

terminal service (Windows 2000)
–

another profiles
Groupware / Mail
●

communication!
–

●

from mails to workflow systems

Internet Mail System (on SMTP/POP3/IMAP etc)
–
–

●

very simple protocol
MIME

Exchange / Notes
–

has replication options

–

share files, meeting agents, but depend on the special
platform
Internet Mail, Just Try It!
●

Everybody knows in many OS and devices
–
–

●

Windows, Macintosh, UNIX, PDA, Phones, JRE...
devices and nodes

for the synchronized files
–

send the attached mail oneself. (MIME)

–

it's not useful (not seamless and automatically)
●

–

see “mailtrek” ...

however the firewall problem is clear! (with encrypt)
●

check the contents and words
Groupware, Just Try It
●

Microsoft Exchange
–

●

only Microsoft world( ?NET technology)

Louts Notes / Domino
–
–

●

closed technology and culture (not open).
the Intranet and workflow systems

have rich functions
–

●

mail system, scheduler, address books, public files,
databases, replications

depend on one company ... risk!
Database Management System
●

to be one of most normalized
–

●

keep isolation by “transaction”

SQL is the standard in the world
–

Oracle, Sybase ASE, Postage SQL, MS SQL...

●

but mainly use in the LAN.

●

2 phase commit

●

replication server
–

transaction base.
Database, Just Try It
●

Sybase Adaptive Server Enterprise 11.0 – 12.5 *

●

Oracle8i *

●

Microsoft SQL Server *

●

My SQL

●

PostgreSQL
replication – mirroring
●

write the many devices as same time
applications / users
read/write
controller

controller
WAN?

databases / devices / repositories(?)
replication – copy/ snapshot
●

write the transaction to the primary
–

copy / snapshot to the secondary (only one way)

read / write
copy
dump
snapshot
replication - data trigger
●

the trigger
–

one way

–

performance overhead

–

very complexly

–

rollback is not easy

read/write

! data updated
write
replications – stored & forward

difference
dump transaction

queue, DB, file, transaction log
2 phase commit
●

2 phase commit protocol is not redundant
–

just distributed

are you ready?

yes

yes

NO
replications – bi-directions
site A

site B

site A

site B

read/write

read/write

read/write

read/write

!
contention
read only

read only
make the contentions
●

when two or more “persons” update one
information as same time.
–

objects(Beans), file, transaction, page, law...
time

A
B

?

update

open

open

update!
contention – lock
●

blocking oriented
–

DBM, File Systems

–

use the wait queue

–

deadlock
lock

B (lock waits)

update

open
update

wait

open

A

time

B
contention Optimistic Concurrency Control
●

restart oriented
–

CVS, H/A EJB

time
update

re-open

B

×

update

open

open

A

B
Version Controls
●

not only “source” but “documents”

●

CVS [Concurrent Versions System]
–
–

shell (command prompt) and GUI

–

over HTTP, FTP, MAIL.

–

ported to any OS, but mainly in UNIX

–
●

optimistic concurrency control method

controlling my documents.

Microsoft Visual SourceSafe
–

for developers
File sync / replications
●

rsync

●

Microsoft Products
–

Briefcase (Windows 95 -) *

–

Replication Service (Windows NT)

–

Offline File Synchronization (Windows 2000 -)

–

Microsoft ActiveSync *
●

●

Desktop PC – Pocket PC (serial / infrared)

another products
rsync, Just Try It!
●

rsync on NT (run as services)
–

●

easy?

rsync algorithm
–

low-bandwidth high-latency bi-directional
communications

–

great

–

maybe not secure, not use in the naked Internet...
Microsoft Briefcase, Just Try It
●

Briefcase
–

–

ブリーフケースは直接ケーブル接続またはリムーバブル ディ
スクを使用してコンピュータ間のファイル転送を頻繁に行う
場合に最適なツールです。ブリーフケースを使用して、メイ
ンコンピュータ上のファイルと他のコンピュータ上で変更した
ファイルを同期させることができます。複数のブリーフケース
を作成してファイルを整理することができます
easy to use, but performance is no good (many files
with Gateway2000 Handbook).
Microsoft Offline Files
●

●

オフラインファイルはネットワーク上の共有ファイルを操
作するのに最適なツールです。オフライン ファイルを
使用すると、ネットワークに接続していないときに変
更した共有ファイルを次にネットワークに接続したとき
に同期させることができます。
使ったことがある方、どんな感じでしょう?
Microsoft Directory Replication
Service
●

“Windows NT Core Technology” で知りましたが、
実際の運用で使用したことはありません。
–

使ったことがある方、どんな感じでしょう?
Microsoft ActiveSync, Just Try It
–

Desktop PC – Pocket PC (serial / infrared)

–

Outlook data (mails, schedules, tasks, addresses...) and
files

–

easy to use
●

but I am used to erased all data by miss operations.
ftptrek / mailtrek, Just Try It!
●

ftptrek (Java)
–

synchronize with the data
●
●
●

faster than Windows(SMB) copy
check the size and hash of the file
support the zipped, parallel and serial copies

–
–
●

synchronize with database transaction
distribute over the program file updated

mailtrek (Java)
–

SOAP on SMTP/POP3/IMAP? HTTP on MIME?

–

Sorry, under construction
Physical / Hardware
Remote Access
●

very basic technology (PPP, SLIP...)
–
–

●

dial-up to the node (ex. office or home)
via Internet access

the any services on PPP
–

wired and seamless!
Remote Access (Internet)
●

same as dial-up, but NOT secure

●

SSH / VPN
–

need: the secure server on the Internet

–

need: Global IP, Static IP or Dynamic DNS

–

need: keep the security and the privacy
●
●

–

ex. Many site that has old version OpenSSH is attacked.
ex. Do dial-up users need to open the port 23(telnet) for the
Internet?

SoftEther Virtual Ethernet System
●

ex. Ethernet on the HTTPS and SSH
VPN, Just Do It
●

IPsec (commercial)
–
–

●

CISCO VPN 3005
connected to another site

IPsec (private)
–

under construction

–

with FTTH (B-flets, NTT)

–

share the files, administrate the server
SoftEther Vitual Ethernet System
●

SoftEther Virtual Ethernet System
●
●
●

Ethernet on the HTTPS and SSH
Able to pass through the firewall
Take care for use.
mobile PC / PDA
●
●
●

皆さん、いろいろな使い方を教えてください!
notebook PC
PDA
Storages
●

SAN (Storage Area Networks)
–

fast/virtual Access (Fiber Channel)

–

snapshot make the backup in a second

●

Network Attached Storages

●

Internet Disk
–

use the Virtual Disk on the Internet Servers
SAN, Just Try It
●

databases and file servers
–

●

critical missions

snapshots is great
–

fast access (fiber channel and huge cache)

–

the backups and recoveries are in a second.

–

but the recoveries need the time
●

full backup a day, and “loading transactions” are needed.
NAS (at home), try it
●

HD-HLAN, Buffalo (Link Station)
–

change from the file server to HLAN (NAS)

–

low power, small size and silent

–

schedule backups the file a day via “rsync”

Godzilla
file server
RAID 5
20GB
(4G×6)

HLAN
no redundancy
160GB
Internet Hard Disk, Just Try It
●

accessible to the disk like a drive

●

test the “MYDISK” service of rimnet.
–

like the disk drive on the Windows
●
●
●

–

no accessible through our firewall
●

–

web accessible
100MB, free
show demo...
need the authentication to proxy

stable?
Removable Devices
●

HDD, Flash Memory(CF/SD)...
–

use as primary devices and backups

–

has the risks
●
●

●

if lost (stop the job?)
if stolen (get out the information?)

encryption
–

Encrypting File System (EFS) on windows 2000
●

–

over NTFS 5.0

PGPdisk
RAID 1 or 5
●

HDD is one of the most fragile parts
–

redundancy the HDD
Backup, Just Do It
●

Tape
–
–

serial access

–
●

Just standard, but very expensive for personal user
DLT / DLT / LTO...

HDD
–

Random access

–

I use the bus-powered 2.5inch HDD with rsync (at
home)
Enterprise Disaster Recover Site,
Just Do It
●

for Business Continuity Planning (BCP)
–

●

Reduce the risk! plug off?

redundant the anything
–
–

Wires, networks (include Internet) and servers

–
●

Database synchronized by ftptrek
humans and business processes

warm standby
–

if “the incident” is happened, switch in a minute.
Thank you!

More Related Content

What's hot

Linux Kernel and Driver Development Training
Linux Kernel and Driver Development TrainingLinux Kernel and Driver Development Training
Linux Kernel and Driver Development TrainingStephan Cadene
 
BUD17-510: Power management in Linux together with secure firmware
BUD17-510: Power management in Linux together with secure firmwareBUD17-510: Power management in Linux together with secure firmware
BUD17-510: Power management in Linux together with secure firmwareLinaro
 
Linuxconeurope2011.ext4btrfs.talk
Linuxconeurope2011.ext4btrfs.talkLinuxconeurope2011.ext4btrfs.talk
Linuxconeurope2011.ext4btrfs.talkUdo Seidel
 
Embedded Linux Basics
Embedded Linux BasicsEmbedded Linux Basics
Embedded Linux BasicsMarc Leeman
 
Linux device driver
Linux device driverLinux device driver
Linux device driverchatsiri
 
Introduction to Embedded Linux
Introduction to Embedded LinuxIntroduction to Embedded Linux
Introduction to Embedded LinuxHossain Reja
 
Unix shell programming intro-part-1
Unix shell programming intro-part-1Unix shell programming intro-part-1
Unix shell programming intro-part-1Prachi Sasankar
 
Unix Internals OS Architecture
Unix Internals OS ArchitectureUnix Internals OS Architecture
Unix Internals OS ArchitectureKhader Shaik
 
Valerio Di Giampietro - Introduction To IoT Reverse Engineering with an examp...
Valerio Di Giampietro - Introduction To IoT Reverse Engineering with an examp...Valerio Di Giampietro - Introduction To IoT Reverse Engineering with an examp...
Valerio Di Giampietro - Introduction To IoT Reverse Engineering with an examp...linuxlab_conf
 
Linux kernel architecture
Linux kernel architectureLinux kernel architecture
Linux kernel architectureSHAJANA BASHEER
 
Embedded linux system development (slides)
Embedded linux system development (slides)Embedded linux system development (slides)
Embedded linux system development (slides)Jaime Barragan
 
Linux [2005]
Linux [2005]Linux [2005]
Linux [2005]Raul Soto
 
Module 4 Embedded Linux
Module 4 Embedded LinuxModule 4 Embedded Linux
Module 4 Embedded LinuxTushar B Kute
 

What's hot (20)

Linux Kernel and Driver Development Training
Linux Kernel and Driver Development TrainingLinux Kernel and Driver Development Training
Linux Kernel and Driver Development Training
 
Linux Internals - Part I
Linux Internals - Part ILinux Internals - Part I
Linux Internals - Part I
 
BUD17-510: Power management in Linux together with secure firmware
BUD17-510: Power management in Linux together with secure firmwareBUD17-510: Power management in Linux together with secure firmware
BUD17-510: Power management in Linux together with secure firmware
 
Linuxconeurope2011.ext4btrfs.talk
Linuxconeurope2011.ext4btrfs.talkLinuxconeurope2011.ext4btrfs.talk
Linuxconeurope2011.ext4btrfs.talk
 
Embedded Android : System Development - Part II (Linux device drivers)
Embedded Android : System Development - Part II (Linux device drivers)Embedded Android : System Development - Part II (Linux device drivers)
Embedded Android : System Development - Part II (Linux device drivers)
 
Embedded Linux Basics
Embedded Linux BasicsEmbedded Linux Basics
Embedded Linux Basics
 
Device Drivers
Device DriversDevice Drivers
Device Drivers
 
Linux device driver
Linux device driverLinux device driver
Linux device driver
 
Introduction to Embedded Linux
Introduction to Embedded LinuxIntroduction to Embedded Linux
Introduction to Embedded Linux
 
Unix shell programming intro-part-1
Unix shell programming intro-part-1Unix shell programming intro-part-1
Unix shell programming intro-part-1
 
Linux device drivers
Linux device drivers Linux device drivers
Linux device drivers
 
BusyBox for Embedded Linux
BusyBox for Embedded LinuxBusyBox for Embedded Linux
BusyBox for Embedded Linux
 
Unix Internals OS Architecture
Unix Internals OS ArchitectureUnix Internals OS Architecture
Unix Internals OS Architecture
 
Valerio Di Giampietro - Introduction To IoT Reverse Engineering with an examp...
Valerio Di Giampietro - Introduction To IoT Reverse Engineering with an examp...Valerio Di Giampietro - Introduction To IoT Reverse Engineering with an examp...
Valerio Di Giampietro - Introduction To IoT Reverse Engineering with an examp...
 
U-Boot - An universal bootloader
U-Boot - An universal bootloader U-Boot - An universal bootloader
U-Boot - An universal bootloader
 
Linux kernel architecture
Linux kernel architectureLinux kernel architecture
Linux kernel architecture
 
Embedded linux system development (slides)
Embedded linux system development (slides)Embedded linux system development (slides)
Embedded linux system development (slides)
 
Linux [2005]
Linux [2005]Linux [2005]
Linux [2005]
 
Module 4 Embedded Linux
Module 4 Embedded LinuxModule 4 Embedded Linux
Module 4 Embedded Linux
 
Basic Linux Internals
Basic Linux InternalsBasic Linux Internals
Basic Linux Internals
 

Similar to Think sync (July 20, 2003) 同期を考えよう

Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linuxplarsen67
 
Operating System's Concept, Working, Types, Part, and Many More
Operating System's Concept, Working, Types, Part, and Many MoreOperating System's Concept, Working, Types, Part, and Many More
Operating System's Concept, Working, Types, Part, and Many MoreRobin Thakur
 
Share File easily between computers using sftp
Share File easily between computers using sftpShare File easily between computers using sftp
Share File easily between computers using sftpTushar B Kute
 
Bsc cs 1 fit u-3 operating systems
Bsc cs 1 fit u-3 operating systemsBsc cs 1 fit u-3 operating systems
Bsc cs 1 fit u-3 operating systemsRai University
 
Bsc cs 1 fit u-3 operating systems
Bsc cs 1 fit u-3 operating systemsBsc cs 1 fit u-3 operating systems
Bsc cs 1 fit u-3 operating systemsRai University
 
OSMC 2008 | Monitoring Tools Shootout by Tom De Cooman
OSMC 2008 | Monitoring Tools Shootout by Tom De CoomanOSMC 2008 | Monitoring Tools Shootout by Tom De Cooman
OSMC 2008 | Monitoring Tools Shootout by Tom De CoomanNETWAYS
 
Introduction to Networking | Linux-Unix and System Administration | Docker an...
Introduction to Networking | Linux-Unix and System Administration | Docker an...Introduction to Networking | Linux-Unix and System Administration | Docker an...
Introduction to Networking | Linux-Unix and System Administration | Docker an...andega
 
Bca i-fundamental of computer-u-3-functions operating systems
Bca  i-fundamental of  computer-u-3-functions operating systemsBca  i-fundamental of  computer-u-3-functions operating systems
Bca i-fundamental of computer-u-3-functions operating systemsRai University
 
Linux 开源操作系统发展新趋势
Linux 开源操作系统发展新趋势Linux 开源操作系统发展新趋势
Linux 开源操作系统发展新趋势Anthony Wong
 
Mca i-fundamental of computer-u-3-functions operating systems
Mca  i-fundamental of  computer-u-3-functions operating systemsMca  i-fundamental of  computer-u-3-functions operating systems
Mca i-fundamental of computer-u-3-functions operating systemsRai University
 
Open source monitoring systems
Open source monitoring systemsOpen source monitoring systems
Open source monitoring systemsForthscale
 
Linux Performance Tunning Kernel
Linux Performance Tunning KernelLinux Performance Tunning Kernel
Linux Performance Tunning KernelShay Cohen
 

Similar to Think sync (July 20, 2003) 同期を考えよう (20)

Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linux
 
Linux para iniciantes
Linux para iniciantesLinux para iniciantes
Linux para iniciantes
 
Intro to operating_system
Intro to operating_systemIntro to operating_system
Intro to operating_system
 
An Introduction To Linux
An Introduction To LinuxAn Introduction To Linux
An Introduction To Linux
 
Operating System's Concept, Working, Types, Part, and Many More
Operating System's Concept, Working, Types, Part, and Many MoreOperating System's Concept, Working, Types, Part, and Many More
Operating System's Concept, Working, Types, Part, and Many More
 
Share File easily between computers using sftp
Share File easily between computers using sftpShare File easily between computers using sftp
Share File easily between computers using sftp
 
Advanced_OS_Unit 1 & 2.ppt
Advanced_OS_Unit 1 & 2.pptAdvanced_OS_Unit 1 & 2.ppt
Advanced_OS_Unit 1 & 2.ppt
 
Infrastructure Security
Infrastructure SecurityInfrastructure Security
Infrastructure Security
 
MOE Ubuntu Desktop training
MOE Ubuntu Desktop trainingMOE Ubuntu Desktop training
MOE Ubuntu Desktop training
 
Bsc cs 1 fit u-3 operating systems
Bsc cs 1 fit u-3 operating systemsBsc cs 1 fit u-3 operating systems
Bsc cs 1 fit u-3 operating systems
 
Bsc cs 1 fit u-3 operating systems
Bsc cs 1 fit u-3 operating systemsBsc cs 1 fit u-3 operating systems
Bsc cs 1 fit u-3 operating systems
 
OSMC 2008 | Monitoring Tools Shootout by Tom De Cooman
OSMC 2008 | Monitoring Tools Shootout by Tom De CoomanOSMC 2008 | Monitoring Tools Shootout by Tom De Cooman
OSMC 2008 | Monitoring Tools Shootout by Tom De Cooman
 
Introduction to Networking | Linux-Unix and System Administration | Docker an...
Introduction to Networking | Linux-Unix and System Administration | Docker an...Introduction to Networking | Linux-Unix and System Administration | Docker an...
Introduction to Networking | Linux-Unix and System Administration | Docker an...
 
Bca i-fundamental of computer-u-3-functions operating systems
Bca  i-fundamental of  computer-u-3-functions operating systemsBca  i-fundamental of  computer-u-3-functions operating systems
Bca i-fundamental of computer-u-3-functions operating systems
 
Linux 开源操作系统发展新趋势
Linux 开源操作系统发展新趋势Linux 开源操作系统发展新趋势
Linux 开源操作系统发展新趋势
 
Mca i-fundamental of computer-u-3-functions operating systems
Mca  i-fundamental of  computer-u-3-functions operating systemsMca  i-fundamental of  computer-u-3-functions operating systems
Mca i-fundamental of computer-u-3-functions operating systems
 
Ch3 processes
Ch3   processesCh3   processes
Ch3 processes
 
Open source monitoring systems
Open source monitoring systemsOpen source monitoring systems
Open source monitoring systems
 
Unit 2(oss) (1)
Unit 2(oss) (1)Unit 2(oss) (1)
Unit 2(oss) (1)
 
Linux Performance Tunning Kernel
Linux Performance Tunning KernelLinux Performance Tunning Kernel
Linux Performance Tunning Kernel
 

More from Masanari Motohasi

価値創造社会の持続的発展のカギはアジャイルにあり IPA - Agile Japan 2019
価値創造社会の持続的発展のカギはアジャイルにあり IPA - Agile Japan 2019価値創造社会の持続的発展のカギはアジャイルにあり IPA - Agile Japan 2019
価値創造社会の持続的発展のカギはアジャイルにあり IPA - Agile Japan 2019Masanari Motohasi
 
ウォーターフォールを味わう(イテレーションのお話)
ウォーターフォールを味わう(イテレーションのお話)ウォーターフォールを味わう(イテレーションのお話)
ウォーターフォールを味わう(イテレーションのお話)Masanari Motohasi
 
パターンライティングワークショップ AgileJapan 2013
パターンライティングワークショップ AgileJapan 2013パターンライティングワークショップ AgileJapan 2013
パターンライティングワークショップ AgileJapan 2013Masanari Motohasi
 
ぼくたちの現場リファレンス活用ワークショップ
ぼくたちの現場リファレンス活用ワークショップぼくたちの現場リファレンス活用ワークショップ
ぼくたちの現場リファレンス活用ワークショップMasanari Motohasi
 
紙とハサミで遊ぼう。ワークショップ資料
紙とハサミで遊ぼう。ワークショップ資料紙とハサミで遊ぼう。ワークショップ資料
紙とハサミで遊ぼう。ワークショップ資料Masanari Motohasi
 
林栄一様 結婚二次会 LT
林栄一様 結婚二次会 LT林栄一様 結婚二次会 LT
林栄一様 結婚二次会 LTMasanari Motohasi
 
How to design sustainable multi-organizations
How to design sustainable multi-organizationsHow to design sustainable multi-organizations
How to design sustainable multi-organizationsMasanari Motohasi
 
持続可能な事業や組織に向けて / Toward sustainable business and organization
持続可能な事業や組織に向けて / Toward sustainable business and organization持続可能な事業や組織に向けて / Toward sustainable business and organization
持続可能な事業や組織に向けて / Toward sustainable business and organizationMasanari Motohasi
 
パタンランゲージからプロジェクトランゲージへ
パタンランゲージからプロジェクトランゲージへパタンランゲージからプロジェクトランゲージへ
パタンランゲージからプロジェクトランゲージへMasanari Motohasi
 
アレグザンダー建築理念に学ぶアジャイルプロセス
アレグザンダー建築理念に学ぶアジャイルプロセスアレグザンダー建築理念に学ぶアジャイルプロセス
アレグザンダー建築理念に学ぶアジャイルプロセスMasanari Motohasi
 
集合知はどこまでできるか
集合知はどこまでできるか集合知はどこまでできるか
集合知はどこまでできるかMasanari Motohasi
 

More from Masanari Motohasi (13)

価値創造社会の持続的発展のカギはアジャイルにあり IPA - Agile Japan 2019
価値創造社会の持続的発展のカギはアジャイルにあり IPA - Agile Japan 2019価値創造社会の持続的発展のカギはアジャイルにあり IPA - Agile Japan 2019
価値創造社会の持続的発展のカギはアジャイルにあり IPA - Agile Japan 2019
 
ウォーターフォールを味わう(イテレーションのお話)
ウォーターフォールを味わう(イテレーションのお話)ウォーターフォールを味わう(イテレーションのお話)
ウォーターフォールを味わう(イテレーションのお話)
 
パターンライティングワークショップ AgileJapan 2013
パターンライティングワークショップ AgileJapan 2013パターンライティングワークショップ AgileJapan 2013
パターンライティングワークショップ AgileJapan 2013
 
ぼくたちの現場リファレンス活用ワークショップ
ぼくたちの現場リファレンス活用ワークショップぼくたちの現場リファレンス活用ワークショップ
ぼくたちの現場リファレンス活用ワークショップ
 
紙とハサミで遊ぼう。ワークショップ資料
紙とハサミで遊ぼう。ワークショップ資料紙とハサミで遊ぼう。ワークショップ資料
紙とハサミで遊ぼう。ワークショップ資料
 
林栄一様 結婚二次会 LT
林栄一様 結婚二次会 LT林栄一様 結婚二次会 LT
林栄一様 結婚二次会 LT
 
How to design sustainable multi-organizations
How to design sustainable multi-organizationsHow to design sustainable multi-organizations
How to design sustainable multi-organizations
 
持続可能な事業や組織に向けて / Toward sustainable business and organization
持続可能な事業や組織に向けて / Toward sustainable business and organization持続可能な事業や組織に向けて / Toward sustainable business and organization
持続可能な事業や組織に向けて / Toward sustainable business and organization
 
パタンランゲージからプロジェクトランゲージへ
パタンランゲージからプロジェクトランゲージへパタンランゲージからプロジェクトランゲージへ
パタンランゲージからプロジェクトランゲージへ
 
アレグザンダー建築理念に学ぶアジャイルプロセス
アレグザンダー建築理念に学ぶアジャイルプロセスアレグザンダー建築理念に学ぶアジャイルプロセス
アレグザンダー建築理念に学ぶアジャイルプロセス
 
集合知はどこまでできるか
集合知はどこまでできるか集合知はどこまでできるか
集合知はどこまでできるか
 
積読倶楽部
積読倶楽部積読倶楽部
積読倶楽部
 
情報発信のススメ
情報発信のススメ情報発信のススメ
情報発信のススメ
 

Recently uploaded

Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 

Recently uploaded (20)

Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 

Think sync (July 20, 2003) 同期を考えよう

  • 1. Think the Synchronization! ari (masanari Motohasi) Institute of Mobile PC Technology
  • 2. Purpose ● How many PC or PDA do you have? – Office, Home, Mobiles ... any environments... – We wish that I had access one Information anywhere. ● – the complete networking However, there are the barriers by cost, security, out of range... ● Do you have backup routinely? ● We need to synchronize the information!
  • 3. replication system ● high availability ( 高可用性 ) – ● redundancy ( 冗長化 ) / ritualized consistency / concurrency ( 一貫性 ) – contention ( 衝突回避 ) ● response time / reasonable ( 高性能 ) ● easy to use / manage ● warm or cold standby
  • 5. Viewpoints ● like network layers (vertical) – ● physical/hardware to applications/software Transparency or not (horizontal). – normalized and distributed – “use caches” have the contended problem. – “make copies (backups)” have a lag time. – recovery time is very important ● ● clear the “contention problem”. hot or cold standby?
  • 6. Application/Software Directions dump/load database web [page/service] grid/(mobile) agent telnet [process/object] remote display groupware / mail [communication] Version Controls[file] file sync. (rsync/ftpsync) backup [file] (Tape etc) [unit] Database [transaction] Transparency remote access inet (VPN / SSH) P2P dial up [any] mobile PC/PDA [any] SAN / NAS / SAN Removable Media Internet Disk (snapshot) HDD/CF/SD..[file] RAID 1|5 Physical/Hardware
  • 8. Web pages and services ● ● one of the most distributed and normalized solution with the Internet standard in the world – – ● “standard” HTML / XML / SOAP etc very reasonable with secure – SSL (server|client certification, encryption) – and the other – only good design (^_^;
  • 9. Web pages – Just Try It! ● say nothing, because everybody knows (^ ^;)
  • 10. Web Services – Just Try It! ● SOAP / XML on HTTP – Apache SOAP (Java), Microsoft SOAP toolkit, SOAP module(Perl) – connect to the other world. ● ● ● Internet Applications (100% pure Java) and legacy systems (Microsoft COM (ASP / VB / C)). “Alive Check” system for an services (SOAP). B2B applications (XML on HTTP POST) SOAP Microsoft COM J2EE SOAP (HTTP+VPN) B2B another sites
  • 11. Remote Console, Remote Display ● Remote Console – ● telnet (mainly UNIX) Remote Display / Desktop – VNC (Virtual Network Computing) * ● – pcAnywhere * ● – Windows only X ● – Windows and Unix mainly UNIX Terminal Server (Windows)
  • 12. Remote Console, Just Try It ● telnet and telnetd (Unix) ● Services for Unix (Windows) 29,800yen – functions ● ● ● – telnet daemon (password sync Windows to Unix) server/client/gateway for NFS server for NIS for developers ● all developers telnet, compile and test the applications
  • 13. Remote Display, Just Try It ● VNC (Virtual Network Computing) – – ● for developers and tests only check the security pcAnywhere – control and administer to the servers on the branches ● ● for security patch and maintenance terminal service (Windows 2000) – another profiles
  • 14. Groupware / Mail ● communication! – ● from mails to workflow systems Internet Mail System (on SMTP/POP3/IMAP etc) – – ● very simple protocol MIME Exchange / Notes – has replication options – share files, meeting agents, but depend on the special platform
  • 15. Internet Mail, Just Try It! ● Everybody knows in many OS and devices – – ● Windows, Macintosh, UNIX, PDA, Phones, JRE... devices and nodes for the synchronized files – send the attached mail oneself. (MIME) – it's not useful (not seamless and automatically) ● – see “mailtrek” ... however the firewall problem is clear! (with encrypt) ● check the contents and words
  • 16. Groupware, Just Try It ● Microsoft Exchange – ● only Microsoft world( ?NET technology) Louts Notes / Domino – – ● closed technology and culture (not open). the Intranet and workflow systems have rich functions – ● mail system, scheduler, address books, public files, databases, replications depend on one company ... risk!
  • 17. Database Management System ● to be one of most normalized – ● keep isolation by “transaction” SQL is the standard in the world – Oracle, Sybase ASE, Postage SQL, MS SQL... ● but mainly use in the LAN. ● 2 phase commit ● replication server – transaction base.
  • 18. Database, Just Try It ● Sybase Adaptive Server Enterprise 11.0 – 12.5 * ● Oracle8i * ● Microsoft SQL Server * ● My SQL ● PostgreSQL
  • 19. replication – mirroring ● write the many devices as same time applications / users read/write controller controller WAN? databases / devices / repositories(?)
  • 20. replication – copy/ snapshot ● write the transaction to the primary – copy / snapshot to the secondary (only one way) read / write copy dump snapshot
  • 21. replication - data trigger ● the trigger – one way – performance overhead – very complexly – rollback is not easy read/write ! data updated write
  • 22. replications – stored & forward difference dump transaction queue, DB, file, transaction log
  • 23. 2 phase commit ● 2 phase commit protocol is not redundant – just distributed are you ready? yes yes NO
  • 24. replications – bi-directions site A site B site A site B read/write read/write read/write read/write ! contention read only read only
  • 25. make the contentions ● when two or more “persons” update one information as same time. – objects(Beans), file, transaction, page, law... time A B ? update open open update!
  • 26. contention – lock ● blocking oriented – DBM, File Systems – use the wait queue – deadlock lock B (lock waits) update open update wait open A time B
  • 27. contention Optimistic Concurrency Control ● restart oriented – CVS, H/A EJB time update re-open B × update open open A B
  • 28. Version Controls ● not only “source” but “documents” ● CVS [Concurrent Versions System] – – shell (command prompt) and GUI – over HTTP, FTP, MAIL. – ported to any OS, but mainly in UNIX – ● optimistic concurrency control method controlling my documents. Microsoft Visual SourceSafe – for developers
  • 29. File sync / replications ● rsync ● Microsoft Products – Briefcase (Windows 95 -) * – Replication Service (Windows NT) – Offline File Synchronization (Windows 2000 -) – Microsoft ActiveSync * ● ● Desktop PC – Pocket PC (serial / infrared) another products
  • 30. rsync, Just Try It! ● rsync on NT (run as services) – ● easy? rsync algorithm – low-bandwidth high-latency bi-directional communications – great – maybe not secure, not use in the naked Internet...
  • 31. Microsoft Briefcase, Just Try It ● Briefcase – – ブリーフケースは直接ケーブル接続またはリムーバブル ディ スクを使用してコンピュータ間のファイル転送を頻繁に行う 場合に最適なツールです。ブリーフケースを使用して、メイ ンコンピュータ上のファイルと他のコンピュータ上で変更した ファイルを同期させることができます。複数のブリーフケース を作成してファイルを整理することができます easy to use, but performance is no good (many files with Gateway2000 Handbook).
  • 32. Microsoft Offline Files ● ● オフラインファイルはネットワーク上の共有ファイルを操 作するのに最適なツールです。オフライン ファイルを 使用すると、ネットワークに接続していないときに変 更した共有ファイルを次にネットワークに接続したとき に同期させることができます。 使ったことがある方、どんな感じでしょう?
  • 33. Microsoft Directory Replication Service ● “Windows NT Core Technology” で知りましたが、 実際の運用で使用したことはありません。 – 使ったことがある方、どんな感じでしょう?
  • 34. Microsoft ActiveSync, Just Try It – Desktop PC – Pocket PC (serial / infrared) – Outlook data (mails, schedules, tasks, addresses...) and files – easy to use ● but I am used to erased all data by miss operations.
  • 35. ftptrek / mailtrek, Just Try It! ● ftptrek (Java) – synchronize with the data ● ● ● faster than Windows(SMB) copy check the size and hash of the file support the zipped, parallel and serial copies – – ● synchronize with database transaction distribute over the program file updated mailtrek (Java) – SOAP on SMTP/POP3/IMAP? HTTP on MIME? – Sorry, under construction
  • 37. Remote Access ● very basic technology (PPP, SLIP...) – – ● dial-up to the node (ex. office or home) via Internet access the any services on PPP – wired and seamless!
  • 38. Remote Access (Internet) ● same as dial-up, but NOT secure ● SSH / VPN – need: the secure server on the Internet – need: Global IP, Static IP or Dynamic DNS – need: keep the security and the privacy ● ● – ex. Many site that has old version OpenSSH is attacked. ex. Do dial-up users need to open the port 23(telnet) for the Internet? SoftEther Virtual Ethernet System ● ex. Ethernet on the HTTPS and SSH
  • 39. VPN, Just Do It ● IPsec (commercial) – – ● CISCO VPN 3005 connected to another site IPsec (private) – under construction – with FTTH (B-flets, NTT) – share the files, administrate the server
  • 40. SoftEther Vitual Ethernet System ● SoftEther Virtual Ethernet System ● ● ● Ethernet on the HTTPS and SSH Able to pass through the firewall Take care for use.
  • 41. mobile PC / PDA ● ● ● 皆さん、いろいろな使い方を教えてください! notebook PC PDA
  • 42. Storages ● SAN (Storage Area Networks) – fast/virtual Access (Fiber Channel) – snapshot make the backup in a second ● Network Attached Storages ● Internet Disk – use the Virtual Disk on the Internet Servers
  • 43. SAN, Just Try It ● databases and file servers – ● critical missions snapshots is great – fast access (fiber channel and huge cache) – the backups and recoveries are in a second. – but the recoveries need the time ● full backup a day, and “loading transactions” are needed.
  • 44. NAS (at home), try it ● HD-HLAN, Buffalo (Link Station) – change from the file server to HLAN (NAS) – low power, small size and silent – schedule backups the file a day via “rsync” Godzilla file server RAID 5 20GB (4G×6) HLAN no redundancy 160GB
  • 45. Internet Hard Disk, Just Try It ● accessible to the disk like a drive ● test the “MYDISK” service of rimnet. – like the disk drive on the Windows ● ● ● – no accessible through our firewall ● – web accessible 100MB, free show demo... need the authentication to proxy stable?
  • 46. Removable Devices ● HDD, Flash Memory(CF/SD)... – use as primary devices and backups – has the risks ● ● ● if lost (stop the job?) if stolen (get out the information?) encryption – Encrypting File System (EFS) on windows 2000 ● – over NTFS 5.0 PGPdisk
  • 47. RAID 1 or 5 ● HDD is one of the most fragile parts – redundancy the HDD
  • 48. Backup, Just Do It ● Tape – – serial access – ● Just standard, but very expensive for personal user DLT / DLT / LTO... HDD – Random access – I use the bus-powered 2.5inch HDD with rsync (at home)
  • 49. Enterprise Disaster Recover Site, Just Do It ● for Business Continuity Planning (BCP) – ● Reduce the risk! plug off? redundant the anything – – Wires, networks (include Internet) and servers – ● Database synchronized by ftptrek humans and business processes warm standby – if “the incident” is happened, switch in a minute.