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 3Distributed Object Technology Remote Objects carry on like nearby ones No outside conditions Multi-strung of course Automatic reconnection Heavily Tested
Slide 4Specialized observing Distributed Computing Testing IPC (between process correspondence)
Slide 5Examples versus
Slide 6usage
Slide 7Examples One ace, one slave Send assignments, moment input
Slide 81 pyroloc ='PYROLOC://127.0.1.1:766/remote' 2 undertaking = Pyro.core.getProxyForURI(pyroloc) 3 task.remote()
Slide 9Naming Service buddy where is my protest?
Slide 10What is a
Slide 11Android calls Nexus calls Android But Android tries to call Nexus... again?!?!
Slide 12Nexus: "The number you have dialed doesn't exist" ConnectionClosedError
Slide 13Validation and encryption
Slide 14SSL 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 15Examples handle remote administrations the site is down
Slide 17Examples why not to utilize Pyro?
Slide 18Examples References: PYRO: http://pyro.sourceforge.net/This Presentation and Code: http://www.alfredodeza.com/pycon_2010.tar.gz
Slide 19Thanks! alfredodeza@gmail.com http://www.alfredodeza.com this presentation was gladly made with Linux, Mercurial and other open source devices
SPONSORS
SPONSORS
SPONSORS