camcaine

camcaine

Mint - http library

Just played with Mint for an hour. It’s really nice :clap:
Thats it, that’s the whole post.

Most Liked

thojanssens1

thojanssens1

Also have a look at Finch, built on top of Mint and NimblePool by @keathley

keathley

keathley

I believe there’s an open issue for a Tesla adapter. You might see if anyone is making progress on it. Happy to provide a review or guidance if that’s helpful.

ityonemo

ityonemo

I’m guessing it’s because when you are multiplexing by definition you have a shared resource (the multiplexed channel), where you will then need to figure out how to handle access contention between your pool workers, liable to be a pain in the rear, inducing performance bottlenecks, and also, very likely error prone, even in a safe system like BEAM.

If I’m not mistaken, that’s not saying that you can’t “meta-pool”, that is - You could probably do one-pool-worker-per-channel and have the worker do the demuxing and handling of each multiplexed resource within the channel. You just have to think carefully about what the domain intrinsics are and how those partition into pool workers.

Last Post!

minhajuddin

minhajuddin

Mint is really nice, I did a few blog posts about it last year: https://scoutapm.com/blog/how-to-use-mint-an-awesome-http-library-for-elixir-part-01

Where Next?

Popular in Discussions Top

rms.mrcs
A couple of days ago I was discussing with a friend about different approaches to write microservices. He said that if he was going to w...
New
MarioFlach
Hello, I want to share a project I’ve been working on for a while: https://github.com/almightycouch/gitgud Background Some time ago I ...
New
New
wmnnd
The Go vs Elixir thread got me thinking: Would it be too hard to implement a simple mechanism for creating Go-style static app binaries f...
New
Fl4m3Ph03n1x
Background A few days ago I was listening to The future of Elixir from Elixir Talks, with Dave Thomas (@pragdave ) and Brian Mitchell. I...
New
pillaiindu
I want to convert a Phoenix LiveView CRUD website to a CRUD mobile app. What do you think is the easiest way to do so?
New
arcanemachine
https://nitter.net/josevalim/status/1744395345872683471 https://twitter.com/josevalim/status/1744395345872683471
New

Other popular topics Top

New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New

We're in Beta

About us Mission Statement