SAS Viya continues to evolve, addressing customer feedback about the performance of stored process execution. With the 2025.09 release, SAS Viya introduces a game-changing enhancement: a new, fast execution path powered by the “compute task” feature. This further lowers the barrier for customers looking to migrate and modernize their analytics workloads from SAS 9 to SAS Viya.
Let’s explore technical details, performance benchmarks, and practical considerations for adopting this enhancement, and what it means for architects and developers seeking maximum efficiency.
Many customers rely on stored processes for reporting, charting, and running analysis on data of the most disparate kind. This includes complex use cases such as dynamic prompts and chained stored processes. With SAS 9, all these typically complete in seconds, yet the legacy execution model in SAS Viya sometimes results in performance issues, particularly due to session creation times. This gap not only frustrates some users but also blocked some organizations from migrating to SAS Viya.
The new compute task feature directly addresses these pain points, unlocking the performance users expect and enabling a smoother transition from SAS 9.
Tasks are programs that execute within a few seconds and are safe to interrupt or re-submit. The compute task feature, available in the 2025.09 release, is designed for these short-duration jobs. It offers:
Compute Tasks leverage a new endpoint within the Compute API exposed by the Compute service: /compute/tasks.
As of SAS Viya 2025.09, you can work with compute tasks in two ways:
This method is especially useful for executing SAS Stored Processes that have been migrated to SAS Viya from SAS 9.4. Two key job definition parameters enable this new method:
Select any image to see a larger version.
Mobile users: To view the images, select the "Full" version at the bottom of the page.
Above: submitting two compute jobs through the traditional path; notice how the client uses multiple asynchronous calls for each job, and a new compute server is started for each job.
Below: submitting two compute tasks through the new fast path; the client uses only one synchronous call per task, leveraging a pre-started compute server.
While the compute task feature is a major step forward, there are some important considerations:
Preliminary testing from an Azure environment (using a standard small machine) demonstrates the dramatic improvements:
Note: Actual performance may vary depending on your environment.
The journey doesn’t end here. Upcoming enhancements might include:
Stay tuned for continued performance improvements and expanded capabilities!
Comprehensive documentation is available to help you get started.
Are you ready to unlock the full performance potential of your stored processes in SAS Viya? Try the new compute task feature and let us know your experience!
Find more articles from SAS Global Enablement and Learning here.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
The rapid growth of AI technologies is driving an AI skills gap and demand for AI talent. Ready to grow your AI literacy? SAS offers free ways to get started for beginners, business leaders, and analytics professionals of all skill levels. Your future self will thank you.