Skip to content

deploying a WebAssembly microservice under edgeEngine

Learn how to build and deploy WebAssembly microservice that runs under edgeEngine

self-paced
12 topics
1 hour

deploying a WebAssembly
microservice under edgeEngine

Learn how to build and deploy WebAssembly microservice that runs under edgeEngine

self-paced | 12 topics | 1 hour

The objective of this track is to demonstrate how to build a WebAssembly module from pre-existing code that you’ll download from GitHub. Also, you’ll learn to deploy the WebAssembly binary you’ll build. The WebAssembly binary will be used use by the mimik edgeEngine.

The benefit of WebAssembly

Whereas edgeEngine microservices are typically programmed in an interpreted language such as JavaScript, WebAssembly modules are programmed in a low level language such as C++ or Rust. As a result, WebAssembly modules are very efficient and fast. Thus, they bring a new level of power to edgeEngine programming.

deploying a WebAssembly
microservice under
edgeEngine

In this lesson you’ll be building an edgeEngine microservice that reports the current time via a RESTful API. The microservice’s API logic is written in C++.

This track shows you how to…

  • install the tools and libraries that you’ll need to build a WebAssembly module under edgeEngine
  • install the edgeEngine runtime and the edgeEngine CLI tool in the interactive learning environment.
  • download the demonstration code for the WebAssembly module
  • build an edgeEngine image from the WebAssembly demonstration code
  • deploy the edgeEngine image into a edgeEngine container that represents the demonstration microservice
  • exercise the demonstration microservice from the command line

What you need to know before you start

In order to get full benefit from taking this track you should know the basics of working with an edgeEngine microservice. 

The following track on Instruqt teaches the basics you need to know:

deploying a WebAssembly
microservice under
edgeEngine

this scenario is completely interactive. the instructions you’ll be given will be executed directly in the terminal window that is embeded directly in the instruqt interactive learning environment.

contact us to get full access to
mimik academy resources