SlideShare a Scribd company logo
1 of 40
Download to read offline
Buenas Prácticas para publicar tu
“website” con Microsoft SharePoint
2010
Juan Andrés Valenzuela, MVP SharePoint Server
@JANDRESVAL | http://jandresval.wordpress.com
Best Practices for Capacity Management
Capacity
Planning
Architect
for Scale
Pilot &
Test
Deploy
Monitor &
Validate
Objetivos
• Control de la Carga de Contenidos
– OutPut Cache
– Object cache
– Blob Storage
• Eficiencia y Eficacia
– ASP.Net Post-Cache Substitution
• Disponibilidad del Contenido
– Deployment Content
The case for caching
# of Front-end Web Servers
Where’s the bottleneck?
Web server CPU utilization should be the bottleneck
Key Scale Tools: The Caches
Output cache
• How to set it up
– Site Settings  Site Collection Cache Profiles
– Site Settings  Site Collection Output Cache
• Cache profiles give you granularity
– Anonymous vs. authenticated
– Different caching behavior for certain page layouts
– “Vary By” parameters
Recommended cache configuration
• For site visitors
– Public Internet cache profile
– Don’t enable “check for changes”
– Minimize vary by parameters
• For authors/admins (authenticated users)
– Consider not caching
Tip: Making sure the output cache is working…
Monitoring the output cache
• A cache miss is more expensive than rendering a page without caching
• Lots of cache trimming? Tweak duration or scale up web servers
A classical debate
Fast and fresh
ASP.Net Post-Cache Substitution
• Sometimes you want completely “dynamic” content elements on an otherwise
cached page.
ASP.Net Post-Cache Substitution
• You can achieve exactly this behavior, by writing a custom control that inherits from
the System.Web.UI.WebControls.Substitution class.
– The rest of the page will be output-cached, but this control will be called to render
on every request.
• Key consideration: Your control will be run on EVERY request… plan carefully.
SharePoint Object Cache
• What is the Object Cache?
– An in-memory cache of results to “Cross-List Queries” against your SharePoint site.
– Used to cache the results of queries that can span lists and sites within a Site Collection.
• But also good for caching results of queries within a single list.
• You’re probably already using it! (And it’s “always on”)
Configuring the Object Cache (Cont’d)
• Key Configuration Decisions
Parameter Name Decision General Principle
Object Cache Size How big do you want the Object Cache to be? Bigger is better (make sure you have
enough RAM)
Cache Changes Do I want a purely time-based cache, or should
every request check to see if cache is still valid?
Checking for changes == more work
per cached request
Results Multiplier Should we cache more results than the user
asked for?
Only useful in scenarios where
different users have different
permissions…
Configuring the Object Cache (Cont’d)
• Configure the two “super” accounts used by the Object Cache via PowerShell:
$wa = Get-SPWebApplication -Identity "<WebApplication>"
$wa.Properties["portalsuperuseraccount"] = "<SuperUser>"
$wa.Properties["portalsuperreaderaccount"] = "<SuperReader>"
$wa.Update()
Account Name Permissions it should have
SuperUser Full Control User Policy for the Web Application
SuperReader Full Read User Policy for the Web Application
What happens when you don’t use the Object
Cache…
What happens when you don’t use the Object
Cache…
• What went wrong?
– The hero control (which was implemented as a
Sandboxed Solution) was using the non-cached
SharePoint API, instead of the cached API.
– The site was launched, and as soon as it got real load, the
Sandboxed Solution throttling system (correctly) stopped
executing the control.
Good
Bad
Using the Object Cache from client-side code
• To build a client-side solution (Silverlight/AJAX/Flash/etc.) that queries
SharePoint data:
1. Write a web service that wraps the Object Cache and executes cache queries
2. Make sure your solution calls your web service.
Do NOT use the SharePoint client object model… it is un-cached.
SharePoint Disk-based BLOB cache
• What is it?
– A cache that stores files on the web-front end’s disk drive.
• Why should you use it?
1. Less rendering work for SharePoint
2. Fewer bytes-over-the-wire for users visiting your site
3. Support for HTTP range requests for media files
Configuring the BLOB cache
Edit the following line in web.config:
<BlobCache
location="C:blobCache"
path=".(gif|jpg|png|css|js)$"
maxSize="10"
max-age="86400"
enabled=“true"/>
Configuring the BLOB cache - Pasos
Enable Filestream  SQL Server
Configuring the BLOB cache - Pasos
Install RBS
Enable RBS
Configuring the BLOB cache - Pasos
Configuring Blob Storage
Content Deployment
Content Deployment - Topologies
Content Deployment
• Authoring Farm • Production Farm
Content DB
EMM Term
Store
Content
Deployment
SSP
Proxy
Content DB
Search Index Search Index
Content Deployment - Types
Content Deployment - Security
Content Deployment - Consideraciones
Content Deployment Best Practice #1:
SQL Server Enterprise Edition & Snapshots
Content Deployment + SQL Server Enterprise
= No export failures due to on-going authoring activity.
SQL 2008 Enterprise Edition & Snapshots
(Cont’d)
Central Administration
 Manage Content
