T
T
tupoi2015-11-16 01:57:16
Scala
tupoi, 2015-11-16 01:57:16

Is it worth learning Scala + Akka?

Good day, there is such a task, we need a client-server program, the client generates files of different formats, sends it to the server. Server - receives files, processes and maintains statistics on how much was sent and how much came, for each extension its own. I write in C#, but I accidentally stumbled upon the Scala + Akka framework, read a little about it and decided that in the future it would be possible to rewrite the server part on it. I would like to hear your opinion, do they do it at all? Is it worth it? is it difficult to learn? where to begin? And is it used in production? I would be grateful for a detailed and detailed answer, thanks in advance)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
nirvimel, 2015-11-16
@tupoi

Akka is designed primarily to deal with problems associated with complex logic in multi-threaded code (all sorts of deadlocks, race conditions).
How long does it usually take you to learn a particular programming language? Approximately as much learning Scala may require for those who do not come from Java. For those who came from Java - about 2/3 of this time.
Akka is a clone of the Erlang actor model, so for those familiar with it, learning akka will take a little more than zero minutes. For those who have suffered with java concurrency (partly true for .net), actors are like a balm for the soul, although an unfamiliar concept, it is perceived very easily (still, after java concurrency!). For those who wrote mostly single-threaded code, actors (instead of direct function calls) are something completely new, peculiar, unusual.
Look on the pageSELECTION OF PRODUCTION USERS .

T
thenno, 2015-11-16
@thenno

Production is successfully written, for example: habrahabr.ru/company/yandex/blog/239823/. The project is somewhat similar - the client sends data, the server writes it to Apache Kafka and then distributes it from there.
For HTTP communication, it is best to look towards Spray, it is quite simple and convenient.
But the questions "is it worth it" and "is it difficult to study" in the general case cannot be answered. If you have time and desire - why not. Scala is great :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question