深入研究雲端應用程式平台
- AppFabric
張書源

趨勢科技/技術經理
網酷科技/集英信誠/資深顧問
MID 302
…that exposes some functionality
…is easy to consume
…is reusable
…is loosely coupled
…is interoperable
複雜的應用程式的中間層
                                Payment
                                Provider
                                Payment
               Checkout
                                Provider
                Service
                                Payment
      Web        Web        Web Provider
     Server     Server      Server
    Auction     Auction
                              Items and
    Web App     Service
                                 Bids




    Session    Items and        Seller
     State     Bids Cache     Fulfillment




              Database
各自獨立的中間層元件




 Config &       Config &      Config &       Config &       Config &
  Scaling        Scaling       Scaling        Scaling        Scaling

Complex Deployment to Operating System & Physical/Virtual Environment
整合後的中間層解決方案


                                                                       Routing, Messages
Web Services        Caches           Workflows       Access Controls
                                                                          Transforms



  Config &         Config &            Config &          Config &          Config &
               Multi-Tenant, Elastic, Horizontal Scale, Perf, Resilience
   Scaling          Scaling             Scaling           Scaling           Scaling



                On-Premises                                  Cloud
AppFabric: 新一代的中間層平台
雲端與企業級應用程式的中間層服務平台
                                                             Custom Code




                                                   Access
            Caching   Service Bus    Integration              WCF Services Workflows
                                                   Control
AppFabric
  App
Manager                                  AppFabric 服務


                                    AppFabric Container

                        Server                               Cloud
AppFabric: 新一代的中間層平台
Windows Server AppFabric
  企業內部雲端架構的中間層
  裝載與管理WCF服務
  分散式快取平台
Windows Azure AppFabric
  微軟公有雲解決方案的中間層
  服務整合匯流排
  快取平台
Windows Server AppFabric
AppFabric裝載WCF服務功能
透過Web Deploy部署應用程式
可檢視應用程式中的服務與端點
內建監控的架構
  不需要寫程式或是設定組態!
健康監控儀表板
可透過事件追蹤解決錯誤
容易操作的介面
自動啟動(AutoStart)服務
將WCF服務部署到Windows Server
AppFabric
我的服務在哪裡?
檢視WCF服務與端點組態
監控WCF服務執行狀態




.svclog   .svclog   .svclog
監控WCF服務執行狀態
監控WCF服務執行狀態
管理WCF組態設定
Metadata
Monitoring
Peformance
Security
AutoStart
管理WCF服務組態設定
Windows Server AppFabric
快取
    Web         Web          Web
    App 1       App 2      Service 1

                                         Database
  Distributed In-MemoryCache
   Local Cache Local Cache Local
                                 Cache


     Server
  Server Server            Server
                        Server Server
Windows Azure AppFabric
快取

                                       •   由Microsoft管理
        Distributed In-Memory          •   和on-premise類似的
                 Cache                     開發模型
                                       •   Windows Server
   Distributed In-Memory Cache             AppFabric快取有些
                                           設定不需要在這裡設
                                           定

   Server   Server   Server   Server
AppFabric Caching 使用實例

                                  Scenario
    降低 SQL servers CPU 使用率從 80% 到 10%
    ~27 GB of data across 4 cache servers each with 12 GB of memory
    系統目前可以支援 1000 reads / sec and 200 writes / sec
    增加資源的利用率
    更快的反應時間
    大幅減少SQL Server I/O ( 約50% )
Grid Dynamics 研究報告
 Windows Server AppFabric Cache: A
 detailed performance & scalability
 datasheet
Grid Dynamics: 結論
 快取的大小對小能影響有限,除非是大量的寫入快
 取資料
 資料的複雜度只會對用戶端處理的效能有影響
 直接存取快取會比透過proxies快 (ASP.NET, WCF)
 快取的安全性設定會對效能有影響Network
 應用程式伺服器與快取伺服器之間的網路環境也會
 影響存取的效能
使用Windows Server AppFabric
儲存Session資料
使用AppFabric 快取
儲存應用程式資料
相關課程與內容
微軟商業智慧完整藍圖及最佳案例分享 ( BIN201 )
9/28/2010 13:30 – 14:40 Room 101CD


http://blogs.msdn.com/camerons      (相關連結1)



http://blogs.msdn.com/stevecook     (相關連結2)



http://www.peterprovost.org/blog/   (相關連結3)
其他資源

http://technet.microsoft.com/zh-      http://msdn.microsoft.com/zh-
tw/default.aspx                       tw/default.aspx
Resources for IT Professionals        Resources for Developers

   www.microsoft.com/learning (產品相關連結1)
   Microsoft Certification and Training Resources (連結名稱1)

   http://support.microsoft.com/default.aspx?ln=ZH-TW (產品相關連結2)
   Microsoft 技術支援與服務                             (連結名稱2)

   http://www.microsoft.com/taiwan/security/default.mspx (產品相關連結3)
   Microsoft 資訊安全首頁                            (連結名稱3)
請協助完成「本課程問卷」,並
在離開教室時交給工作人員!


填妥大會背包中的大會問卷,可
於活動第三天兌換問卷禮哦!

感謝您的合作。
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should
 not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS,
                                                                           IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

深入研究雲端應用程式平台-AppFabric