670 likes | 857 Views
Design, performance and capacity - Factors of successful intranet and internet SharePoint sites. Sanjay Narang, Anandan Kumaran , Singaram Murigappan. Agenda. Real Life Implementation – www. c ognizant.com Real Life Case Study – Capacity Planning Aspects Of Performance
E N D
Design, performance and capacity - Factors of successful intranet and internet SharePoint sites Sanjay Narang, AnandanKumaran, SingaramMurigappan
Agenda • Real Life Implementation – www.cognizant.com • Real Life Case Study – Capacity Planning • Aspects Of Performance • Capacity Management Model • Model • Design
www.cognizant.com SharePoint 2010 Implementation
Publish Content • Marketing team needs a robust mechanism to publish content effectively without needing specialized technical skill
Content Deployment Authoring Pre-Production www.cognizant.com Content authored is saved in the authoring server database Content push by marketing admin Content authored is moved to the preproduction environment. It allows the user to verify the content before pushing live Content push by marketing admin Content is moved from preproduction environment to live environment after verification
Content Authoring • nt Content Author needs a mechanism to add/edit content, upload documents without worrying about the layout or having pre-requisite design skills
Friendly URLs Need for friendly URLs that are easier for users to remember and for search engines to find http://www.cognizant.com/banking-financial-services/Pages/landingPage.aspx
URL Rewrite • Powerful rules to transform complex URLs into simple and consistent web addresses • Rule-based URL rewriting engine • Regular expression pattern matching • Downloadable • Download: • http://go.microsoft.com/?linkid=9722532
Configuration - Inbound • Inbound rules convert the user friendly URLs provided by the users to actual URLs
Configuration - Outbound • Outbound rules convert the actual URLs to the user friendly URLs
Friendly URL - Output http://www.cognizant.com/banking-financial-services
URL Rewrite Support Not officially supported by the Microsoft Product Team
Faster Site Need for the site to equally responsive and quick to all users across the globe. The load of users on the application will vary especially during financial results but I need a cost effective solution
SharePoint Out-Of-Box • Output Caching • Object Cache • This can load but not latency
Content Delivery Network • Deliver content faster • Scalability • Across the globe users has similar experience on accessing the site
Case Study – Contoso Intranet Portal • 150,000 users spread across globe • Existing site • The gateway to all other applications • primarily HTML/ASP/JavaScript • New site • Intranet Publishing on SharePoint Server 2010 • Widget based homepage, • Much more content on home page including Flash videos
Capacity Management • Capacity Planning • One time sizing • Selection & Configuration • Data architecture • Topologies (physical and logical) • Hardware • Capacity Management • Extends Planning • Cyclic Process • Monitored & Optimized • Changing Conditions and Requirements
Aspects of Performance • Latency • Throughput • Data Scale • Reliability
capacity management Model
Definitions and Conventions • Users • Concurrent Users • Active Users • RPS
Definitions and Conventions • User Types
Model • Determine Workload • Determine DataSet • Set Performance and Reliability Targets
RPS Estimation (New Env) Number RPH/User RPH Total Users 150,000 Active Users 50,000 Light (10%) 5,000 20 100,000 Typical (70%) 35,00036 1260,000 Heavy (15%) 7,500 60 450,000 Extreme (5%) 2,500 120 300,000 Total RPH 2,111,000 RPS (RPH/3600) 586 Concurrency 50% Effective RPS 293
RPS Calculations (Existing Env) • IIS Logs • Take from all servers into a central location • Take it for one of the peak day • User Tools • LogParser 2.2
Get RPS per second logparser-i:IISW3C -o:CSV "SELECT QUANTIZE(TO_TIMESTAMP(date, time), 3600) AS Hour, QUANTIZE(TO_TIMESTAMP(date, time), 1) AS Second, COUNT(*) AS RPS INTORPS_No401s.csv FROM*.log WHEREsc-status <> 401 GROUP BY Hour, Second"
RPS Every Second for 24 Hours
Avg and Max RPS Every Hour for 24 Hours
Avoid Image, CSS, JS • Get File Extension to_lowercase EXTRACT_EXTENSION(cs-uri-stem)) • exclude Where clause fext <> ‘jpg’ AND fext <> ‘jpeg’ AND fext <> ‘gif’ AND fext <> ‘png’ AND fext <> ‘js’ AND fext <> ‘css’
Decision Point – Peak or Average • Average RPS on a day • Average RPS in a peak hour • Maximum RPS in a peak hour 220 700 1500
Performance and Reliability Targets • Availability • Numbers of Nines (99%, 99.9%, 99.99%) • Consider • Patch Management • Code Releases • Server Responsiveness • E.g. < 1 sec • System Resource Utilization • E.g. Avg CPU < 50% , Available Memory
Model - Summary • Total Number of Users – 150,000 • Total Request in a day – 18,000,000 • Throughput (RPS) – 1500, 700, 220 • Storage - 5 TB • Server Response Time < 1 sec
capacity management Design
Design • Identify case study • Choose an Architecture • Determine Hardware
Know SharePoint 2010 • Vs SharePoint 2007 • Service Applications & Cross Farm Publishing • Oversizing vs. Undersizing • Reference Architectures • Single server, small, medium and large farms