3 ms·
I am totally ignorant to Erlang (though it is in my top 5 of languages to learn); why do you think it would be different?
by cholantesh 10y ago
I am totally ignorant to Erlang (though it is in my top 5 of languages to learn); why do you think it would be different?
- javajosh 10y agoI am only learning Erlang now (through the futurelearn course[1], posted here, about a month ago now). One of the reasons it interests me is that it was designed from the start to support high-availability concurrent, distributed processes. It's a functional, dynamic language meaning that you can reprogram a system at runtime if you want (see: gen_server). Like I said, I'm only starting and I don't know how real Erlang systems are built. However, I suspect that they tend to eschew the orthodoxy of treating a relational database as a single source of truth, with stateless app servers (these two features are the core of all the systems in the OP's thing) and embrace distributed, redundant statefulness. If this can be done (without becoming impossible to reason about) I suspect it represents an optimal server system, in terms of resource usage, availability, and probably even in performance in a world where most organizations' datasets can fit entirely in RAM, from when they are a twinkle in someone's eye to their eventual dissolution. I should stress that "questioning orthodoxy" is something of a hobby, which probably biases me. [1] https://www.futurelearn.com/courses/functional-programming-erlang https://www.futurelearn.com/courses/functional-programming-e... [2] http://learnyousomeerlang.com http://learnyousomeerlang.com keeps coming up as a good learning resource.