Deployment Paths and Jobs
 <Your Job>
Content Deployment Best Practice #2:
Custom Solutions & Content Deployment
Custom Solutions MUST be “aware” of Content Deployment
Many custom solutions add/modify Content DB objects (and fail if they can’t
add/modify the objects).
The pattern we see in many custom solutions:
1. Admin activates solution on SOURCE of Content Deployment
1. Objects are added to the Content DB
2. Content Deployment will then do the following on the TARGET:
1. Deploy the content objects to the target Content DB
2. Automatically activate the custom solution (FAIL)
Otras Buenas Prácticas – Topologías
Buenas Prácticas para publicar tu
“website” con Microsoft SharePoint
2010
Juan Andrés Valenzuela, MVP SharePoint Server
@JANDRESVAL | http://jandresval.wordpress.com

More Related Content

What's hot

Client-side Website Optimization
Client-side Website OptimizationClient-side Website Optimization
Client-side Website OptimizationRadu Pintilie
 
Implementing High Performance Drupal Sites
Implementing High Performance Drupal SitesImplementing High Performance Drupal Sites
Implementing High Performance Drupal SitesShri Kumar
 
Drupal performance optimization Best Practices
Drupal performance optimization Best PracticesDrupal performance optimization Best Practices
Drupal performance optimization Best PracticesRatnesh kumar, CSM
 
How_To_Soup_Up_Your_Farm
How_To_Soup_Up_Your_FarmHow_To_Soup_Up_Your_Farm
How_To_Soup_Up_Your_FarmNigel Price
 
High Performance - Joomla!Days NL 2009 #jd09nl
High Performance - Joomla!Days NL 2009 #jd09nlHigh Performance - Joomla!Days NL 2009 #jd09nl
High Performance - Joomla!Days NL 2009 #jd09nlJoomla!Days Netherlands
 
Understanding Web Cache
Understanding Web CacheUnderstanding Web Cache
Understanding Web CacheProdigyView
 
World Wide Web Caching
World Wide Web CachingWorld Wide Web Caching
World Wide Web Cachingersanbilik
 
High Performance Drupal
High Performance DrupalHigh Performance Drupal
High Performance DrupalChapter Three
 
Ehcache Architecture, Features And Usage Patterns
Ehcache Architecture, Features And Usage PatternsEhcache Architecture, Features And Usage Patterns
Ehcache Architecture, Features And Usage PatternsEduardo Pelegri-Llopart
 
Caching for J2ee Enterprise Applications
Caching for J2ee Enterprise ApplicationsCaching for J2ee Enterprise Applications
Caching for J2ee Enterprise ApplicationsDebajani Mohanty
 
Drupal 7 performance and optimization
Drupal 7 performance and optimizationDrupal 7 performance and optimization
Drupal 7 performance and optimizationShafqat Hussain
 
Caching technology comparison
Caching technology comparisonCaching technology comparison
Caching technology comparisonRohit Kelapure
 
