News for hackers. Stuff that matters.
Re:Elixir in Depth – Reading and personal notes by bitwalker on Thursday August 17, 2017 @01:34PM (#15038908)
You may have been able to bump the process priority to give that process more scheduler time if it's a critical process in a hot path. Perhaps you tried that though. Definitely have to be careful with it, but always an option to keep in mind!
Re:Elixir in Depth – Reading and personal notes by KallDrexx on Thursday August 17, 2017 @09:18PM (#15042686)
I haven't tried that, but I'd have to make sure that every inbound and outbound RTMP connection had high enough priority to correctly execute, and that seemed like a lot of tweaking that had to be done in order to maintain the constant flow of video throughout the app with low latency.

At least for my operation it looked very much like I would really need to become a BEAM vm expert to make sure things ran smoothly (not just with that but other potential issues I had in the back of my mind as well).

Re:Elixir in Depth – Reading and personal notes by randomstudent on Friday August 18, 2017 @08:11AM (#15045406)
> At least for my operation it looked very much like I would really need to become a BEAM vm expert to make sure things ran smoothly

From someone with zero experience in building concurrent systems: isn't this true for every sufficiently complex system? If your system is complex enough, then no general framework will help much, right?

Re:Elixir in Depth – Reading and personal notes by KallDrexx on Friday August 18, 2017 @08:59AM (#15045675)
At some point sure, but I can get concurrent systems up and running pretty easily in Go, C# and Rust without going too deep into the underlying details of the asynchronous framework. Erlang's VM does a lot more than any of those frameworks or runtimes do though because of how it handles per process garbage collection yet globally shared binaries, the preemptive scheduler and how it balances process load, the hot-reload capabilities etc... It does a lot of things really well but there's a lot of magic behind it, and I seemed to brush against that much faster than I have in other languages.