First published on MSDN on May 11, 2017
If you are currently using DeployR (DeployR Enterprise 7.4 or R Server 8.0.x DeployR), this article will help you understand:
The differences between DeployR and R Server 9 Operationalization
How to upgrade to R Server 9 Operationalization
The differences between DeployR and R Server 9.x Operationalization
In R Server 9.0, Microsoft introduced a set of exciting operationalization capabilities, such as new deployment experience, new Swagger based app integration, well supported .Net Core technology as the architecture foundation, and improved security and high availability. These capabilities greatly improve the deployment experience for data scientists, app developers and system administrators.
With the new experience, new architecture and new improvements, R Server 9.0 introduced a new set of APIs. These APIs are not compatible with the DeployR APIs. This is a one-time change. The future R Server Operationalization solutions will be built on top of these new APIs.
The following table shows the main differences and presents the improvements brought by R Server 9.:
Due to the changes of the attributes of the web services and the underline architecture, the new R Server 9.x cannot host the web services published from DeployR in previous R Server. That's why you need to redeploy R code. The new deployment experience is simple and ease-of-use. You can follow
to redeploy your R code/models quickly.
Modify the application code.
With the changes of the web service APIs, app developers need to modify the current applications that built on top of previous web services and DeployR APIs. By using Swagger framework to describe new web services, R Server 9.x greatly simplified the app integration experience:
Code for web service handling can be generated by Swagger tools.
New APIs automatically handle the "service pool", while in DeployR apps must do the job via RBroker.
Please refer to the
detail guidance to write code
to consume the new services. In general, with the DeployR solution, you need to write more than 100 lines of code to consume the service, while in R Server 9.x, you only need to write around 10 lines of code.
I am using R Server 8.0.x. I have my models and predictive scripts stored in the repository of R Server DeployR. Can I migrate them to the new deployment solution of R Server V9, because I noticed that the new solution also supports similar repository to store services and sessions?
: Due to changes on the deployment experiences, in R Server 9.x, the way of how to manage the service storage and the content of the service storage cannot apply to the previous product version. Therefore, we recommend redeploy the models/scripts via the new deployment solution.