midarch

module
v1.14.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2023 License: MIT

README

midarch Godoc

Installing & Configuring

1. Download gMidArch

If you are going to use SSL then configure SSL environment variables:

  • Configure CA_PATH=<path-to-ca-cert-file>
  • Configure CRT_PATH=<path-to-cert-file>
  • Configure KEY_PATH=<path-to-cert-key-file>
2. Install FDR4

Experiments

Scenario 1 (gMidArch - RPC)
  1. Move to GMIDARCH/pkg/apps/artefacts/madls
  2. Edit 'midfibonacciserver.madl' (set 'Adaptability' to 'None')
  3. Move to GMIDARCH/pkg/apps/fibomiddleware/naming
  4. Compile 'go build namingserver.go'
  5. Start Naming Service: './namingserver'
  6. Move to GMIDARCH/pkg/apps/fibomiddleware/server
  7. Compile 'go build server.go'
  8. Start Fibonacci Server: './server'
  9. Move to GMIDARCH/pkg/apps/fibomiddleware/client
  10. Compile 'go build client.go'
  11. Start Fibonacci: './client '
Scenario 2 (Adaptive gMidArch - RPC)
  1. Move to GMIDARCH/pkg/apps/artefacts/madls
  2. Edit 'midfibonacciserver.madl' (set 'Adaptability' to 'Evolutive')
  3. Move to GMIDARCH/pkg/apps/fibomiddleware/naming
  4. Compile 'go build naming.go'
  5. Start Naming Service: './naming'
  6. Move to GMIDARCH/pkg/apps/fibomiddleware/server
  7. Compile 'go build server.go'
  8. Start Fibonacci Server: './server'
  9. Move to GMIDARCH/pkg/apps/fibomiddleware/client
  10. Compile 'go build client.go'
  11. Start Fibonacci Client: './client '
  12. Move GMIDARCH/pkg/apps/fibomiddleware/injector
  13. Compile 'go build injector.go'
  14. Start injector: './injector <time-between-injections (in seconds)>'

Directories

Path Synopsis
examples
internal
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL