|
2 | 2 |
|
3 | 3 | 
|
4 | 4 |
|
5 |
| -Build Serverless Microservices with WebAssembly Functions |
6 |
| - |
7 | 5 | [](https://pkg.go.dev/github.com/madflojo/tarmac/pkg/sdk)
|
8 | 6 | [](https://tarmac.gitbook.io/tarmac/)
|
9 | 7 | [](https://github.com/madflojo/tarmac/actions/workflows/build.yml)
|
10 | 8 | [](https://goreportcard.com/report/github.com/madflojo/tarmac)
|
11 | 9 | [](https://coveralls.io/github/madflojo/tarmac?branch=master)
|
12 | 10 |
|
13 |
| -Tarmac is a lightweight, open-source application server that simplifies building microservices using WebAssembly (WASM) functions. With Tarmac, you can quickly write and deploy a single function as a standalone microservice. Or you can use Tarmac's ability to run multi-function services to create a purpose-built serverless platform. |
| 11 | +## Framework for writing functions, microservices, or monoliths with Web Assembly Functions |
| 12 | + |
| 13 | +Tarmac is a new approach to application frameworks. Tarmac is language agnostic and offers built-in support for key/value stores like BoltDB, Redis, and Cassandra, traditional SQL databases like MySQL and Postgres, and fundamental capabilities like mutual TLS authentication and observability. |
14 | 14 |
|
15 |
| -Tarmac delivers more than just a lightweight application server for WebAssembly functions. It offers built-in support for key-value stores like Redis and Cassandra, traditional SQL databases like MySQL and Postgres, and fundamental capabilities like mutual TLS authentication and observability. With Tarmac, you can easily focus on writing your functions while benefiting from a robust suite of integrations for building modern distributed services. |
| 15 | +Supporting languages like Go, Rust, & Zig, you can focus on writing your functions in whatever language you like while benefiting from a robust suite of capabilities for building modern distributed services. |
16 | 16 |
|
17 | 17 | ## Quick Start
|
18 | 18 |
|
19 |
| -Tarmac makes it easy to get started with building complex functions. This Go function is an excellent example of its simplicity. Its payload reversal logic leverages a key:value datastore for caching, demonstrating how effortless it is to create complex functionality with very little code. |
| 19 | +Tarmac makes it easy to get started with building complex functions. The below function (written in Go) is an excellent example of its simplicity. |
20 | 20 |
|
21 | 21 | ```go
|
22 | 22 | // Tac is a small, simple Go program that is an example WASM module for Tarmac. This program will accept a Tarmac
|
@@ -98,7 +98,7 @@ That's it! You can write and deploy functions in Go, Rust, AssemblyScript, Swift
|
98 | 98 |
|
99 | 99 | ## Multi-Function Services
|
100 | 100 |
|
101 |
| -While users of Tarmac can build standalone microservices with a single function quickly, it shines with multi-function services. Tarmac's ability to run multiple functions means you can create purpose-built serverless platforms or full-featured distributed services with the developer experience of serverless functions. |
| 101 | +While users of Tarmac can build standalone microservices with a single function quickly, it shines with multi-function services. Tarmac's ability to run multiple functions means you can create purpose-built platforms with the developer experience of serverless functions. |
102 | 102 |
|
103 | 103 | To get started with multi-function services, you must provide a `tarmac.json` configuration file (via the `WASM_FUNCTION_CONFIG` configuration parameter) that lists the Functions to load and the various protocols and routes to expose as endpoints. Below is a sample `tarmac.json` configuration file.
|
104 | 104 |
|
@@ -160,14 +160,16 @@ By leveraging waPC, WebAssembly Functions can interact with Tarmac's core capabi
|
160 | 160 |
|
161 | 161 | To provide a streamlined developer experience, Tarmac offers a Go SDK that simplifies the usage of waPC. The SDK abstracts away the complexity of using waPC, allowing developers to focus on writing their functions and leveraging Tarmac's features.
|
162 | 162 |
|
163 |
| -With Tarmac, users can build a simple microservice (depicted below). |
164 |
| - |
165 |
| - |
166 |
| - |
167 |
| -Or, users can build complex Serverless platforms to enable multiple use cases. |
168 |
| - |
169 | 163 | 
|
170 | 164 |
|
| 165 | +| Language | waPC Client | Tarmac SDK | |
| 166 | +| :--- | :--- | :--- | |
| 167 | +| AssemblyScript | ✅ | | |
| 168 | +| Go | ✅ | ✅ | |
| 169 | +| Rust | ✅ | | |
| 170 | +| Swift | ✅ | | |
| 171 | +| Zig | ✅ | | |
| 172 | + |
171 | 173 | ## Contributing
|
172 | 174 |
|
173 | 175 | We are thrilled that you are interested in contributing to Tarmac and helping to make it even better! To get started, please check out our contributing guide for information on how to submit bug reports, feature requests, and code contributions.
|
0 commit comments