WordPress Hosting Best Practices - Do's and Don't s | WordPress Trivandrum
WordPress Hosting Best Practices - Do's and Don't s  | WordPress TrivandrumWordPress Hosting Best Practices - Do's and Don't s  | WordPress Trivandrum
WordPress Hosting Best Practices - Do's and Don't s | WordPress TrivandrumWordPress Trivandrum
 
3. v sphere big data extensions
3. v sphere big data extensions3. v sphere big data extensions
3. v sphere big data extensionsChiou-Nan Chen
 
Configuring Apache Servers for Better Web Perormance
Configuring Apache Servers for Better Web PerormanceConfiguring Apache Servers for Better Web Perormance
Configuring Apache Servers for Better Web PerormanceSpark::red
 
Skalowalna architektura na przykładzie soccerway.com
Skalowalna architektura na przykładzie soccerway.comSkalowalna architektura na przykładzie soccerway.com
Skalowalna architektura na przykładzie soccerway.comSpodek 2.0
 
Boost the Performance of SharePoint Today!
Boost the Performance of SharePoint Today!Boost the Performance of SharePoint Today!
Boost the Performance of SharePoint Today!Brian Culver
 
Optimising for Performance
Optimising for PerformanceOptimising for Performance
Optimising for Performancethomas_mb
 

What's hot (20)

Client-side Website Optimization
Client-side Website OptimizationClient-side Website Optimization
Client-side Website Optimization
 
Implementing High Performance Drupal Sites
Implementing High Performance Drupal SitesImplementing High Performance Drupal Sites
Implementing High Performance Drupal Sites
 
Drupal performance optimization Best Practices
Drupal performance optimization Best PracticesDrupal performance optimization Best Practices
Drupal performance optimization Best Practices
 
How_To_Soup_Up_Your_Farm
How_To_Soup_Up_Your_FarmHow_To_Soup_Up_Your_Farm
How_To_Soup_Up_Your_Farm
 
High Performance - Joomla!Days NL 2009 #jd09nl
High Performance - Joomla!Days NL 2009 #jd09nlHigh Performance - Joomla!Days NL 2009 #jd09nl
High Performance - Joomla!Days NL 2009 #jd09nl
 
Caching Strategies
Caching StrategiesCaching Strategies
Caching Strategies
 
Understanding Web Cache
Understanding Web CacheUnderstanding Web Cache
Understanding Web Cache
 
World Wide Web Caching
World Wide Web CachingWorld Wide Web Caching
World Wide Web Caching
 
High Performance Drupal
High Performance DrupalHigh Performance Drupal
High Performance Drupal
 
Ehcache Architecture, Features And Usage Patterns
Ehcache Architecture, Features And Usage PatternsEhcache Architecture, Features And Usage Patterns
Ehcache Architecture, Features And Usage Patterns
 
Caching for J2ee Enterprise Applications
Caching for J2ee Enterprise ApplicationsCaching for J2ee Enterprise Applications
Caching for J2ee Enterprise Applications
 
Optimize
OptimizeOptimize
Optimize
 
Drupal 7 performance and optimization
Drupal 7 performance and optimizationDrupal 7 performance and optimization
Drupal 7 performance and optimization
 
Caching technology comparison
Caching technology comparisonCaching technology comparison
Caching technology comparison
 
WordPress Hosting Best Practices - Do's and Don't s | WordPress Trivandrum
WordPress Hosting Best Practices - Do's and Don't s  | WordPress TrivandrumWordPress Hosting Best Practices - Do's and Don't s  | WordPress Trivandrum
WordPress Hosting Best Practices - Do's and Don't s | WordPress Trivandrum
 
3. v sphere big data extensions
3. v sphere big data extensions3. v sphere big data extensions
3. v sphere big data extensions
 
Configuring Apache Servers for Better Web Perormance
Configuring Apache Servers for Better Web PerormanceConfiguring Apache Servers for Better Web Perormance
Configuring Apache Servers for Better Web Perormance
 
