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
#34apache
Content Guidelines
You may also like
[excerpt] Chaos & the Geek (Grace Grayson Security Book 1) by writeriz
4 parts Complete Mature
*now available on all retailers* Amber How do you politely refuse when the only guy to star in any of your dirty fantasies has just offered to put you up for the foreseeable future and your brother's just accepted like you were in fact still thirteen and couldn't make decisions for yourself? You don't. And, you end up with a roommate who wears a very good elegant mask over the rough and tumble, bad boy core I remember far too well. Only, it's ten years later and I'm even nerdier than I used to be. It's ten years later and I couldn't look worse. It's ten years later and I can't keep one guy. It's ten years later and my brother still teases me mercilessly in front of him. It's ten years later and Kit somehow looks even better than the guy I spent my formative years crushing on. Except, there might just be a smouldering heat in Kit's eyes that suggests he's not quite as out of my league as I thought. Just maybe, this geek is about to get a whole lot of chaos. Kit When I find out about my best mate's little sister's situation, the offer is out of my mouth before I can stop it; Hawk's like a brother to me even if Amber's never looked twice at me. I could never tell if she was scared of me or hated me. But the deal is done. She's going to bring her bedraggled self upstairs to my penthouse and live with me for as long as she needs. I see the pain she hides away, I see the lack of confidence despite how smart she is, how good. If there's something I've learned, it's that confidence makes all the difference. So, it becomes my mission to help Amber find her confidence. But I find more than confidence in her and suddenly I'm seeing my best mate's little sister completely differently. Except, there might be something in the way she smiles at me that gives me hope I'm not as far out of her league as I thought. It might just be time that this chaos gets a little geek.
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!
G.U.A.R.D. Book #4: Tracked by RobynAster
27 parts Complete
"A lot of agents fight for the sake of fighting. Others do it because they believe it the right thing to do. Other agents-you-fight to defend those you are closest with. You can't fight simply because the League of Blood is bad. You must make it personal. Otherwise you have no drive." ---- After a useless summer spent in Base 5, Logan Ryder (aka Dustin Light) is sent away from his friends to a station in the mountains with the most obnoxious recruit G.U.A.R.D. has ever seen: Athena Cleve. Of course, his station and Base 5 are attacked by the League, and, worse, Ally is reportedly seen flying away with the enemy organization. Upon mounting a rescue for her, Logan finds someone he is not at all expecting. To be sleeping in a weird, human-sized pod, at least. But things can't be THAT easy. In the midst of trying to "protect" his friends by not telling them anything, Logan has to be rescued himself from a League encampment, and, of course, then gets kidnapped. By his sister. The assassin one, not the one who lost her memory due to a serum given to her by the assassin one. Sisters are the best. [NOTE:: First books are called "Clandestine," "Aberrations," and "Recusant." Fifth and final book is currently in the works.] [WARNING: This book contains content this is a little more violent than the first three books. Read at your own discretion.] ---- Yay! I'm so glad you decided to continue reading the series. I hope you enjoy reading enjoy it as much as I did writing it. If you have any thoughts, questions, comments, fanmail, etc., please contact me through private messaging or this email: robynaster@gmail.com
Beacon Paradox by Growling_moon
45 parts Complete
"But before the six friends could ponder on it or even think what to do with the photo, everything started to move. They felt they are being pulled by an imaginary force and the strength of this pull is too much that cannot even hold onto anything. They are lifted off their feet and pulled back to somewhere they do not know. But they are trying to hold onto each other's hand." Six friends reuniting after 10 years from their high school graduation. They have not seen each other face to face and now are reuniting as they go back to their hometown after getting a bizarre form of 'Beacon' or 'Call'. As soon as they step into their hometown, they face things. From learning about the death of a family member, to strange news about family, about their childhood homes, to learning things about their past that they never knew and even finding someone to love. Strange occurrences followed them, but the six friends did not want to back down from figuring out what is true and what is not. After all their past is what shaped them to be how they are now. As the six friends continue their journey to finding truth, they are faced with some challenges. Some normal ones and some very bizarre ones. How can one day's event cause so much uproar? How can one day when the six friends remember having a detention change to them being missing as everyone in town tells them? Read to find out how the six friends-Ivory, Lauren, Zoey, Ethan, Reed and Cassandra- navigate through the strange things they find to the path of finding the truth. Who said reuniting with old friends is always nice and comforting? These six friends would differ as they reacquaint themselves with their hometown, Shadowland. All names of characters and places mentioned in the story are fictional. Any matches with people or places in real life are purely coincidental. Note: If you are reading this story on any platform other than Watt-pad you are very likely to be at risk of a malware attack.
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?
What A Tease [girlxgirl] by KayLitha
20 parts Complete
Cassandra - I've gone through life's ups and downs because of you. I've felt how crazy love can be with you. But I just can't get you off my mind. You've got a piece of me and honestly, my life would suck without you. Alice - I let you go once. I won't let go anymore. All these mixed signals? They're all your unsaid feelings. You're still there, hurting yourself with her. But I'll wait, and I'll be your crying shoulder. I'll be love's suicide. Rebecca - I had lost you once. But you came back to me. Holding you now, feels like a mistery. How can I have you again? How can you still love me after all I let you went through? But now, the only thing I know is that I will do my best to cherish you forever, and never hurt you anymore. When life gives you back what you've lost, how will you take it? Cass had it all. Money, good grades, popularity, friends, She was on top of the world. And she threw it all. Alice, being a little girl, couldn't understand why or what had happened. All she knew was Cass was hurt and She wanted Cass to be happy again. So she did whatever she could to help out of love, only to have Cass walked out. Rebecca didn't have a choice. She couldn't have given her burden to the woman she loves tenderly. She was afraid that Cass would have left her if she had known. So she had to endure everything until she exploded. After almost 4 years, Cass is now back in town. Alice falls deeper in love with her, as Cass has a little crush on her. She thought this time, it will all go well. She would be dating Alice and everything's going to be fine. But when she met Rebecca, and saw that she still loves her, everything got way more complicated than before.
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.
Unearthed shadows by MaxineTheDarkArtist
10 parts Complete Mature
(This book is a Marvel alternate universe book. There will be some references from some movies but overall this is built on my own ideas. P. S there will be moments of dialogue from movies) ⟬Please know and understand⟭ (I DO NOT OWN MARVEL) (I DO NOT OWN THE MARVEL CHARACTERS THAT ARE MENTIONED IN THIS BOOK) (I DO HOWEVER OWN CASSANDRA BECAUSE SHE IS MY CHARACTER.) (THIS IS ALSO SET IN CAPTAIN AMERICA WINTER SOLDIER) »»--⍟--«« "That bad, huh?" Steve asked "I didn't say that." She responded "Well it kinda sounds like what you're saying." He pointed out "No I didn't I was just wondering how much practice you've had." She shrugs "You don't need practice." He sighed out "Everyone does." She retorts. "It was not my first kiss since 1945. I'm 95. Not. Dead." Steve responds and as they continue talking I pull over "Someone else drive." I said cutting them off and Steve volunteers and after a quick reset I lean back and I pull my good up and look out the window as Steve starts to drive. »»--⍟--«« Cassandra is a girl who has gone through a ROUGH time. Kidnapped from a young age and turned into a brave soldier who then realized she was working for the wrong people then turned into a cold killer for HYDRA for over 70 years. However it doesn't end there what's her past exactly? Can she overcome it? And what will happen when the others find out the things she has done or the life she once lived? So many more questions so little time. Let's see what happens shall we? Here is her story- **✿❀❀✿** {Badges/Ribbons} #232 -Heavy angst
You may also like
Slide 1 of 10
Transmigrated With A System: I Became The Billionaire Contracted Wife (Ongoing)  cover
[excerpt] Chaos & the Geek (Grace Grayson Security Book 1) cover
Complications (MxM) cover
G.U.A.R.D. Book #4: Tracked cover
Beacon Paradox cover
Caged By Him cover
What A Tease [girlxgirl] cover
𝐅𝐎𝐑𝐁𝐈𝐃𝐃𝐄𝐍 cover
This Is What I'm Good At {Adopted By @CommanderALFA} cover
Unearthed shadows 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?