Forgot your password?
typodupeerror
Programming

Erlang Getting Too-Big-To-Fail Process Flag 35

Posted by Unknown Lamer
from the c-processes-don't-deserve-that-memory-anyway dept.
From Joe Armstrong comes news that Erlang will soon feature a new process flag for those processes that just really need memory, or else: "Too big to fail processes behave like regular processes until they get too big and memory congestion occurs. If a memory allocation error is triggered when a too_big_to_fail process needs more memory, then a random smaller process is killed, and the system reattempts memory allocation for the too_big_to_fail process. An interesting situation can occur if the too big to fail process has killed all other processes and still cannot get enough memory. In this case the node running the process tries to memory steal from other nodes." Read below for your FREE logged-in-reader's-eye view of the special rot-39 version!

Sebz Wbr Nezfgebat pbzrf arjf gung Reynat jvyy fbba srngher n arj cebprff synt sbe gubfr cebprffrf gung whfg ernyyl arrq zrzbel, be ryfr: "Gbb ovt gb snvy cebprffrf orunir yvxr erthyne cebprffrf hagvy gurl trg gbb ovt naq zrzbel pbatrfgvba bpphef. Vs n zrzbel nyybpngvba reebe vf gevttrerq jura n gbb_ovt_gb_snvy cebprff arrqf zber zrzbel, gura n enaqbz fznyyre cebprff vf xvyyrq, naq gur flfgrz ernggrzcgf zrzbel nyybpngvba sbe gur gbb_ovt_gb_snvy cebprff. Na vagrerfgvat fvghngvba pna bpphe vs gur gbb ovt gb snvy cebprff unf xvyyrq nyy bgure cebprffrf naq fgvyy pnaabg trg rabhtu zrzbel. Va guvf pnfr gur abqr ehaavat gur cebprff gevrf gb zrzbel fgrny sebz bgure abqrf."

This discussion has been archived. No new comments can be posted.

Erlang Getting Too-Big-To-Fail Process Flag

Comments Filter:
  • Damn it (Score:5, Funny)

    by phantomfive (622387) on Monday April 01, 2013 @08:01PM (#43334149) Journal
    Slashdot keeps making me log in to see ROT13. This April Fool's thing has gone too far. I want my normal ROT13 fare!
  • It doesn't work on this story...
  • Hey, they rolled out the special ROT-26 and bonus ROT-39 editions for the last minute before midnight Zulu-time April Fool's Day Edition!
    .
    Yipee-kai-yay, mother-fokkers! Srsly, what took you so long? What? The day's over alreadY? ... :>(
  • by The MAZZTer (911996) <megazzt@gma[ ]com ['il.' in gap]> on Monday April 01, 2013 @08:03PM (#43334163) Homepage

    I assume developers will have to pay extra for use of this feature, ensuring ll the large companies get to slap it on all their processes and no one else does.

    I mean, ensuring the feature is used responsibly and not abused.

    • Re:Great! (Score:4, Insightful)

      by wierd_w (1375923) on Monday April 01, 2013 @08:09PM (#43334189)

      So, this gets to be used by all those bank and loan institutions who use trade bots to manipulate the global stock market?

      Question: what happens if 2 such processes re running concurrently on the same node, and actively try to outperform the other by proactivally allocating all available free memory?

    • and I don't have to have error checking on my compilers any more. time to get back into programming!

  • by istartedi (132515) on Monday April 01, 2013 @08:04PM (#43334167) Journal

    If this had been the only joke today, I think it would have worked.

    • The point of Slashdot on April fool's day is to collect the jokes from around the web. Not much original content here ever.
  • by 140Mandak262Jamuna (970587) on Monday April 01, 2013 @08:13PM (#43334199) Journal
    None of the discussions today broke 3 digits on comments. Try something like this again, I am not coming back. Stupid rot13 trick. Whoever came up with the idea of running it this long should be fired summarily.
    • by ultranova (717540) on Monday April 01, 2013 @09:30PM (#43334415)

      Stupid rot13 trick. Whoever came up with the idea of running it this long should be fired summarily.

      Workplaces where people are fired sumarily for mistakes are ones where no one ever does anything except cover their ass and search for any other employer. The quality and amount of work that gets done reflects this.

    • by Ksevio (865461)
      That's not actually true...The dinosaur [slashdot.org], Commodore 64 [slashdot.org], and Linus Win9 [slashdot.org] articles all got into triple digits, not to mention a couple plain text ones.

      Though I admit I avoided slashdot today because it didn't have real articles and was too much work to read the fake ones.
  • Angry developers, seeing this as little more than a back-door raid on their precious computing resources, are banding together in newly-formed TCP Parties, determined to resist meddling compiler makers and nebulous language specification agencies answerable to no one....

  • by Anonymous Coward

    Improper utilization of limited resources is a symptom of incorrect code.

    Vigil already has a much more elegant solution to the general problem of incorrect code:
    https://github.com/munificent/vigil

    Rather than punish other programs, it simply deletes the offending code.

    All Vigil programs are guaranteed to run without error, eventually.

  • This sounds a lot like the Linux OOM killer. You can set the oomadj value to protect certain processes against the OOM killer, making it almost the same as these too-big-to-fail processes. I guess the only difference is stealing memory from other nodes.

Passwords are implemented as a result of insecurity.

Working...