- Home
- >
- Software Development
- >
- Solo.io Borrows OCI Spec to Bundle WebAssembly Modules – InApps 2025
Solo.io Borrows OCI Spec to Bundle WebAssembly Modules – InApps is an article under the topic Software Development Many of you are most interested in today !! Today, let’s InApps.net learn Solo.io Borrows OCI Spec to Bundle WebAssembly Modules – InApps in today’s post !
Key Summary
This article from InApps Technology, authored by Phu Nguyen, details Solo.io’s proposal to extend the Open Container Initiative (OCI) Image Specification for bundling WebAssembly (WASM) modules, aiming to simplify building, publishing, and executing WASM-based applications. The initiative, building on Solo.io’s WebAssembly Hub (launched December 2019), focuses on enhancing service mesh functionality for tools like Envoy Proxy, Gloo API Gateway, and Istio, while promoting standardized, portable WASM development.
- Context:
- WebAssembly (WASM): A portable, high-performance binary format for running applications across platforms, increasingly used in cloud-native environments.
- Solo.io’s Role: A leader in service mesh and API gateway solutions, Solo.io leverages WASM to extend functionality, initially for Envoy Proxy and later for Istio (post-March 2020 collaboration with Google and the Istio team).
- Significance: Docker founder Solomon Hykes noted that WASM with a standardized system interface (e.g., WebAssembly System Interface, WASI) could have replaced Docker, highlighting its potential as “the future of computing” (Twitter).
- Solo.io’s WASM OCI Image Specification:
- Purpose: Defines a standard for bundling WASM modules as OCI images, including a WASM binary and a JSON configuration file specifying runtime, ABI compatibility, and runtime-specific settings.
- Goal: Simplifies building, pulling, publishing, and executing WASM modules, akin to Docker’s container experience, by extending the OCI Image Spec for WASM-specific applications (not traditional containers).
- Structure: Extends the OCI spec as a “base class,” adding WASM-specific metadata to enable tools to recognize and process modules (e.g., identifying an “Envoy spec”).
- Applications: Enhances Envoy, Gloo, and Istio, with potential for broader use in projects like Open Policy Agent (OPA) and NATS.
- Debate on Terminology:
- OCI Image vs. Artifact: OCI Technical Oversight Board member Steve Lasker argued the spec is an “OCI Artifact” (like Helm or OPA) rather than an “OCI Image,” which typically refers to runtime container images (e.g., Docker containers).
- Resolution: Discussions at an OCI meeting clarified “OCI Artifact” as the more accurate term, avoiding confusion with traditional container images.
- Motivation and Vision:
- Avoiding Misalignment: Solo.io’s CEO Idit Levine emphasized preventing community fragmentation seen in container management and service mesh ecosystems, promoting innovation through standardized WASM bundling.
- Future Potential: Levine views this as the “beginning” of WASM’s role in cloud-native extensibility, with growing adoption in production environments and across platforms.
- Experience-Driven: Solo.io’s work with WASM since 2019 informed the spec (v0.0.0), aiming to preempt future interoperability issues.
- InApps Insight:
- InApps Technology, a wholly owned subsidiary of Insight Partners (investor in Docker), positions itself as a leader in Vietnam’s IT sector, leveraging technologies like WebAssembly, React Native, ReactJS, Node.js, Vue.js, Microsoft’s Power Platform, Azure, Power Fx (low-code), Azure Durable Functions, and GraphQL APIs (e.g., Apollo).
- Ranked 1st in Vietnam and 5th in Southeast Asia for app and software development, InApps supports startups and enterprises with WASM and cloud-native solutions, capitalizing on Vietnam’s 430,000 software developers and 1.03 million ICT professionals.
- Offers outsourcing services for cutting-edge technologies like WASM, aligning with Solo.io’s vision for standardized, scalable development.
- Call to Action:
- Contact InApps Technology to explore WASM-based development or other cloud-native solutions at www.inapps.net, leveraging their expertise in modern software architectures.
Read more about Solo.io Borrows OCI Spec to Bundle WebAssembly Modules – InApps at Wikipedia
You can find content about Solo.io Borrows OCI Spec to Bundle WebAssembly Modules – InApps from the Wikipedia website
Following last year’s release of its WebAssembly Hub, Solo.io has released a proposal for a new WebAssembly (WASM) Open Container Initiative (OCI) image specification that it says will “define how to bundle WASM modules as OCI images to make it easy to build, pull, publish, and execute.”
Although Solo.io is concentrating on the use of WASM to extend service mesh functionality, portable WASM bundles could be a major step forward in ease of development. “If WASM+[a WebAssembly System Interface] existed in 2008, we wouldn’t have needed to created Docker. That’s how important it is. WebAssembly on the server is the future of computing. A standardized system interface was the missing link,” Docker founder Solomon Hykes wrote in a recent Tweet.
Solo.io first launched the WebAssembly Hub in Dec. 2019 with a focus on extending the Envoy proxy, which forms the basis for its Gloo API Gateway. Last March, after Google and the Istio team reached out to Solo.io, the company expanded the focus of the WebAssembly Hub to include extending the Envoy proxy-based Istio service mesh, which had also added WASM extensibility. Solo.io describes the hub as providing “everything you need to build, publish, discover and deploy custom extensions for Envoy Proxy, Gloo and Istio.”
“While we were working on [the WebAssembly Hub], we learned quite a lot. We learned how to bundle WebAssembly. We knew that we wanted to do something like the Docker experience, and we decided the best way to do this is to take advantage of stuff that already exists, like the OCI spec,” said Solo.io founder and CEO Idit Levine in an interview. “Imagine that the OCI is a base class. You basically inherit OCI and extend it. The OCI spec is just very high level, not specific, and we want it to be more specific, because we feel that it will be better for the tooling, because then the tooling can take those metadata and basically say ‘Ahh, this is an Envoy spec!’”
The WASM Image specification defines an image that consists of a WASM binary file and a configuration file, with the configuration file consisting of a JSON object specifying the intended runtime for the module, the module’s runtime ABI compatibility, and opaque runtime-specific configuration. The description in the spec repository further clarifies that “the spec can be considered an extension of the OCI Image Spec designed specifically for use by applications which produce and consume WASM modules (as opposed to application containers).”
But is it an Image?
After the initial release, some members of the Open Container Initiative questioned the naming of the proposed spec, with OCI Technical Oversight Board member Steve Lasker writing “I think there’s a bit of confusion in the specific branding. If I understand it correctly, It’s technically not an OCI Image, rather [an] OCI Artifact type. It can be stored in a registry, like Singularity, Helm, OPA, etc. […] Either way, I wouldn’t call it an OCI Image as that does have a specific meaning.”
The topic of the WASM specification’s naming was a topic at this week’s OCI meeting, where Levine offers a full background on Solo.io’s offerings, which leads into a primer on WebAssembly as used by Solo.io in this instance, before diving into the spec itself.
In the meeting, Lasker seemingly decides on “OCI artifact” as a more correct terminology, saying “one of the things we were trying to bring to discussion was the term ‘OCI Image’ versus some others, because there’s meaning. […] From our perspective, I wouldn’t call in an ‘OCI Image’ because we think of the OCI image as being the runtime container image, kind of the platform-neutral Docker container, if you will.”
Levine explained during the discussion that Solo.io was ahead of the curve in their work with WebAssembly and that they wanted to propose a specification (the current version is v0.0.0) using their experience to try to prevent future potential issues.
“Building all of this, we realized one thing […] in cloud native, it tends to create a lot of, the politics and providers create a lot of misalignment. I think that misalignment is destroying innovation in my opinion,” said Levine. “Therefore, it was very important to me not to drag the community through another problem like that. We had it with container management, then we had it now with service mesh, and I really don’t feel that this is healthy.”
Naming and trademark aside, Levine offered that she sees this is just the very beginning, with this sort of extension seeing an uptick beyond Envoy and Istio, with the Open Policy Agent (OPA) and NATS also moving in this direction.
“I personally think that this is only the beginning. We needed it, this is something that we’re running with our customers in production, this is why we needed it,” said Levine. “In my opinion, this will be the future of cloud native: extending stuff.”
InApps is a wholly owned subsidiary of Insight Partners, an investor in the following companies mentioned in this article: Docker.
Source: InApps.net
Let’s create the next big thing together!
Coming together is a beginning. Keeping together is progress. Working together is success.