requestreply

command
v3.2.15 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

README

Distributed Request

A Grid application that takes an http request, and uses grid library to send request to a pool of workers spread across servers. This is similar to a http based micro-service.

What You Will Learn

How to Send/Receive messages to existing workers. Assumes you have already read hello example.

Running the Example

In a terminal run the following commands from inside the requestreply directory:

# Start an api server
go run main.go

# Start n worker nodes
go run main.go

# Make request to worker pool
curl -sS locahost:8080/work

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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