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.

SolrCloud-Best Practices for Sitecore. Design, build, and devops considerations

127 views

Published on

Akshay Sura, a leader in the Sitecore community and Sameer Maggon, a Solr guru, will take the audience through what it takes to design, and build Solr environments tuned for and worthy of a great Sitecore implementation. They will also share Devops considerations and best practices that are critical after Sitecore goes live. In addition to their experience-based comments, they will illustrate a number of these best practices with a live demo of SearchStax, a service that delivers Solr in PaaS and that Sitecore itself uses for its Managed Cloud environment.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

SolrCloud-Best Practices for Sitecore. Design, build, and devops considerations

  1. 1. Akshay Sura Partner | Konabos Consulting Sameer Maggon Founder & Search Ninja | SearchStax SOLRCLOUD: BEST PRACTICES FOR SITECORE. DESIGN, BUILD AND DEVOPS CONSIDERATIONS Los Angeles User Group
  2. 2. Los Angeles User Group Los Angeles User Group AGENDA 1. Get you familiar with Apache Solr 2. Sitecore > Azure vs. Apache Solr 3. Overview & Comparison of Solr Topologies 4. Architecting a Production Grade Solr & Zookeeper 5. Backups and Recovery in Solr 6. Cross Region Solr deployment 7. Demo of Solr-as-a-Service making it happen in 30 mins 8. Q&A
  3. 3. Los Angeles User Group Los Angeles User Group ABOUT AKSHAY SURA & SAMEER MAGGON Sameer Maggon • University of Southern California Alum – Viterbi Engineering School (Masters in Computer Science) • Built platforms and teams for Enterprise Search and Search-based Consumer companies. • Spent 15+ years working with Open Source Search Engines (started with Lucene 1.1) • Currently Work at SearchStax, Inc. – Founded the company in 2015 and primary focus is Product & Technology Akshay Sura • Six-time Sitecore MVP • Founder of SUGCON North America 2015, SUGCON India 2018 & 2019, Unofficial Sitecore Training and the Sitecore Slack
  4. 4. Los Angeles User Group Sitecore and Azure Search works great until you don’t ask for much
  5. 5. Los Angeles User Group Los Angeles User Group COMMON AZURE SEARCH LIMITATIONS RE. SITECORE •High Frequency or Heavy Content Indexing Needs •Performance Bottlenecks •Large number of fields (Field Limitation) •Multiple Languages •Not Extensible – Lack of further customizability using custom or community plugins (Content Extraction - PDF, word, etc) •As you scale up, cost increases drastically •Not available in all regions – Does not meet Disaster Recovery Compliance needs •Feature gap •Proprietary API
  6. 6. Los Angeles User Group Solr is the popular, blazing-fast, open source enterprise search platform built on Apache Lucene
  7. 7. Los Angeles User Group Los Angeles User Group ABOUT SOLR • Trusted by 90%+ Fortune 500 Companies • True Open Source with Strong Community • Massive Scalability – used by Salesforce, Walmart, Iron Mountain, etc. • Feature Rich • Faceted Search, Fuzzy Search, Spellcheck, Geospatial, Multi-language, and more. • Auto-Complete / Search Suggest • Content Extraction from Filetypes • Highly Customizable to specific needs • Customizable Relevance Models • Machine Learning Support
  8. 8. Los Angeles User Group Sitecore Practitioner’s experience with Sitecore and Solr
  9. 9. Los Angeles User Group Los Angeles User Group WORLD-CLASS SOLR / SITECORE IMPLEMENTATION CYCLE • Topology • Security • Log management • Monitoring • Reporting • Alerting • Backup • DR strategy • Capacity planning strategy Design • Hi-availability Solr • Hi-availability ZK • Security at rest • Security in transit • Log management • Backup management • Monitoring system • Reporting system • Alerting system • DR (cold, hot) • Multi-region • Autoscaling • Integrate Sitecore with Solr • Incident management • OS patch management • Solr security patches • ZK security patches • AWS node replacements • Cloud node maintenance • Periodic vulnerability scanning • Solr error / log triage & analysis • Solr performance optimization • Solr minor/major version upgrades • Scale-up • Scale-down Build OperateIntegrate
  10. 10. Los Angeles User Group Los Angeles User Group SOLR TOPOLOGIES • Standalone/SolrCloud Server • Master-Slave • High Availability SolrCloud • SolrCloud with CDCR (Cross Data Center Replication)
  11. 11. Los Angeles User Group Los Angeles User Group STANDALONE SERVER OR SOLRCLOUD • Zookeeper and Solr run on same server • Ideal for Non-Production (Development or QA Environments) • Can be run in a “Cloud” mode or “Standalone” mode • No High Availability or Fault Tolerance
  12. 12. Los Angeles User Group Los Angeles User Group SOLRCLOUD JOURNEY TO HIGH AVAILABILITY • Zookeeper is single point of failure
  13. 13. Los Angeles User Group Los Angeles User Group SOLRCLOUD JOURNEY TO HIGH AVAILABILITY • In Cloud Environments, IPs can change and nodes will go down or get recycled. • Don’t want your application to directly be tied to the individual Solr nodes
  14. 14. Los Angeles User Group Los Angeles User Group SOLRCLOUD (HIGH- AVAILABILITY) • High-Availability Zookeeper Ensemble • High-Availability Solr Servers (with replication) • Load Balancer / App Gateway • Ability to Scale up without re- architecting
  15. 15. Los Angeles User Group Los Angeles User Group BACKUPS AND RECOVERY: SOLRCLOUD
  16. 16. Los Angeles User Group Los Angeles User Group BACKUPS AND RECOVERY: SOLRCLOUD • SolrCloud Backups requires shared filesystem mounted on same path on all nodes • Sitecore developers responsibility or implementation of: ­ backup schedules ­ retention logic and cleanup ­ backup/restore verification procedures Shared filesystem, mounted on all nodes Shared filesystem
  17. 17. Los Angeles User Group Los Angeles User Group SOLR TOPOLOGIES: SOLRCLOUD WITH CDCR • Highly Resilient (Entire Data Center can become unavailable without impacting availability) • Localized Traffic Routing is possible • Can be scaled to multiple regions
  18. 18. Los Angeles User Group There is an easier way > Solr-as-a-Service
  19. 19. Los Angeles User Group Los Angeles User Group SEARCHSTAX DEMO
  20. 20. Los Angeles User Group Los Angeles User Group THANK YOU – Q&A Akshay Sura as@kanabos.com tw: @akshaysura13 Sameer Maggon sameer@searchstax.com tw: @maggon

×