by di4na · 6y ago · 0 comments
Their explanation on tracing show they have never played with an erlang system.
As someone that build distributed systems everyday, i would really like all of our industry to play more with production erlang systems. That would answer a lot of these explorations instead of badly reinventing the wheel over and over again.
OTP doesn't give you _state of art_ distributed consensus algorithms out of the box.
I totally agree with your points, i am just pointing that it seems they do not seem to know that this kind of tooling are even possible.
[0] https://en.wikipedia.org/wiki/Amazon_SimpleDB
I’ve never worked on SimpleDB or even looked at it, but I think one lesson several database creators learned is that Erlang isn’t high throughout enough for certain classes of database systems. Especially with the last decade’s trend of making potential adoption of a given database as wide as possible and how important benchmarks are for marketing. I still think Erlang is wonderful for writing control plane type software, given the culture around using FSM-like structures.
Interestingly, one of the early simple-db engineers, James Larson [0], later built Megastore [1] at Google, which seems a lot like a retake of simple-db, and a predecessor to Google F1 [2]. I wonder if Megastore uses Erlang.
[0] https://www.linkedin.com/in/jilarson
Correct. Yet people love to think it does.
I mean, there's even no parameter in the call stack, people can only guess instead of knowing things for sure.
Of course, there are more important things like remote debugging in Erlang. To fix a production issue is like fixing a plane that is malfunctioned and crashing:
For average language and runtime, the plan is to take a guess, then develop a theory, build a malfunctioned plane according to the theory. If it's not having same issue, repeat previous steps until people rebuild a plane having exact same issue as the crashing one. Then fix the plane having the same issue, and apply it to the crashing plane.
For Erlang, the process would be, examine the malfunctioned plane to see where the problem is for sure, directly patch it in place to make it usable again. And then build a real fix, applying it without restart anything.
Tools may not be the most useful things in the world but they definitely could be game-changers sometimes.
How would you deploy erlang given a system that has grown out of a legacy C++ codebase and needs to run on a mix of mobile devices, IoT embedded systems (some with less than 64 kB RAM), PCs and servers?
Some distributed systems are heterogenous and will probably always be.
Now, getting back to the main topic, any insights from erlang or otherwise how to troubleshoot said systems that are deployed to customers?
I totally agree with your points, i am just pointing that it seems they do not seem to know that this kind of tooling are even possible.
Give your operators the ability to explore the system free form with these kind of tracing, dynamically, on production systems. It helps a lot. And yes that will need a lot of work in current runtimes.
I totally agree with your points, i am just pointing that it seems they do not seem to know that this kind of tooling are even possible.
Until someone bumps an MPI version and I can't fix my God damn build for a week
This is also a good entry point https://medium.com/@mrjoelkemp/jvm-struggles-and-the-beam-4d...