Skalowalna architektura na przykładzie soccerway.com
Skalowalna architektura na przykładzie soccerway.comSkalowalna architektura na przykładzie soccerway.com
Skalowalna architektura na przykładzie soccerway.com
 
Boost the Performance of SharePoint Today!
Boost the Performance of SharePoint Today!Boost the Performance of SharePoint Today!
Boost the Performance of SharePoint Today!
 
Optimising for Performance
Optimising for PerformanceOptimising for Performance
Optimising for Performance
 

Similar to Best practices para publicar un WebSite con SharePoint Server 2010

SPSUtah 2014 SharePoint 2013 Performance (Admin)
SPSUtah 2014 SharePoint 2013 Performance (Admin)SPSUtah 2014 SharePoint 2013 Performance (Admin)
SPSUtah 2014 SharePoint 2013 Performance (Admin)Brian Culver
 
More Cache for Less Cash (DevLink 2014)
More Cache for Less Cash (DevLink 2014)More Cache for Less Cash (DevLink 2014)
More Cache for Less Cash (DevLink 2014)Michael Collier
 
Accelerating Rails with edge caching
Accelerating Rails with edge cachingAccelerating Rails with edge caching
Accelerating Rails with edge cachingMichael May
 
Cloud computing 3702
Cloud computing 3702Cloud computing 3702
Cloud computing 3702Jess Coburn
 
Blue Green Sitecore Deployments on Azure
Blue Green Sitecore Deployments on AzureBlue Green Sitecore Deployments on Azure
Blue Green Sitecore Deployments on AzureRob Habraken
 
Rails Caching: Secrets From the Edge
Rails Caching: Secrets From the EdgeRails Caching: Secrets From the Edge
Rails Caching: Secrets From the EdgeFastly
 
Rails Caching Secrets from the Edge
Rails Caching Secrets from the EdgeRails Caching Secrets from the Edge
Rails Caching Secrets from the EdgeMichael May
 
Sharepoint Performance - part 2
Sharepoint Performance - part 2Sharepoint Performance - part 2
Sharepoint Performance - part 2Regroove
 
Share point 2010 performance and capacity planning best practices
Share point 2010 performance and capacity planning best practicesShare point 2010 performance and capacity planning best practices
Share point 2010 performance and capacity planning best practicesEric Shupps
 
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...Amazon Web Services
 
Website optimization with request reduce
Website optimization with request reduceWebsite optimization with request reduce
Website optimization with request reduceMatt Wrock
 
Plan, prepare & overall process of upgrade and migrate to SharePoint 2013
Plan, prepare & overall process of upgrade and migrate to SharePoint 2013Plan, prepare & overall process of upgrade and migrate to SharePoint 2013
Plan, prepare & overall process of upgrade and migrate to SharePoint 2013Kashish Sukhija
 
What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013
What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013
What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013J.D. Wade
 
Rev Your Engines - SharePoint Performance Best Practices
Rev Your Engines - SharePoint Performance Best PracticesRev Your Engines - SharePoint Performance Best Practices
Rev Your Engines - SharePoint Performance Best PracticesEric Shupps
 
Tuning Your SharePoint Environment
Tuning Your SharePoint EnvironmentTuning Your SharePoint Environment
Tuning Your SharePoint Environmentvmaximiuk
 
Rev Your Engines: SharePoint Performance Best Practices
Rev Your Engines: SharePoint Performance Best PracticesRev Your Engines: SharePoint Performance Best Practices
Rev Your Engines: SharePoint Performance Best PracticesSPC Adriatics
 
Building the Perfect SharePoint 2010 Farm - Sharing the Point South America
Building the Perfect SharePoint 2010 Farm - Sharing the Point South AmericaBuilding the Perfect SharePoint 2010 Farm - Sharing the Point South America
Building the Perfect SharePoint 2010 Farm - Sharing the Point South AmericaMichael Noel
 
More Cache for Less Cash
More Cache for Less CashMore Cache for Less Cash
More Cache for Less CashMichael Collier
 
