1 / 27

INTENSIVE PLATFORM

INTENSIVE PLATFORM. Getting started with distributed programming. Glossary. Service Using the API defines the business logic as Resources interactions. Framework Manage Resources and Middlewares to provide an API for distributed programming. Middleware

mili
Download Presentation

INTENSIVE PLATFORM

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. INTENSIVE PLATFORM Getting started with distributed programming

  2. Glossary Service Using the API defines the business logic as Resources interactions. Framework Manage Resources and Middlewares to provide an API for distributed programming. Middleware It's the platform's component that allows integration of resources in the distributed network. Resource Any virtualization component. It exposes its attributes and functionalities.

  3. Network topology • Local • Remote • Deployed

  4. Protocol • XML interoperability • Inspirations • XMPP • RPC (XML RPC) • WSRF •  Motivations • Rich semantic • Lightness • KISS

  5. Protocol messages • Query • Information gathering. • Un/Provisioning • Requires the creation of a new resource instance. • Resolve • Prepares the access to some resource instance (maybe provisioning). • DemandRequest • Remote method invocation.

  6. SDK Allows programmers to easily generate resource templates for framework and middleware.

  7. Start your engines! Make friends! Share the knowledge and troubles! U R DA K1N6

  8. Development environment • Download and decompress the following packages from http://tinyurl.com/abiquo-workshop • amw-0.8.0-add.tar.gz or amw-0.8.0-add.zip • mandelbrot-app.tar.gz or mandelbrot-app.zip  •  Check for middleware dependencies Ok, let's go!

  9. We will render the MandelBrot set!

  10. Middleware approach

  11. MW - Resource files • MandelbrotResourcePlugin.* • Code needed to load the resource in the middleware. Nothing to do here.  • MandelbrotResource.* • All the resource business logic goes here. We must write some lines of code here.

  12. MW - checkAndBuildRender()

  13. MW - render() (1/3)

  14. MW - render() (2/3)

  15. MW - render() (3/3)

  16. MW - Compile and execute (1/2) 1. Edit mw.conf

  17. MW - Compile and execute (2/2) 2. Compile the new code 3. Execute

  18. Framework approach • In the package you will find: • MandelbrotDistributed • Square distribution • Square to Job • ImageMandelbrot • Aplication main window • draw(Square, Data) • framework-core-api.jar • Stable snapshot. MandelService: A service with some code snippets to fill.

  19. framework-configuration.xml • Domain list • Framework mode • Service initialization

  20. Service • grid facade (configured access) • Knowlage model • Resource provider

  21. Getting resources • Create resources (at node) • Give me some resource (at node) • Casting to concret Resource binding class.

  22. Resource Access : Job • From a ResourceInstance creates a ResourceDemand  transaction.  

  23. Workflow •  Job composition facility • Job sequence (dependencies) • Workflows also composable • Job callback on state • launch  • blocking

  24. Allocation Mechanisms • complet the servcie TODOs !!! • initial mandelbrot resource instances set • care about node location ? • required provisioning ? • Job into workflow: • initialized static ? chaining • dinamic added ? using callback function

  25. Getting Job results • job.getOutput • finally return to ImageMandelbrot • witch Square render the Data 

  26. Execution (ant mandelbrot) • Local access • Remote access • framework standalone • framework-configuration.xml for the service

  27. thanks for coming!

More Related