Erlang OTP I / O - A Few Questions

I read that one of the most successful users of erlang is the telecommunications industry. I assume that they use it to send binary data between their nodes and provide backup simplicity, efficiency and parallelism.

Does erlang really only send binary code to the central node?

Is he directly responsible for parsing the binary data to the actual voice? Or is it loaded into another language / program through ports?

Responsible for speed in a telephone conversation, speed, as in the delay between me, saying something, and you hear it.

Is it possible that erlang is used solely for the convenience of parallel behavior and C ++ or similar for processing speed in sequential functions?

+3
source share
1 answer

I can only guess how everything is implemented in real communication switches, but I can recommend the approach:

  • First, you implement everything in Erlang, including most of the low-level stuff. It probably doesn't scale that much, since signal processing is very expensive. However, as a prototype, it works, and you can make calls and much more.

  • Secondly, you decide what to do with performance bottlenecks. You can push them to C (++) and get a factor of about 10 or you can push them to FPGA and get a factor of about 100. Finally, you can work with CMOS and get a factor of 1000. The price of the latter approach is also much cooler, so you decide what you need and buy it.

  • Erlang , , . , . ATM , , , (ATM , IP - -).

  • Erlangs . .. , node .

  • - NIF, .

+5

Source: https://habr.com/ru/post/1790882/


All Articles