Category "erlang"

Set request timeout at connection pool level using hackney and HTTPoison

I am using httpoison which uses Hackney under the hood to make HTTP requests. By default, Hackney uses a default connection pool which is created with - connect

Unable to install rabbitmq due to incorrect versions of erlang dependencies

I have erlang 21.3 installed: $ erl -eval 'erlang:display(erlang:system_info(otp_release)), halt().' -noshell "21" But the rabbitmq installer does not think

What are the differences between different ETS table types?

According to the manual there are 4 types of ETS tables: set – The table is a set table: one key, one object, no order among objects. This is the default

Erlang multiple mnesia databases in the same application or in a application tree dependency

To use mnesia, the path on the filesystem to the relative mnesia scheme to be used must be set as the environment variable of the application(application:set_en

How to visualize a graph data structure?

I'm looking for a way to plot or visualize a graph made in Erlang using the digraph module. In the manual pages I can't find any function for doing this. How do

How can I use Erlang with Docker to run a Phoenix application?

I want to use a docker image in production to run a Phoenix container, However, since Elixir is just a layer on top of Erlang, it feels like it might be a waste

Getting values of named subpatterns in erlang

Hi I have a following regexp and value 2> re:run("first second", "^(?<foo>\\w+) (?<bar>\\w+)$", [{capture, [foo, bar], list}]). {match,["first",

Why is edoc unable to discover callbacks?

For some time we are able to declare behaviour callback using -callback attribute instead of behaviour_info/1 (which in my opinion is more convenient). But, the

Is it better to start multiple erlang nodes per machine, or just one per machine?

Preface: When I say "machine" below, I mean either a physical dedicated server, or a virtual private server. When I say "node" I mean, an instance of the erlan

How to decode XML entities?

To encode a string to XML, the xmerl_lib:export_text function does the job, but which function does the opposite job, i.e. converts &lt; to >? I want to