requestreply

command
v3.2.10 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2021 License: Apache-2.0 Imports: 18 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

Overview

Package main is a generated protocol buffer package.

It is generated from these files:

msgs.proto

It has these top-level messages:

Event
EventResponse

Jump to

Keyboard shortcuts

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