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

und0ck3d
Hello everyone! A few days ago I’ve created a topic here about how people were creating CMSs with Elixir and Phoenix. I’ve been studying...
New
pillaiindu
In django there is a cache framework backed by memcached. Rails also puts a lot of emphasis on caching, and even the idea of russian-doll...
New
dogweather
I wrote this comment on r/haskell, and it’s not popular there. :wink: But I think I’m on to something… Haskell reminds me of Java, and e...
New
tmbb
This is a post to discuss the new Phoenix LiveView functionality. From Chris’s talk, it appears that they generate all HTML on the serve...
342 18595 126
New
slashdotdash
Phoenix Live View is now publicly available on GitHub. Here’s Chris McCord’s tweet announcing making it public.
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
Rustixir
Hi everyone, im working on find best language/framework/system for high concurrency, high performance and stable performance after wor...
New

Other popular topics Top

electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
Darmani72
If I have a post route which an argument: post /my_post_route/:my_param1, MyController.my_post_handler How would get the post params ...
New
dogweather
I wrote this comment on r/haskell, and it’s not popular there. :wink: But I think I’m on to something… Haskell reminds me of Java, and e...
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
saif
Hello everyone, Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
New

We're in Beta

About us Mission Statement