Di stributed Programming with PYRO (PYthon Remote Items) Alfredo Deza PyCon 2010

0
0
2327 days ago, 890 views
PowerPoint PPT Presentation
Remote Objects carry on like nearby ones. No outer conditions. Multi-strung of course ... Android calls Nexus. Nexus calls Android. Yet, Android tries to call ...

Presentation Transcript

Slide 1

Di stributed Programming with PYRO (PYthon Remote Objects) Alfredo Deza PyCon 2010

Slide 2

" Simple to start, however is as of now very effective even in the least complex frame " Irmen de Jong

Slide 3

Distributed Object Technology Remote Objects carry on like nearby ones No outside conditions Multi-strung of course Automatic reconnection Heavily Tested

Slide 4

Specialized observing Distributed Computing Testing IPC (between process correspondence)

Slide 5

Examples versus

Slide 6

usage

Slide 7

Examples One ace, one slave Send assignments, moment input

Slide 8

1 pyroloc ='PYROLOC://127.0.1.1:766/remote' 2 undertaking = Pyro.core.getProxyForURI(pyroloc) 3 task.remote()

Slide 9

Naming Service buddy where is my protest?

Slide 10

What is a

Slide 11

Android calls Nexus calls Android But Android tries to call Nexus... again?!?!

Slide 12

Nexus: "The number you have dialed doesn't exist" ConnectionClosedError

Slide 13

Validation and encryption

Slide 14

SSL SERVER 1 Pyro.config.PYROSSL_CERT="server.pem" 2 Pyro.config.PYROSSL_KEY="server.key" 3 daemon = Pyro.core.Daemon(prtcol='PYROSSL') 4 daemon.setNewConnectionValidator(printCertValidator()) SSL CLIENT 1 Pyro.config.PYROSSL_CERT="client.pem"

Slide 15

Examples handle remote administrations the site is down

Slide 17

Examples why not to utilize Pyro?

Slide 18

Examples References: PYRO: http://pyro.sourceforge.net/This Presentation and Code: http://www.alfredodeza.com/pycon_2010.tar.gz

Slide 19

Thanks! alfredodeza@gmail.com http://www.alfredodeza.com this presentation was gladly made with Linux, Mercurial and other open source devices

SPONSORS