dixi-sixi

dixi-sixi

Reactive Elixir?

I wonder, with recent movements in Java world into reactive world, it kinda got me that I don’t know anything about reactive support in Erlang/Elixir. So the question is, does Elixir provide it? I mean basically non-blocking data flows

Most Liked

benwilson512

benwilson512

Author of Craft GraphQL APIs in Elixir with Absinthe

Keep in mind that “non blocking” means something totally different in Java than Elixir. If you have a thread in Java and you do blocking IO that takes a long time, or a CPU computation that uses a lot of resources for a while, this will entire block any other progress on that thread. If the thread also serves HTTP requests for example, any other request on that thread is gonna just timeout.

In Elixir however activities all end up happening on their own processes, and these processes do not block one another at all. So in a sense a non blocking data flow is essentially every data flow. If you find it blocks your current process, just put it in another process.

Reactive has some other connotations as well though, but it might be worth elaborating a bit on what it is you’re looking for.

idi527

idi527

Do you mean reactive as in Rx?

If so, see

Where Next?

Popular in Discussions Top

jesse
Hi everyone, I hesitated to post this here because I don’t want you to think I’m spamming, but I’ve been working on a Platform-as-a-Serv...
New
chulkilee
Here are the list of HTTP client libraries/wrappers, and some thoughts on HTTP client in general. I’d like to hear from others how they w...
New
AstonJ
Seen any cool LiveView demos, sample apps or examples? Please post them here! :003:
New
marciol
Please, let me know if this kind of discussion already took place in another topic . Hi all, how do you consider if is better to build ...
New
RudManusachi
What configs will make sense to put to runtime.exs? – A bit of how I configure apps: I have generic configs in config/config.exs, dev...
New
cvkmohan
The upcoming Phoenix 1.6 release looks very interesting. Became a habit to watch the commits - and - what they are bringing in. phx.gen...
New
fireproofsocks
I’ve been working on an Elixir project that has required a lot of scripting. I usually reach for Elixir because I like it more (and in th...
New

Other popular topics Top

JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1144 54996 245
New
axelson
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!) This post collects co...
239 49134 226
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 44167 214
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New

We're in Beta

About us Mission Statement