menu

Recent questions tagged erlang

2 votes
1 answer
Is it possible to describe the data model only in the database? Greetings! At one of the online seminars, I heard a developer (in erlang) say that the data model in functional languages only needs to be described in the database, wit ...
3 votes
1 answer
How is the business logic and data model described in functional languages? Greetings! I did a little googling, but I could not get a clear understanding of how business logic and data model are described in functional languages like Haskell and ...
by max_shane
asked Mar 26, 2021
1 vote
1 answer
Why not get the data to RabbitMQ?The query command status rabbitMQ sudo rabbitmqctl -q status -n rabbit@demoI get this response: Error: unable to connect to node rabbit@mongeo: nodedownDIAGNOSTICS======= ...
by BATAZOR
asked Jul 31, 2020
1 vote
1 answer
How to configure Tsung for the task?How should look like configuration Tsung (or any other load testing tools for performance more than 40,000 rps), if: 1) a List of URLs is fetched from the file 2) the Res ...
by Twindo
asked Jul 9, 2020
1 vote
2 answers
How to start cowboy server?Hello! Trying to run echo server example https://github.com/robertmeta/cowboy-examples/tree...My rebar.config {deps, {cowboy, ".", {git," https://github.com/ninenines/ ...
by Radist_101
asked Jul 3, 2020
1 vote
1 answer
Why not Erlang rebar dependencies loaded?The content of rebar.config: {deps, {cowboy, ".", {git, "https://github.com/ninenines/cowboy.git", {branch, "master"}}}, {sync, ".", {git, "git://github.com/rustyio/s ...
by Radist_101
asked Jun 27, 2020
1 vote
3 answers
What is a list in functional programming languages?Than a list in functional programming languages different from the usual list? :) As it is stored in memory? ...
2 votes
6 answers
What's missing from the service?Good time of day. Developing a service of transferring messages in real time, leading blog on habré. But, to put it mildly, the service is not popular. I would like to k ...
2 votes
8 answers
What to do many concurrent requests?Need to do a lot of concurrent requests. Now the whole implementation is kept in php multicurl, but unfortunately with the move to ssl, I had to reduce the number of quer ...
by Graid
asked May 11, 2020
4 votes
3 answers
What database to use Erlang for high-load servers?Good time! Learning Erlang, I want to start writing already more or less serious project and there was a question about which database to use for heavily loaded servers. ...
by leverun
asked May 7, 2020
1 vote
1 answer
What tasks would you recommend for learning Erlang'a?Learning erlang, tired of reading the book, I want something small to do on erlang'e, I can recommend a few not complex tasks? ...
by Radist_101
asked May 7, 2020
5 votes
2 answers
Choice architecrure for websockeт's. eventloop or the actors?in some cases, preferable to a decision ? also interested in experience of implementing existing projects by means of RabbitMQ, etc. ...
by amerov
asked May 7, 2020
1 vote
1 answer
Erlang. How to organize data?Good day, %habrauser%! Tell me how in erlang to correctly organize the storage of m2m data? A simple example. There are two entities "posts" and "tags". In classic sql st ...
by Slavenin999
asked May 7, 2020
3 votes
3 answers
Who as diploid Erlang application?I think that in Erlang there is no such thing as Capistrano. You can set up a few scripts and make make deploy. And here is the process I want to automate, for their smal ...
by artemeff
asked May 6, 2020
1 vote
1 answer
How to add an arbitrary process in gproc?Kind time of days, Habr! Is it even possible to add arbitrary gproc process? The essence of the following. I have two supervisors, the first launches the second, but only ...
by Slavenin999
asked May 5, 2020
1 vote
2 answers
Erlang. Why error occurs when you install a release using rebar?Good day, %habrauser%! Understand the Assembly and ustanovkoy releases using rebar. Faced a problem - on cristovam computer start command of the harvested release cd rel/ ...
by Slavenin999
asked May 5, 2020
1 vote
7 answers
Which language/technology to start learning on a Christmas "vacation"?I'm working an android developer, I would like to learn something interesting on these holidays. Originally had my eye on Scala or Erlang, but now hesitated. Interested i ...
by tagantroy
asked May 5, 2020
2 votes
6 answers
Where to start learning Erlang?Decided to learn Erlang, liked the description N20, which "proposes to build event-driven web applications to intelligently interact with the user without overloading the ...
by Jeket
asked May 3, 2020
2 votes
2 answers
How to encode/decode text in Erlang?Good day, %Habrauser%! Need to encode/decode plain text using AES-256 encryption. The simplest code: crypto:start(),Key = <<"aj2lbj2k4kljaj3k2l4k3l4kk2l3jj32">&g ...
by Slavenin999
asked May 3, 2020
2 votes
1 answer
Erlang. How to write a tcp server in accordance with the principles of the otp?Good day, %Habrauser%! The Internet is full of articles that describe the process of creating a socket server in erlang for example and all is good, but the use of undocu ...