Story cover for How Digg migration to Cassandra from MYSQL by Tekslate
How Digg migration to Cassandra from MYSQL
  • WpView
    Reads 8
  • WpVote
    Votes 1
  • WpPart
    Parts 1
  • WpHistory
    Time <5 mins
  • WpView
    Reads 8
  • WpVote
    Votes 1
  • WpPart
    Parts 1
  • WpHistory
    Time <5 mins
Ongoing, First published Nov 16, 2016
Today I'm gonna share my experience when I started with Apache Cassandra... If you consider the case study of Digg: How Digg migrated their friends+diggs data set to Cassandra from MYSQL, here is the explanation.

Digg implemented their new badges feature in Cassandra, a distributed, structured key-value store. Digg adopted a traditional vertically distributed master-slave configuration with MySQL, and investigated sharding (type of database partitionin) MySQL. In the case of the traditional architecture, Cassandra has a masterless "ring" which is easy to set up and to maintain.

Since it was necessary to strand data normalization and consistency to make these methodologies work. Digg adopted to comfortable with non-relational data stores. With the consideration of HBase, Voldemort, Cassandra, Hypertable, Tokyo Cabinet/Tyrant, and Dynomite, finally migrated on to Cassandra.
Every system has its own pros and cons, but Cassandra has a good blend of all. It offers Data Partitioning, Consistent Hashing, Data Replication, Eventual & Tunable Consistency, Gossip Protocol to discover nodes, Keyspace, Column & Row -oriented data storage, so you have a bit more structure than plain key/value stores. It operates in a distributed, highly available, Cluster/Ring. 
When an item is dugg, Digg asynchronously populates Cassandra. This operation fetches the list of followers of the digging user, and every column is inserted at once, atomically in each of their buckets, under a second.
In my upcoming posts, I will try to explain Cassandra architecture and other topics.
All Rights Reserved
Sign up to add How Digg migration to Cassandra from MYSQL to your library and receive updates
or
#44apache
Content Guidelines
You may also like
The players will pay by countess_heartless
27 parts Complete
"I know what I'm going to do" I said as soon as we arrived into her room. She shut the door and looked at me, determination in her eyes, "yes, we will get revenge Cassie" she said "Oh yeah, there will be revenge frazzle, But I am not taking it from Woods. Karma will deal with him later on..."I replied venomously. Confusion crossed Frazzle's face, "but-" "Instead, players will pay. The whole concept of players was what made woods the way he is. And all the other heart breakers in the world. I can't take revenge from all of them, but I will do what I can..." I said, so harshly and coldly that I saw fright in Frazzle's eyes. "From all the fucking players at woodland high! They will feel the pain I have felt today. I am pretty, I am hot and I can be a damn good actress! I will make sure that they fall in love me and then crush their puny hearts under my heel!" I yelled. ---------------------------------------------------------------------------------------------------------------------------- Cassandra Lively had everything. A pretty face, amazing friends and a totally hot boyfriend. He was known to be a player but Cassandra had changed him...right? WRONG! he broke her heart and disrupted her life. Now she was out to take revenge. Not from him, Instead from all the players in her school. And when the time comes, He will pay too. But then who comes along? Another amazing boy, who forms turmoil in her plans. Making her question her decision and herself.
Title Erased (Love) by ThesePatheticHumans
2 parts Complete
A one shot about a romance revolving around a futuristic institute's cultural festival. As it is, even future soldiers have a normal high-school life. The story is set in the future, where children are trained from an early age, by the permission of their parents, (unless of course, they are orphans) to become Knights. They then become part of the military. Nina is such a child, who joined the V_ four years ago. She's infamous for her wild nature and blatant disregard of the rules and the Student Council. And then, by some blighted twist of fate, she finds herself a House Prefect. Enter Azerkin Schwann, suave, cool, mysterious and with a permanent train of fangirls. Unbeknownst to the rest of the world, Nina finds a close friend in the drool-worthy Schwann. Everything is going on perfectly; except for a pack of man-killer cyborg wolves, an insanely powerful rival-in-battle, whose aim in life seems to be throwing challenge after challenge at Nina, and the Senior Troublemaker of the School's latest game :- 'Set fire to a pile of straw'. Well, that's not much, after all, what can a pile of straw do? Nothing, unless there's a stack of fireworks underneath. And that's the least of her worries when Nina's fallen head over heels for Schwann. This is a work of fiction, and the characters introduced are purely fictional. Any resemblance in name or character is unintentional. Just sayin' since this is basically my first story using normal names and settings. The story is currently a one shot. I may develop it further if there's a positive response from my readers. Positive, as in comments and votes.
Zeus by Lani_love11
42 parts Complete Mature
Gangs. A girl. War. Fights. Love. Hate. Death. All words to describe the city of Athens. The most dangerous city in the country. But only those who have been there know that. Athens is not a place for tourism. Not many people who visit, make it out alive. Vicki, 16, has finally found a home willing to adopt her after 6 years of jumping from home to home, family to family, foster to foster. Some were good. Some bad. Some could, would, and did the unthinkable. But now she didnt have to deal with that. But she had no idea of the secrets that the friendly "welcome to Athens" sign hides. Or did she? She wasn't ever supposed to end up in the system. Or end up on her meds. She remembered nothing of her life before 10 years old. She had always knew something was missing, but this? This was more than she could ever handle remembering. **** "Wow, I thought it was just you guys and Artemis." "There's a whole world of gangs. There are gangs in every country, some even I don't know as a leader." "Is it tough being a leader?" "Some times. Especially when I have to deal with loss. But I also give some opportunities to people who need it. I've even given a homeless man a small job and it set him up for life." "That's cool. Are the Zusians tyrants. I mean were they?" something about the name doesn't shake me. It's stuck in my head for some reason. "They more are now. There's speculation that a kid got out safe and will one day take back the leadership, but after seeing the wreckage first hand, I don't think anybody left it alive," he says it. But he doesn't sound like he even believes himself. "Did the kid get out? Is it even slightly possible?" "Between you and me. I helped her escape. I know she got out. But I don't think she lived long after we lost contact. Why do you ask?" "Something about the name... It is vaguely familiar but I don't know why. Maybe it's just my meds." "You might have just heard it before." *** Cover by @_scintillas
Caged By Him by moonchild80
106 parts Complete Mature
"WHY CAN'T YOU GET IT INSIDE YOUR HEAD?" He trapped my trembling body between his arms and slammed his fist into the wall. I flinch at the sound as I feel tears forming in my eyes. "I'M SICK AND TIRED OF YOUR CRYING. JUST ACCEPT THE FACT THAT YOU'RE NEVER LEAVING. THIS IS YOUR LIFE NOW, WITH ME" He spits, anger consuming his voice as I push myself further against the wall. Shutting my eyes closed and turning my face to the side as I do. Moments later, I feel his rough hand on my waist and his finger grazing my cheek. "Look at me, love." His hand grips onto my jaw, his thumb playing across my lower lip. He turns my face to meet his as I lower my gaze to the floor. He lowers himself to my level and I feel his breath fanning my cheek causing my breathing to become unsteady. "I love you so much, darling. But you need to learn. You need to learn that you won't be going anywhere. You're mine." With that being said, his other hand slides down to my waist "Your entire body, your mind, your soul. All mine." All I could do was tremble at his touch. How can someone so beautiful be so heartless? ~~~~~~~~~~ All a 19 year old Aurora Shaw wanted to do was work to make a living and volunteer at the orphanage. Unfortunately for her, ruthless and cunning 26 year old Mafia leader and billionaire Tristan Black had other plans for her. He's been waiting for the perfect moment to kidnap her and finally make her his queen after 2 years of watching and stalking her every move. He'd kill anyone who gets in the way of getting what he wants. What will happen when he ruins everything she wanted and forces her to marry him? Will she escape and resist him? Or will she submit and accept her fate?
Trapping Quincy (Caspian and Quincy) by Nikkireadw
9 parts Complete
He teases her. He challenges her. He fascinates her while he irritates her like no other. He drives her insane. He makes her...ughh, so mad she could scream! The only thing he won't do is let her go. Quincy: I'm a human living among the werewolves. My mom is a werewolf. She had a drunken fun one night with a stranger, a human. The union was not supposed to bear an offspring. I'm not supposed to happen, but here I am, an outsider. They all hate me but my Nana loved me. Then Nana died. They moved me to the pack house. Now, their old Alpha three times my age wants to make me his. That is not the life I signed up for. My Nana nurtured me a dream to go off to college. So I run. I run not because I'm a coward. I run to save myself. I will have nothing to do with their kind anymore. I'll be a normal human among other normal humans. I'll be so normal, even the most average normal humans will feel like freaks next to my normal ass. They will bow down before me and call me Queen Normal. Then I see him. The best specimen of men...but I know he's not human. He's not a werewolf either, so what is he? There's this pull between us but I know I shouldn't get close to his kind...whatever he is. The trouble is, he won't leave me alone. Caspian: I've been looking for my erasthai for decades. My mother dearest, the queen of all werewolves and lycans is pressuring me to marry Lady Celeste. I'm supposed to take over the throne from my father and make lady Celeste my queen. I want nothing to do with her. I want my erasthai. Then I saw her. She's a human. The most beautiful mesmerizing creature ever, and she's mine! I thought it's going to be easy. It should have been easy. Come on, ALL girls want me. I mean, look at me. I'm gorgeous! Mirrors weep when I walk past them. She refused to give me the time of the day. Well, too bad princess. I'm not about to let you get away. I'll crush all other competitions. I'm Prince Caspian. I always get what I want.
Complications (MxM) by SpellTyped
16 parts Complete Mature
**WARNING** ~contains explicit content that may not be acceptable to all viewers. discretion advised~ "No no no no..." My words trailed "NO!!" I screamed, pulling harshly at all my restraints, attempting to get free, hearing the harsh clank of metal on metal with every movement. Colder than the table beneath me, chills ran through my body. This couldn't be happening, please. A sadistic laugh rang through the room and my head fell in defeat as my eyes squinted closed, not wanting to see his face. "Yes, actually." I felt his disgusting, filthy hands trail down my arms. I could feel him leaning forwards, moving himself closer to me. I couldn't bring myself to open my eyes, so I just lay there, waiting for what I knew was to come. "You're mine now, mut." His voice made my body tense more than it already had. The way he sounded so angry. So possessive. I dared myself to speak, "W-what ar-are you gonna d-do to me?" My voice shook and wavered so much in my fear that it was numb to my ears. Alpha Dave let out a low, calloused chuckle that sent chills throughout my body. He said, in a deadly low voice, "I'm going to remind you who you belong to." * DISCLAIMER- In this story world, each person gets five potential mates! * Blake Daniels' story has been one tragedy after another, Complications littering his route, tripping him on his journey through life. At this point, he's entirely disgusted by his Complacency. For as long as he can remember, he has been at the whim of everyone's desires, neglecting his own. This left him wondering: what it is he wants? Could it be the sweet relief of death? Escape? Or simple Convalescence? *** ~Ms.Witch *** BOOK ONE IN THE ~Escape~ SERIES! Book 1: ~Complications~ Original Created- 2015, Completed- 2016 Rewrite Created (October) & Completed (December)- 2023 Book 2: ~Complacency~ Created (January) & Completed (March)- 2024 Book 3: ~Convalescence~ Created (April) & Completed (May)- 2024 Thanks for reading!
This Is What I'm Good At {Adopted By @CommanderALFA} by purpleleemon
8 parts Complete
Sadly, I really don't have the motivation to continue this story any longer. I know a lot of you have been wanting to read more of it, and I sincerely apologize for not being able to deliver. The good news is, someone has offered to adopt the story and continue where I left off. If you wish to continue reading this, you may look for it in the profile of @CommanderALFA ••••••••••○○○○○•••••••••• Modern HTTYD AU wherein Hiccup-... Henry, joins a private army after leaving Berk for being, how he was always called his entire life, a runt, a hiccup, a disgrace. After being recruited, he meets amazing new friends and quickly becomes one of the organization's best. But Berk is in trouble. And now, Hiccup's conflicted. He ran away from Berk to start a new life, but...deep down, does he actually miss the town? Does he miss the people who tormented him? He doesn't believe it himself, but...maybe he does. How long will Hiccup be gone? Will Berk be safe and find a new heir? And what about Astrid? Did she forget about him, or did she just remember him even more? --------------------------------------- Disclaimer: I don't own the How to Train Your Dragon franchise, nor Rise of the Guardians, Frozen, Brave, Tangled, or Big Hero 6. Those rights go to their respective owners, both DreamWorks and Disney. Any names I come up with are completely made for this story and should they accidentally be the name of an actual person in the real world is completely coincidental.
The Core: The First Guest by Perditaveritas
54 parts Complete
❖2021 Watty Awards Shortlist❖ Kevin was just a normal 10 year old kid until he saw a woman vanish right before his eyes. This made Kevin just a little bit different. He paid more attention to people now. Little did he know that this little difference would kill him the next time he encountered another alien about to return home. It would tear him apart, cell by cell, until he was unmade. His mind being transported away. --- So distantly far away there is a race that advanced to the point where they built dyson spheres to house their civilizations. In their continual expansion, they seeded galaxies with pods and connection satellites. Over time they upgraded their dyson spheres into matryoshka brain Cores. Imagine a computer powered by a star. Citizens of Cores no longer age once they upload their minds into the virtual living system of the Core. While they didn't age, most still choose to cycle through life and death though at a different scale of time compared to our lives. Citizens can visit other planets and live there as if they were on a "vacation". Mercury is Earth's hub connected to the closest Core and Earth is a remote vacation spot for wealthy citizens. When the main character was 10 he witnessed a citizen returning to the Core. The story continues 10 odd years later when he again witnesses a similar situation unfolding and manages to touch the person returning to the Core. This causes him to be swept up in the transfer as well and for his mind to join as a "Guest" user of the Core. As a Guest he has limited powers, a starting balance of zero cr or Citizen credits, and no idea how he can get home. He is the first human to ever become a Guest of a Core. Where money itself is the highest form of their science.
You may also like
Slide 1 of 9
Transmigrated With A System: I Became The Billionaire Contracted Wife (Ongoing)  cover
The players will pay cover
Title Erased (Love) cover
Zeus cover
Caged By Him cover
Trapping Quincy (Caspian and Quincy) cover
Complications (MxM) cover
This Is What I'm Good At {Adopted By @CommanderALFA} cover
The Core: The First Guest cover

Transmigrated With A System: I Became The Billionaire Contracted Wife (Ongoing)

16 parts Ongoing

After fighting her boss at work and promising too never returned, indeed, Aysel didn't. Instead, she died while trying to save a girl, and then got transmigrated to a Novel world. Oh, in her new life, she is very rich an was a popular celebrity. Very rich? Her bank account is in the minus! She owes the bank money! Popular Celebrity? The whole country hates her! Aysel finally find the meaning behind; "From Frying Pan to Hell Fire." Now, she couldn't even lived in peace. Well, turns out Heaven wasn't that cruel, at least she got a life saving system! System: Host, you needed to harvest points, lack of points means death! Aysel: What to do?! System: Marry Young Master Grant. Young Master Grant? The tetraplegic boss whom was also a masochist? System:.... Exactly Aysel finally realized what it means for no one to loves you... However, marrying young master Grant was actually very attractive, he can't do anything, can he? That's perfect! She just has to wait for him to die, inherit his wealth, and become rightfully rich!!! But she's proven terribly wrong when the man pins her down, his hands running over her body, igniting a fire, as he meets her gaze and whispers huskily... "I don't know how to inflict pain, but I know how to make you cry for release." Wait, is he still a tetraplegic? Had she... misread?