Tutorial demonstrating basic usage of the DeployR Java RBroker Framework.
Перейти к файлу
microsoft-github-policy-service[bot] 71034761e5
Auto merge mandatory file pr
This pr is auto merged as it contains a mandatory file and is opened for more than 10 days.
2023-06-27 13:09:25 +00:00
analytics Added initial example README, source and build scripts. 2015-04-30 15:56:51 -05:00
gradle/wrapper Added initial example README, source and build scripts. 2015-04-30 15:56:51 -05:00
src/main docs(README): branding changes 2016-06-30 07:34:09 -07:00
.gitignore Initial commit 2015-04-30 15:53:57 -05:00
LICENSE Added initial example README, source and build scripts. 2015-04-30 15:56:51 -05:00
README.md docs(README): branding changes 2016-06-30 07:34:09 -07:00
SECURITY.md Microsoft mandatory file 2023-06-12 19:02:16 +00:00
build.gradle docs(README): branding changes 2016-06-30 07:34:09 -07:00
di-config.json docs(README): branding changes 2016-06-30 07:34:09 -07:00
gradlew Added initial example README, source and build scripts. 2015-04-30 15:56:51 -05:00
gradlew.bat Added initial example README, source and build scripts. 2015-04-30 15:56:51 -05:00

README.md

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.