News for hackers. Stuff that matters.
Re:Mint, a new HTTP library for Elixir by kt315_ on Monday February 25, 2019 @02:05PM (#19248368)
What is the advantage over Gun? (https://ninenines.eu/docs/en/gun/1.3/manual/)
Re:Mint, a new HTTP library for Elixir by whatyouhide on Monday February 25, 2019 @02:09PM (#19248401)
Re:Mint, a new HTTP library for Elixir by kt315_ on Monday February 25, 2019 @02:15PM (#19248463)
I think Gun has very similar philosophy, e.g. it is connection oriented and does not impose pooling and such.
Re:Mint, a new HTTP library for Elixir by ericmj on Monday February 25, 2019 @02:59PM (#19248851)
Gun starts a process for each connection. The main idea for Mint was to not do this so that users can choose their own process structure.
Re:Mint, a new HTTP library for Elixir by kt315_ on Monday February 25, 2019 @07:29PM (#19250917)
With Gun it is also possible to create a specialized process structure albeit with more heavyweight processes behind each connection. Mint provides lightweight (possibly more efficient?) abstraction to achieve similar results. Thanks Eric and Andrea!