Story cover for How Digg migration to Cassandra from MYSQL by Tekslate
How Digg migration to Cassandra from MYSQL
  • Reads 8
  • Votes 1
  • Parts 1
  • Time <5 mins
  • Reads 8
  • Votes 1
  • Parts 1
  • 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
#734cassandra
Content Guidelines
You may also like
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
Survive as a Butler by blackanonymous789
48 parts Ongoing
"My Master"one of the worst game they have ever played,your role is a Butler and only a Butler taking care of one of the many masters in a big house sound easy right?might as well sound boring to the point you think that's might be the reason But no The game wasn't the worst because it's easy and boring It's called the worst because it's hard You have to do anything for them,obey them and worship them or else you'll die Hundreds of rules that must be remembered or else you'll be in trouble And you can never complete the game And the challenges will get harder and days in the game goes by and ones you'll die your going back to zero in the same level of the challenge Which is not good unless you want to reset your game and start all over again But not everyone wants that right? Especially to those who keep failing But what if you get stuck on that worst game? What will you do? You died one day and the next thing you knew is in the middle of the place you don't know After realizing your in the game will you run?hide? Or just go with the flow? Serving a master Obeying him as he owns you When you thought your surviving plan work while something feels off? The master your serving,you though he don't trust you and always give some test starts to get clingy The kid you though is kitten but it's actually a cub lion Another master who is a fox and only has the eyes for those who have power starts to get interest in you And the head who is cold and show no affection to others starts to keep calling for the report about your master What will you do if things doesn't go your way? surviving this place till the end exchange for your return to the place you belong,with your family but can you really do it? "I will show you...I will make you remember even if I have to force you....to where you truly belong"
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
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.
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.
SCP's SCP by ninaclaims
20 parts Complete
This is a story about love and friendship. Friendship can grow so fast, it doesn't matter how long you know that person. If it's right, it's right. Kiara has always been quite lonely. She didn't know what real friendship was like. Until she met Cassandra. Cassandra was that type of friend everyone needs and Kiara was really glad to have Cassandra. They did everything together. Kiara was really depressed before she met Cassandra. She had been bullied and picked on since as long as she can remember. There wasn't even a reason for it and that makes it much worse. After a few years of good friendship, Kiara realized her love for Cassandra took a different turn, she started to have feelings and soon after, she and Cassandra got into a relationship. Life was good. Too good. After graduation, something really really terrible happened. Cassandra got into a car accident. It was really bad. She got into a really bad coma. Now it's three years later and she's still fast asleep. Kiara's life has been on pause ever since. Until- Kiara also got into an accident. Not that kind of accident though.. Kiara accidentally saw things she wasn't supposed to see. Heard things she wasn't supposed to know. The only possible option was to take Kiara with them. And that's when Kiara's life get's off pause. That's when she finally learns how to live again and finally meets people who don't enjoy picking on her. At least.. most of them.. So yeah, this story IS about love and friendship. And about Kiara finding her way.
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
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.
You may also like
Slide 1 of 9
Unearthed shadows cover
Survive as a Butler cover
G.U.A.R.D. Book #4: Tracked cover
Title Erased (Love) cover
What A Tease [girlxgirl] cover
SCP's SCP cover
Zeus cover
This Is What I'm Good At {Adopted By @CommanderALFA} cover
Transmigrated With A System: I Became The Billionaire Contracted Wife  cover

Unearthed shadows

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