Skip to content

Basic MeshxRpc capabilities demonstration with Phoenix LiveView

Notifications You must be signed in to change notification settings

andrzej-mag/meshx_rpc_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

MeshxRpc Demo

Basic MeshxRpc capabilities demonstration with Phoenix LiveView.

Required: HashiCorp Consul agent with valid MeshxConsul configuration.

Installation

Clone repository:

git clone https://github.com/andrzej-mag/meshx_rpc_demo

Follow installation instructions for:

Usage

MeshxRpc demo includes two applications:

  • myapp Phoenix LiveView application with mesh upstream client consuming mesh service "myservice" provided by node(s) running service app,
  • service application acting as "myservice" mesh service provider.

Start at least one service and myapp instance. In real world scenario each of myapp and service instances should run on different hosts/VMs. Usually there should be multiple service instances to provide load balancing and high availability for "myservice". For testing purposes both applications can be started on a single machine, including multiple service instances.

Visit myapp and service folders for further details on installation and usage.