GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - metacall/function-mesh-example: MetaCall complete example with Function Mesh between multiple programming languages.

BranchesTags
Open more actions menu

Latest commit

 

History

19 Commits
19 Commits

Folders and files

NameName
Last commit message
Last commit date
cache
cache
 
 
frontend
frontend
 
 
pdf
pdf
 
 
react
react
 
 
.dockerignore
.dockerignore
 
 
.env
.env
 
 
AUTHORS
AUTHORS
 
 
DESCRIPTION
DESCRIPTION
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
docker-compose.yml
docker-compose.yml
 
 
metacall.json
metacall.json
 
 
overview.drawio
overview.drawio
 
 
overview.png
overview.png
 
 

Repository files navigation

M E T A C A L L

M E T A C A L L

MetaCall complete example with Function Mesh between multiple programming languages.

Motivation

This example has been designed in order to illustrate the differences between the MetaCall Function Mesh and a typical Service Mesh such as Istio.

The complexity of State of The Art Service Meshes makes it difficult to develop applications because it requires the developer to have knowledge in multiple areas of expertise. The plumbing becomes difficult and tedious, meanwhile with Function Mesh there is no plumbing, only function calls.

MetaCall Core allows to do call functions between languages and the plumbing and scalability is automatically done by the FaaS.

Architecture Overview

MetaCall Function Mesh Overview

Running the example with Docker

It is possible to run and test the Function Mesh locally through MetaCall CLI in Docker. So there is no need to install all dependencies in your environment.

Docker

docker build -t metacall/function_mesh_example .
docker run -it metacall/function_mesh_example

Docker Compose

docker-compose build
docker-compose run example

Testing the example

Input commands are the ones after the > symbol (type help to show all command list).

> load py frontend/frontend.py
Script (frontend/frontend.py) loaded correctly
> inspect
runtime node {
    module react {
        function ReactIndexPage(name)
    }
}
runtime py {
    module frontend {
        function convert(html)
        function index()
    }
}
> call index()
...
> call convert("<html><head><title>Example Html</title></head><body>Hello World</body></html>")
...
> exit

About

MetaCall complete example with Function Mesh between multiple programming languages.

Topics

faasfunction-meshpdf-generatorpolyglotreactserverlessservice-mesh

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

5 stars

Watchers

3 watching

Forks

2 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.