Giter Club home page Giter Club logo

java-example-rbroker-basics's Introduction

DeployR Java RBroker Framework Basics

The following tutorial demonstrates the basic programming model and capabilities of the RBroker Framework. Each example makes concrete the ideas introduced by the Quick Start Tutorial for developers using the framework.

About: RBroker Framework

The RBroker Framework is the simplest way to integrate DeployR-enabled analytics Web services inside any Java, JavaScript or .NET application.

Further information detailing core features of the framework can be found here:

  1. Building Blocks: RBroker, RTask, RTaskResult
  2. Runtime Options: Discrete, Pooled, Background
  3. Client Application Simulations
  4. Client Application Profiling

Tutorial: Discrete Task Broker

The Discrete Task Broker runtime is well-suited to all forms of RBroker prototyping as well as for public facing production deployments. If you anticipate anonymous users making use of DeployR analytics Web services, then this runtime is for you.

The examples provided in this tutorial demonstrate a wide range of framework capabilities, including:

  1. Blocking for Task results.
  2. Polling for Task results.
  3. Asynchronous callbacks for Task results.
  4. Built-in support for Task execution runtime profiling.
  5. Built-in support for client application simulations.

Tutorial: Pooled Task Broker

The Pooled Task Broker runtime is well suited to production deployments where consistent, high-performance runtime semantics are required. If you anticipate a high-volume Task workload, then this runtime is for you. Remember to size the pool in line with expected workload.

The example provided in this tutorial demonstrates a more complete client application simulation that provides a good model for how any client developer might develop a high-performance, real-time scoring engine solution using the RBroker Framework.

Tutorial: Background Task Broker

The Background Task Broker runtime is well-suited to deployments that require periodic, scheduled or batch processing.

The example provided in this tutorial demonstrates the basic mechanisms when working with and retrieving results from potentially long-running Tasks executed in the background.

Tutorial: Running The Examples

Use the DeployR CLI to download and run the java-example-rbroker-basics examples.

License

Copyright (C) 2010-2016, Microsoft Corporation

This program is licensed to you under the terms of Version 2.0 of the Apache License. This program is distributed WITHOUT ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0) for more details.

java-example-rbroker-basics's People

Contributors

david-russell avatar microsoft-github-policy-service[bot] avatar swells avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.