Enterprise WordPress - Performance, Scalability and Redundancy
Enterprise WordPress - Performance, Scalability and RedundancyEnterprise WordPress - Performance, Scalability and Redundancy
Enterprise WordPress - Performance, Scalability and RedundancyJohn Giaconia
 

Similar to Best practices para publicar un WebSite con SharePoint Server 2010 (20)

SPSUtah 2014 SharePoint 2013 Performance (Admin)
SPSUtah 2014 SharePoint 2013 Performance (Admin)SPSUtah 2014 SharePoint 2013 Performance (Admin)
SPSUtah 2014 SharePoint 2013 Performance (Admin)
 
More Cache for Less Cash (DevLink 2014)
More Cache for Less Cash (DevLink 2014)More Cache for Less Cash (DevLink 2014)
More Cache for Less Cash (DevLink 2014)
 
Accelerating Rails with edge caching
Accelerating Rails with edge cachingAccelerating Rails with edge caching
Accelerating Rails with edge caching
 
Cloud computing 3702
Cloud computing 3702Cloud computing 3702
Cloud computing 3702
 
Blue Green Sitecore Deployments on Azure
Blue Green Sitecore Deployments on AzureBlue Green Sitecore Deployments on Azure
Blue Green Sitecore Deployments on Azure
 
Rails Caching: Secrets From the Edge
Rails Caching: Secrets From the EdgeRails Caching: Secrets From the Edge
Rails Caching: Secrets From the Edge
 
Rails Caching Secrets from the Edge
Rails Caching Secrets from the EdgeRails Caching Secrets from the Edge
Rails Caching Secrets from the Edge
 
Sharepoint Performance - part 2
Sharepoint Performance - part 2Sharepoint Performance - part 2
Sharepoint Performance - part 2
 
Share point 2010 performance and capacity planning best practices
Share point 2010 performance and capacity planning best practicesShare point 2010 performance and capacity planning best practices
Share point 2010 performance and capacity planning best practices
 
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
 
Website optimization with request reduce
Website optimization with request reduceWebsite optimization with request reduce
Website optimization with request reduce
 
Plan, prepare & overall process of upgrade and migrate to SharePoint 2013
Plan, prepare & overall process of upgrade and migrate to SharePoint 2013Plan, prepare & overall process of upgrade and migrate to SharePoint 2013
Plan, prepare & overall process of upgrade and migrate to SharePoint 2013
 
What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013
What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013
What SQL DBAs need to know about SharePoint-Kansas City, Sept 2013
 
Mini-Training: To cache or not to cache
Mini-Training: To cache or not to cacheMini-Training: To cache or not to cache
Mini-Training: To cache or not to cache
 
Rev Your Engines - SharePoint Performance Best Practices
Rev Your Engines - SharePoint Performance Best PracticesRev Your Engines - SharePoint Performance Best Practices
Rev Your Engines - SharePoint Performance Best Practices
 
Tuning Your SharePoint Environment
Tuning Your SharePoint EnvironmentTuning Your SharePoint Environment
Tuning Your SharePoint Environment
 
Rev Your Engines: SharePoint Performance Best Practices
Rev Your Engines: SharePoint Performance Best PracticesRev Your Engines: SharePoint Performance Best Practices
Rev Your Engines: SharePoint Performance Best Practices
 
Building the Perfect SharePoint 2010 Farm - Sharing the Point South America
Building the Perfect SharePoint 2010 Farm - Sharing the Point South AmericaBuilding the Perfect SharePoint 2010 Farm - Sharing the Point South America
Building the Perfect SharePoint 2010 Farm - Sharing the Point South America
 
More Cache for Less Cash
More Cache for Less CashMore Cache for Less Cash
More Cache for Less Cash
 
Enterprise WordPress - Performance, Scalability and Redundancy
Enterprise WordPress - Performance, Scalability and RedundancyEnterprise WordPress - Performance, Scalability and Redundancy
Enterprise WordPress - Performance, Scalability and Redundancy
 

More from Juan Andrés Valenzuela

More from Juan Andrés Valenzuela (11)

