Second State Functions Releases a Developer Preview for High Performance Serverless Functions

Serverless Wasm

A recent IEEE Software paper – A Lightweight Design for Serverless Function-as-a-Service – demonstrated that WebAssembly VMs have significant advantages over popular containers such as Docker.”

— Dr. Michael Yuan, author of the paper

AUSTIN, TEXAS, UNITED STATES, January 14, 2021 /EINPresswire.com/ — Second State has recently released a developer preview of its Function-as-a-Service (FaaS), known as Second State Functions. The Second State Functions enables developers to write simple functions in the Rust programming language for computationally intensive tasks such as image processing and AI inference. The developer simply needs to upload the compiled function to the FaaS service, and the function will become publically available as a web service. The developer preview version of the Second State Functions is free to use. Hundreds of developers have already experienced it and deployed functions on it in the past two weeks. Developers could get started and win some cool prizes!

Second State Functions uses SSVM, the Second State WebAssembly VM, as the runtime engine for user-uploaded functions. WebAssembly is an emerging application container for server-side and edge applications. It provides runtime isolation, safety, security, and cross-platform portability for user applications without sacrificing performance. WebAssembly is a W3C standard supported by major tech companies. It is a lightweight and high-performance application sandbox with a capability-based security model. A recent peer-reviewed research paper — A Lightweight Design for Serverless Function-as-a-Service — published on IEEE Software demonstrated that WebAssembly VMs have significant performance advantages over popular application containers such as Docker. It further demonstrated that SSVM is by far the fastest WebAssembly VM on the market. The SSVM supports the latest WebAssembly specifications such as SIMD, reference types, and bulk memory operations.

Furthermore, the SSVM implements an array of WebAssembly extensions that allow WebAssembly programs running inside SSVM to access the host operating system and hardware features on the server. For example, the SSVM supports the WebAssembly Systems Interface (WASI) to access the file system and standard libraries. The SSVM also implements WASI-like extensions to access TensorFlow libraries, a key-value store, an HTTP network, as well as operating system commands.

Developers write Second State Functions in the Rust programming language, which is known as a safe and high-performance language. Rust has been voted as the most beloved programming language 5 years in a row by Stackoverflow users. While Rust is a complex and modern programming language, developers can create useful web services on Second State FaaS using only the basic Rust language features. That approach is known as low-code Rust. A series of developer tutorials showcase such uses of the Rust language through the Second State Rust SDK.

Specifically, the high performance of Rust and SSVM enables compute-intensive serverless functions. For example, Second State Functions has comprehensive tutorials on how to create TensorFlow functions to classify images or detect faces.

https://www.secondstate.io/articles/wasi-tensorflow/

The developer preview of Second State Functions is available to the public. With it, anyone can create and deploy Rust functions as web services.

Vivian Hu
Second State
+1 415-894-2578
email us here

Source Link

LEAVE A REPLY

Please enter your comment!
Please enter your name here