Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Lucandra

14,750 views

Published on

Lucandra presentation by Jake Luciani

  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • thanks
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Hi, has the video been uploaded yet. It would be great if you would post a link to the video that goes along with the lecture. Thank you.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Good job!
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Lucandra

  1. 1. Lucandra Lucene + Cassandra http://github/tjake/Lucandra http://twitter.com/tjake Jake Luciani
  2. 2. What we'll cover today: <ul><ul><li>Search use-cases </li></ul></ul><ul><ul><li>Problems scaling and maintaining Lucene/Solr </li></ul></ul><ul><ul><li>Cassandra </li></ul></ul><ul><ul><li>Lucandra </li></ul></ul><ul><ul><li>Lucandra in Action  </li></ul></ul><ul><ul><li>Q&A </li></ul></ul>
  3. 3. Types of search apps: <ul><li>  </li></ul>
  4. 4. Types of search apps: <ul><li>  </li></ul>
  5. 5. Lucene/Solr Scaling Problems <ul><ul><li>Writes are expensive on a live system </li></ul></ul><ul><ul><ul><li>Merge, Reopen, Optimize, Sorting </li></ul></ul></ul><ul><ul><li>&quot;Too many open files&quot; </li></ul></ul><ul><ul><li>Solr replication too many moving parts </li></ul></ul><ul><ul><li>Scaling writes requires client side sharding </li></ul></ul><ul><ul><li>Lots of grid management -> ZooKeeper? </li></ul></ul><ul><ul><li>Backups? Monitoring? Failures? Ops Team? Oh my! </li></ul></ul><ul><li>This sounds a lot like mysql doesn't it?.... </li></ul>
  6. 6. Cassandra - Love Child of BigTable and Dynamo <ul><ul><li>Peer to peer (easy to add new nodes) </li></ul></ul><ul><ul><li>CAP Configurable </li></ul></ul><ul><ul><li>Multi-level TreeMap (sorta) </li></ul></ul><ul><ul><li>Pluggable replication/sorting </li></ul></ul><ul><ul><li>Writes are very fast! </li></ul></ul><ul><ul><li>Low latency  </li></ul></ul><ul><ul><li>Integrates with Hadoop  </li></ul></ul><ul><ul><li>Major adoption and development </li></ul></ul>
  7. 7. Cassandra's Data Model <ul><li>{ &quot;bloghost.com&quot; :                                                   // Keyspace   </li></ul><ul><li>   { &quot;Posts&quot; :                                                            // ColumnFamily </li></ul><ul><li>       { &quot; tjake.bloghost.com &quot; :                                   // Key </li></ul><ul><li>           { &quot;20100426-Lucandra&quot; : &quot;lucandra talk today!&quot; } // Columns        </li></ul><ul><li>        }   </li></ul><ul><li>     }, </li></ul><ul><li>     { &quot;Comments&quot; :                                         // SuperColumnFamily </li></ul><ul><li>         { &quot; tjake.bloghost.com &quot; :                        // Key </li></ul><ul><li>           { &quot;20100426-Lucandra-1&quot;:                // SuperColumn </li></ul><ul><li>               {&quot;From&quot; : &quot;Otis&quot;,&quot;Comment&quot;: &quot;Don't Suck!&quot;}, // Columns    </li></ul><ul><li>           }, </li></ul><ul><li>           { &quot;20100426-Lucandra-2&quot;:                // SuperColumn </li></ul><ul><li>               {&quot;From&quot; : &quot;Jake&quot;,&quot;Comment&quot;: &quot;O.K.&quot;},  // Columns              </li></ul><ul><li>           }, </li></ul><ul><li>     } </li></ul><ul><li>}} </li></ul>
  8. 8. Cassandra - Partitioning
  9. 9. Cassandra - Scale Up / Scale Down
  10. 10. Cassandra - Replication
  11. 11. Solr/Lucene Components
  12. 12. Lucandra Components
  13. 13. How is an index stored? <ul><li>{ &quot;Lucandra&quot; : </li></ul><ul><li>   { &quot;Docs&quot; :                  </li></ul><ul><li>       {  &quot;Index1/Doc1&quot; :  { &quot;Field1&quot; : &quot;T1 T2 T1&quot;, ... }, </li></ul><ul><li>       {  &quot;Index1/Doc2&quot; :  { &quot;Field1&quot; : &quot;T3 T1&quot;, ... } </li></ul><ul><li>   }, </li></ul><ul><li>   {&quot;TermVectors&quot; : </li></ul><ul><li>       {&quot;Index1/Field1/T1&quot; : { &quot;Doc1&quot;: [0, 2], &quot;Doc2&quot;:[1] }, </li></ul><ul><li>       {&quot;Index1/Field1/T2&quot; : { &quot;Doc1&quot;: [1] }, </li></ul><ul><li>       {&quot;Index1/Field1/T3&quot; : { &quot;Doc2&quot;: [1] }, </li></ul><ul><li>   } </li></ul><ul><li>} </li></ul>
  14. 14. Lucandra Deployed
  15. 15. Lucandra In Action Sparse.ly and Wikassandra
  16. 16. sparse.ly -  twitter search for friends only <ul><ul><li>~4k Indexes on 2 boxes </li></ul></ul>
  17. 17. Wikassandra - Search wikipedia <ul><ul><li>4 node cluster </li></ul></ul><ul><ul><li>3k writes per sec (over thrift from single node) </li></ul></ul><ul><ul><li>Solr interface </li></ul></ul>

×