Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

akka or similar alternative for golang to support distributed concurrency?

I know golang is very good at concurrency with its built-in support, but seems to me they are not distributed, so what would be the framework/library allow us to write producers/consumers applications, in a distributed environment.

like image 987
Howard Avatar asked Feb 01 '14 04:02

Howard


People also ask

What is alternative to Akka?

Spring, Scala, Erlang, Kafka, and Spring Boot are the most popular alternatives and competitors to Akka.

Is Akka distributed?

Akka is a toolkit for building highly concurrent, distributed, and resilient message-driven applications for Java and Scala.

How does Akka handle concurrency?

Akka's approach to handling concurrency is based on the Actor Model. In an actor-based system, everything is an actor, in much the same way that everything is an object in object-oriented design.

Is Akka widely used?

Akka Actors is a very popular and widely used framework which implements Actors (or for simplicity, lightweight threads) on the JVM.


1 Answers

If you want to use Go's channel concepts in a distributed program, perhaps check out the Go Circuit framework.

It provides a framework for running multi-process programs (possibly spread over multiple machines), allowing you to use channels to communicate between those processes.

like image 89
James Henstridge Avatar answered Sep 25 '22 06:09

James Henstridge