Gestión de data y Storage en Azure
Gestión de data y Storage en AzureGestión de data y Storage en Azure
Gestión de data y Storage en Azure
 
SharePoint y la Generación de Comunidades
SharePoint y la Generación de ComunidadesSharePoint y la Generación de Comunidades
SharePoint y la Generación de Comunidades
 
Material adicional c sharp
Material adicional c sharpMaterial adicional c sharp
Material adicional c sharp
 
Seguridad con ForeFront y SharePoint: Juntos mucho mejor
Seguridad con ForeFront y SharePoint: Juntos mucho mejorSeguridad con ForeFront y SharePoint: Juntos mucho mejor
Seguridad con ForeFront y SharePoint: Juntos mucho mejor
 
Flujos de Trabajo en SharePoint 2010
Flujos de Trabajo en SharePoint 2010Flujos de Trabajo en SharePoint 2010
Flujos de Trabajo en SharePoint 2010
 
Ampliar el impacto deSharePoint en toda la empresa
Ampliar el impacto deSharePoint en toda la empresaAmpliar el impacto deSharePoint en toda la empresa
Ampliar el impacto deSharePoint en toda la empresa
 
SharePoint y la Colaboración Social
SharePoint y la Colaboración SocialSharePoint y la Colaboración Social
SharePoint y la Colaboración Social
 
Plan de gobierno para SharePoint
Plan de gobierno para SharePointPlan de gobierno para SharePoint
Plan de gobierno para SharePoint
 
Deploying SharePoint @ Cloud
Deploying SharePoint @ CloudDeploying SharePoint @ Cloud
Deploying SharePoint @ Cloud
 
Charla - SharePoint en la Nube (17Jul2013)
Charla - SharePoint en la Nube (17Jul2013)Charla - SharePoint en la Nube (17Jul2013)
Charla - SharePoint en la Nube (17Jul2013)
 
Charla : Búsqueda Empresarial en Sharepoint 2013
Charla : Búsqueda Empresarial en Sharepoint 2013Charla : Búsqueda Empresarial en Sharepoint 2013
Charla : Búsqueda Empresarial en Sharepoint 2013
 

Recently uploaded

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 

