I Just Wrote A Distributed Fault Tolerant Database

moultanomoultano Creator of ns_shiva. Join Date: 2002-12-14 Member: 10806Members, NS1 Playtester, Contributor, Constellation, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Gold, NS2 Community Developer, Pistachionauts
<div class="IPBDescription">I haven't slept in 3 days.</div> It rocks.

You can take out servers, and bring them right back up in the middle of a transaction without anything skipping a beat. You can specify arbitrary amounts of replication, and the database will remain available as long as any of the replicas are up.

I'm estimating that in the last 3 days my partner and I wrote 3000 lines of code.

It really sucks trying to debug code when the swirlies on the carpet start jiggling when you look at them the wrong way. Thank god for source control.

The worst part is that the sunrises in pittsburgh absolutely sucked. Every single morning. Just slowly faded to an orangey grey.

I'm going to sleep.

Comments

  • im_lostim_lost TWG Rule Guru Join Date: 2003-04-26 Member: 15861Members
    Well, at least your three days of not sleeping paid off with working finished product. I guess we'll see you when you wake up.
  • DOOManiacDOOManiac Worst. Critic. Ever. Join Date: 2002-04-17 Member: 462Members, NS1 Playtester
    All that in only 3000 lines? Awesome.

    I wrote a thing for work that gotta be around 10,000 now... heh
  • SoulSkorpionSoulSkorpion Join Date: 2002-04-12 Member: 423Members
    Ouch. Someone didn't "plan, do, check, act" (as my software engineering 352 lecturer would say).

    So, what language?
  • ShoeboxShoebox Join Date: 2004-11-15 Member: 32817Members
    and your pay is NOTHING. MWUAHAHAHAHHAHA!!
  • LikuLiku I, am the Somberlain. Join Date: 2003-01-10 Member: 12128Members
    <!--QuoteBegin-SoulSkorpion+Apr 21 2005, 10:00 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (SoulSkorpion @ Apr 21 2005, 10:00 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Ouch. Someone didn't "plan, do, check, act" (as my software engineering 352 lecturer would say).

    So, what language? <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    It's in English, obviously.

    Awesome job. I heard you can slip into a coma if you stay up to long... though the world record is 18 days I believe. I think moultano will sleep for... 20 hours, minimum. My friend does 14 and and that's on a normal day.
  • TyrainTyrain Join Date: 2003-01-03 Member: 11746Members
    <!--QuoteBegin-Liku+Apr 22 2005, 07:03 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Liku @ Apr 22 2005, 07:03 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin-SoulSkorpion+Apr 21 2005, 10:00 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (SoulSkorpion @ Apr 21 2005, 10:00 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Ouch. Someone didn't "plan, do, check, act" (as my software engineering 352 lecturer would say).

    So, what language? <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    It's in English, obviously.

    Awesome job. I heard you can slip into a coma if you stay up to long... though the world record is 18 days I believe. I think moultano will sleep for... 20 hours, minimum. My friend does 14 and and that's on a normal day. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    Captain obvious to the rescue! <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin-fix.gif' border='0' style='vertical-align:middle' alt='biggrin-fix.gif' /><!--endemo-->
  • SoulSkorpionSoulSkorpion Join Date: 2002-04-12 Member: 423Members
    <!--QuoteBegin-Liku+Apr 22 2005, 02:03 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Liku @ Apr 22 2005, 02:03 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin-SoulSkorpion+Apr 21 2005, 10:00 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (SoulSkorpion @ Apr 21 2005, 10:00 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Ouch. Someone didn't "plan, do, check, act" (as my software engineering 352 lecturer would say).

    So, what language? <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    It's in English, obviously. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    Not necessarily <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile-fix.gif' border='0' style='vertical-align:middle' alt='smile-fix.gif' /><!--endemo-->
  • kill4thrillskill4thrills Join Date: 2004-06-24 Member: 29506Members, Constellation
    he probably wrote it in hindu
  • MedHeadMedHead Join Date: 2002-12-19 Member: 11115Members, Constellation
    What is it with people and not sleeping? You're better off sleeping and coming back to the project: your head will be much clearer, and you'll be able to think better.

    Congratulations on finishing the project regardless. But still... get some sleep!
  • SkySky Join Date: 2004-04-23 Member: 28131Members
    <!--QuoteBegin-SoulSkorpion+Apr 22 2005, 12:00 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (SoulSkorpion @ Apr 22 2005, 12:00 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Ouch. Someone didn't "plan, do, check, act" (as my software engineering 352 lecturer would say).

    So, what language? <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    Visual Basic.
  • Nemesis_ZeroNemesis_Zero Old European Join Date: 2002-01-25 Member: 75Members, Retired Developer, NS1 Playtester, Constellation
    That was just cruel. To mock him like that... Cruel.
  • brute_forcebrute_force Join Date: 2003-10-04 Member: 21433Members, Constellation
    edited April 2005
    <!--QuoteBegin-Liku+Apr 22 2005, 08:03 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Liku @ Apr 22 2005, 08:03 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->though the world record is 18 days I believe.<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    <!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Randy Gardner set the Guinness record for the longest time a human being has ever stayed awake. In 1965, as a 17-year-old college student, Gardner stayed awake for 264 hours with the help of two friends who took turns keeping him awake, pinball games and a growing number of television reporters. As the hours passed he began hallucinating, his ability to focus visually failed, his memory failed, his speech slurred, and he fell into a silent stupor. Afterwards he slept for 15 hours and woke up mostly recovered.

    "I wanted to prove that bad things didn't happen if you went without sleep," said Gardner, now 56, retired and still in San Diego, US. "I thought, 'I can break that (Peter Tripp's 1959) record and I don't think it would be a negative experience.'" Sleep experts now conclude that such sleepless stints are dangerous.<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    <a href='http://en.wikipedia.org/wiki/Randy_Gardner' target='_blank'>http://en.wikipedia.org/wiki/Randy_Gardner</a>

    <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile-fix.gif' border='0' style='vertical-align:middle' alt='smile-fix.gif' /><!--endemo-->

    edit: this is my 1500th post :O
  • DY357LXDY357LX Playing since day 1. Still can&#39;t Comm. England Join Date: 2002-10-27 Member: 1651Members, Constellation
    Moultano thats awesome. Well Done!

    brute force - that too is awesome, i'd try something like that if it wasn't deemed "dangerous".
  • moultanomoultano Creator of ns_shiva. Join Date: 2002-12-14 Member: 10806Members, NS1 Playtester, Contributor, Constellation, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Gold, NS2 Community Developer, Pistachionauts
    <!--QuoteBegin-MedHead+Apr 22 2005, 01:19 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (MedHead @ Apr 22 2005, 01:19 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> What is it with people and not sleeping? You're better off sleeping and coming back to the project: your head will be much clearer, and you'll be able to think better.

    Congratulations on finishing the project regardless. But still... get some sleep! <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    That's true, but deadlines . . .

    My partner and I drastically underestimated the amount of code this project would require. It was like killing a hydra.

    It was written in pure ansi c. What else? <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile-fix.gif' border='0' style='vertical-align:middle' alt='smile-fix.gif' /><!--endemo-->

    I actually only slept for 9 hours and I don't feel too shabby. More chipper than usual actually. <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile-fix.gif' border='0' style='vertical-align:middle' alt='smile-fix.gif' /><!--endemo-->
Sign In or Register to comment.