1 / 27

PENGANTAR SISTEM BD TERDISTRIBUSI

PENGANTAR SISTEM BD TERDISTRIBUSI. Dahlan Abdullah / 197602282002121005 Email : dahlan.unimal@gmail.com Website : http://www.dahlan.web.id. ATURAN KULIAH.

laird
Download Presentation

PENGANTAR SISTEM BD TERDISTRIBUSI

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. PENGANTAR SISTEM BD TERDISTRIBUSI Dahlan Abdullah / 197602282002121005Email : dahlan.unimal@gmail.comWebsite : http://www.dahlan.web.id

  2. ATURAN KULIAH • Kehadiran : 10 %Tugas : 15 %Tugas 2 kali @ Nilai : 50Kuis : 10 %Kuis 2 kali @ Nilai : 50MID : 25 %Final : 40 %Email : dahlan.unimal@gmail.com • Informasi : http://www.dahlan.web.id

  3. MODEL SISTEM • Hubungandaninterkoneksiantarkomponenpenyusunsistemterdistribusi

  4. Model Client Server

  5. Model Client Server • Client: • Proses akses data • Melakukanoperasipadakomputer lain • Server: • Proses mengaturdata • Proses mengaturresources • Proses komputasi • Interaksi: • Invocation/result

  6. Model Multiple Server

  7. Model Multiple Server • Service disediakanolehbeberapa server • Contoh: • Sebuahsitus yang jalankandibeberapaserver • Server menggunakanreplikasiataudatabase terdistribusi

  8. Model Proxy Server

  9. Model Proxy Server • Proxy server membuatduplikasibeberapa server yang diaksesoleh client • Caching: • Penyimpananlokaluntuk item yang seringdiakses– Meningkatkankinerja– Mengurangibebanpadaserver • Contoh : • Searching satutopiknamundilakukandua kali maka searching terakhirmemilikiwaktuyang lebihkecil

  10. Model Mobile Code • Kode yang berpindahdandijalankanpada pc yang berbeda • Contoh: Applet

  11. Model Mobile Agent • Sebuah program yang berpindahdarisatukomputerkekomputer yang lain Melakukanperkerjaanotomatis • Contoh: • Untukinstall danpemeliharan software padakomputersebuahorganisasi

  12. KomunikasiAntar Proses • Remote Procedure Call (RPC) • Remote Object Invocation • Message-OreintedCommunication • Stream-OreintedCommunication

  13. Procedure Call

  14. Local vs Remote Proc Call • Local Procedure Call: • - Proses client dan server beradadalamsatu PC • Remote Procedure Call: • - Sebuahproses dalam PC lokalmemanggil • procedure proses di PC lain

  15. Model RPC

  16. Langkah2 RPC • Client memanggil procedure lokal (client stub) secaranormal. Client Stub=actual remote procedure • Client stub membuat network message yangberisinama procedure danparameternyadanmemanggil OS lokal • OS client mengirim message ke OS remote • Remote OS memberikan message ke Server stub • 5. Server stub mengambilnama procedure dan • parameternyadaridalam message. Server stub • memanggil procedure dari proses server

  17. 6. Server mengeksekusi procedure danmemberikan • hasilnyake server stub • 7. Server stub memasukkanhasilkedalam message • danmemanggil OS server • 8. OS server mengirimkan message ke OS client • 9. OS client memberikan message ke client stub • 10. Client stub membaca hasilnya dan memberikannya • ke proses client

  18. Asynchronous RPC

  19. Writing Client and Server

  20. Binding a client to a server

  21. RPC Implementation • Sun Microsystems’ Open Network Computing • Open Software Foundation – Distributed Computing Environment • Xerox Courier • Applo’sNetwork Computing Architecture

  22. Proxy • Apa? • Miripdengan client stub dalamRPC • ImplementasiInterface Object yang manaobject sesungguhnyaberada di mesin yanglain • Proxy berjalan di address space client • Marshals/assamblemethod invocation into message • Unmarshals/disassemble reply message to client

  23. Skeleton • Apa? • Miripdengan server stub dalam RPC • Fungsi: • Unmarshalsincoming invocation request to proper method invocation at the object interface at server • Marshals the replies and forward reply • message to client proxy

  24. Implementasi ? • Java RMI (Remote Method Invocation) • TeknologiDS yang memungkinkansebuah JVM memanggilmetodesebuahobject yang berjalan di JVM yang lain

  25. Selesai …. TERIMA KASIH.

More Related