Best practices para publicar un WebSite con SharePoint Server 2010

  • 1. Buenas Prácticas para publicar tu “website” con Microsoft SharePoint 2010 Juan Andrés Valenzuela, MVP SharePoint Server @JANDRESVAL | http://jandresval.wordpress.com
  • 2.
  • 3. Best Practices for Capacity Management Capacity Planning Architect for Scale Pilot & Test Deploy Monitor & Validate
  • 4. Objetivos • Control de la Carga de Contenidos – OutPut Cache – Object cache – Blob Storage • Eficiencia y Eficacia – ASP.Net Post-Cache Substitution • Disponibilidad del Contenido – Deployment Content
  • 5. The case for caching # of Front-end Web Servers
  • 7. Web server CPU utilization should be the bottleneck
  • 8. Key Scale Tools: The Caches
  • 9. Output cache • How to set it up – Site Settings  Site Collection Cache Profiles – Site Settings  Site Collection Output Cache • Cache profiles give you granularity – Anonymous vs. authenticated – Different caching behavior for certain page layouts – “Vary By” parameters
  • 10. Recommended cache configuration • For site visitors – Public Internet cache profile – Don’t enable “check for changes” – Minimize vary by parameters • For authors/admins (authenticated users) – Consider not caching
  • 11. Tip: Making sure the output cache is working…
  • 12. Monitoring the output cache • A cache miss is more expensive than rendering a page without caching • Lots of cache trimming? Tweak duration or scale up web servers
  • 13.
  • 16. ASP.Net Post-Cache Substitution • Sometimes you want completely “dynamic” content elements on an otherwise cached page.
  • 17. ASP.Net Post-Cache Substitution • You can achieve exactly this behavior, by writing a custom control that inherits from the System.Web.UI.WebControls.Substitution class. – The rest of the page will be output-cached, but this control will be called to render on every request. • Key consideration: Your control will be run on EVERY request… plan carefully.
  • 18. SharePoint Object Cache • What is the Object Cache? – An in-memory cache of results to “Cross-List Queries” against your SharePoint site. – Used to cache the results of queries that can span lists and sites within a Site Collection. • But also good for caching results of queries within a single list. • You’re probably already using it! (And it’s “always on”)
  • 19. Configuring the Object Cache (Cont’d) • Key Configuration Decisions Parameter Name Decision General Principle Object Cache Size How big do you want the Object Cache to be? Bigger is better (make sure you have enough RAM) Cache Changes Do I want a purely time-based cache, or should every request check to see if cache is still valid? Checking for changes == more work per cached request Results Multiplier Should we cache more results than the user asked for? Only useful in scenarios where different users have different permissions…
  • 20. Configuring the Object Cache (Cont’d) • Configure the two “super” accounts used by the Object Cache via PowerShell: $wa = Get-SPWebApplication -Identity "<WebApplication>" $wa.Properties["portalsuperuseraccount"] = "<SuperUser>" $wa.Properties["portalsuperreaderaccount"] = "<SuperReader>" $wa.Update() Account Name Permissions it should have SuperUser Full Control User Policy for the Web Application SuperReader Full Read User Policy for the Web Application
  • 21. What happens when you don’t use the Object Cache…
  • 22. What happens when you don’t use the Object Cache… • What went wrong? – The hero control (which was implemented as a Sandboxed Solution) was using the non-cached SharePoint API, instead of the cached API. – The site was launched, and as soon as it got real load, the Sandboxed Solution throttling system (correctly) stopped executing the control. Good Bad
  • 23. Using the Object Cache from client-side code • To build a client-side solution (Silverlight/AJAX/Flash/etc.) that queries SharePoint data: 1. Write a web service that wraps the Object Cache and executes cache queries 2. Make sure your solution calls your web service. Do NOT use the SharePoint client object model… it is un-cached.
  • 24. SharePoint Disk-based BLOB cache • What is it? – A cache that stores files on the web-front end’s disk drive. • Why should you use it? 1. Less rendering work for SharePoint 2. Fewer bytes-over-the-wire for users visiting your site 3. Support for HTTP range requests for media files
  • 25. Configuring the BLOB cache Edit the following line in web.config: <BlobCache location="C:blobCache" path=".(gif|jpg|png|css|js)$" maxSize="10" max-age="86400" enabled=“true"/>
  • 26. Configuring the BLOB cache - Pasos Enable Filestream  SQL Server
  • 27. Configuring the BLOB cache - Pasos Install RBS Enable RBS
  • 28. Configuring the BLOB cache - Pasos Configuring Blob Storage
  • 30. Content Deployment - Topologies
  • 31. Content Deployment • Authoring Farm • Production Farm Content DB EMM Term Store Content Deployment SSP Proxy Content DB Search Index Search Index
  • 34. Content Deployment - Consideraciones
  • 35. Content Deployment Best Practice #1: SQL Server Enterprise Edition & Snapshots Content Deployment + SQL Server Enterprise = No export failures due to on-going authoring activity.
  • 36. SQL 2008 Enterprise Edition & Snapshots (Cont’d) Central Administration  Manage Content Deployment Paths and Jobs  <Your Job>
  • 37. Content Deployment Best Practice #2: Custom Solutions & Content Deployment Custom Solutions MUST be “aware” of Content Deployment Many custom solutions add/modify Content DB objects (and fail if they can’t add/modify the objects). The pattern we see in many custom solutions: 1. Admin activates solution on SOURCE of Content Deployment 1. Objects are added to the Content DB 2. Content Deployment will then do the following on the TARGET: 1. Deploy the content objects to the target Content DB 2. Automatically activate the custom solution (FAIL)
  • 38. Otras Buenas Prácticas – Topologías
  • 39.
  • 40. Buenas Prácticas para publicar tu “website” con Microsoft SharePoint 2010 Juan Andrés Valenzuela, MVP SharePoint Server @JANDRESVAL | http://jandresval.wordpress.com