M
M
Michail Wowtschuk2018-09-25 10:55:24
go
Michail Wowtschuk, 2018-09-25 10:55:24

How to communicate between processes in GO?

There are running processes 1.go and 2.go, how can you transfer data directly between these processes without using Redis and other solutions. Is it possible?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
stul5tul, 2018-09-25
@stul5tul

On one computer, socket file will be the fastest, not TCP / IP as advised here.
https://github.com/cmcoffee/go-ezipc
www.albertoleal.me/posts/golang-pipes.html
goinbigdata.com/interprocess-communication-concepts

M
Mr Freeman, 2018-09-25
@vladamir

gRPC use

P
protven, 2018-09-25
@protven

Rest services, sockets, queue broker, some kind of RPC protocol, as advised above, through a file channel. Lots of options.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question