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

jer
I’ve been using umbrellas for a while, and generally started off (on greenfield projects at least) by isolating subapps based on clearly ...
New
gausby
I asked this very same question on twitter and got some interesting feedback, but I thought it would be a good question to ask here as we...
1207 40082 209
New
AstonJ
Seen any cool LiveView demos, sample apps or examples? Please post them here! :003:
New
Nvim
Elixir appears to be a superior language to Python. I don’t see any advantage of Python over Elixir. Are there any?
New
thojanssens1
It would be nice to be able to define a redirect from one route to another from the router.ex file. E.g.: redirect "/", UserController, ...
New
opsb
We’re considering our architecture from a viewpoint of scaling our traffic heavily over the next 6 months. Our current deployment is runn...
New
owaisqayum
I have a sample string sentence = "Hello, world ... 123 *** ^%&*())^% %%:>" From this string, I want to only keep the integers, ...
New

Other popular topics Top

Qqwy
Update: How to use the Blogs & Podcasts section You can post links to your blog posts or podcasts either in one of the Official Blog...
3271 130579 1222
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
gausby
I asked this very same question on twitter and got some interesting feedback, but I thought it would be a good question to ask here as we...
1207 40082 209
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
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New

We're in Beta

About us Mission Statement