1 / 11

AppFabric in the Enterprise

AppFabric in the Enterprise. Supporting Web Farms Features that help performance, availability & scale. AppFabric Web Farm Support. WebFarm is supported scenario, but has no UI tooling Scripting configuration to: push settings out to all machines in farm Push setting out to new nodes

aurek
Download Presentation

AppFabric in the Enterprise

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. AppFabric in the Enterprise • Supporting Web Farms • Features that help performance, availability & scale

  2. AppFabric Web Farm Support • WebFarm is supported scenario, but has no UI tooling • Scripting configuration to: • push settings out to all machines in farm • Push setting out to new nodes • Get content out with WebDeploy • Package entire server • Individual IIS applications • Script deployment

  3. Approach to Data Management • Manage Size of Monitoring & Persistence SQL database stores • DB Size & Retention Policy Options • Purge Tracking Event Data: older than date, circular buffer trim • Purge Persistence Data: cleanup after complete

  4. Configuring Monitoring Purge Policy • Manual cleaning • Unused workflow services via SQL • On demand Clear-ASMonitoringSqlDatabase • Configure Archive DB & Purge Policy • Set-ASMonitoringSqlDatabaseArchiveConfiguration • Configure in monitoring db (no ui) • ASConfigurationPropertiesTable • APEnabled: true (1) • APThreshold: 1.5 GB (1500) • APTrimPercentage: 10% (10) • APMaxEventAge: 180 days (180)

  5. AutoStart • Initializes the worker process before the first message is received Services hosted in AppFabric use message-based activation The AutoStart feature improves host responsiveness with minor resource consumption penalty Only available on Windows 7 & Server 2008 R2

  6. Instance Restart - resilience you get for “free” Client Server A Server B Host B Host A WF Service Instance (Running) WF Service Instance (Running) Workflow Management Service Locked to Host A Lock Expires Locked to Host B

  7. Workflow Management Service • Resiliency Scenarios • Scenario 1: Host crashes midway thru executing a workflow • Workflow Management Service looks for this • Schedules workflow to run on another host • Scenario 2: Workflow goes idle and persists waiting for a delay, then machine dies. Machine brought back up long after delay interval elapsed. • Workflow Management Service checks automatically for expired timers • Resumes workflows with expired timers • Control Scenarios • Scenario 3: A user issues a Suspend (or similar) command in the AppFabric UI or via the PowerShell cmdlets. • Workflow Management Service polls for queued commands • Executes the corresponding operation on the Workflow Control Endpoint

  8. Instance Lock Retry Client A Client B Workflow Host B Workflow Host A Unlocked Locked

  9. Configuring Lock Management Defines pattern for time interval (exponential or linear) between retries after failing due to instance lock exception. How long a host holds a lock. Controls the interval between successive polls of the instance store.

  10. AppFabric Configuration • Instance Restart • Lock Retry • AutoStart

  11. Lab 10 • AppFabric in the Enterprise

More Related