If you're a boxing fan of a certain age, then you remember Roberto Duran ending his fight with Sugar Ray Leonard by saying, "No Más." Duran was, of course, saying "No More" to Sugar Ray but SAS is saying "Yes" to the MAS (SAS Micro-Analytic Service). Multiple SAS products and solutions, including SAS ESP and SAS Decision Manager, are betting on the MAS.
The MAS is a real time, memory resident, high performance, high bandwidth program execution service. It can execute SAS DS2 packages, Python scripts, as well as C in the upcoming 2.3 release. The MAS is meant to be a lightweight common solution for integrating real-time analytic models (e.g. EMiner score code) with SAS solutions as well as 3rd party applications.
So if it's a "program execution service," does that mean I submit my code to it like SAS Display Manager or Enterprise Guide? Well yeah but the MAS doesn't execute batch code. It executes services, as in RESTful webservices. As such, the MAS is actually a web application and is deployed to the SAS Web application server. Further, it doesn't have a UI like SAS DM or EG either. Well it does have one screen but it doesn't do much...
You interact with the MAS via a REST API. For example, you can list of the MAS modules (~the DS2 and Python programs deployed to the MAS) with the following GET command, which can be issued in any common web browswer:
Below, we can see this command running in Chrome.
And to see an example of executing a Decision Builder service via the MAS, see my last post here.
While the doc does explain the requirements for DS2 code being deployed to the MAS along with some basic information on posting DS2 code to a module and/or creating a new MAS module, you'll generally rely on the SAS application (e.g. Decision Builder or ESP) to push the code and create the MAS module for you. If you did really want to create a new MAS module manually, you POST the code to .../rest/modules/createModule url as shown below:
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning and boost your career prospects.