隨筆 - 53, 文章 - 0, 評論 - 3, 引用 - 0
          數據加載中……

          Scaling your JEE application part 2 - 閱讀筆記

          scale up     -     vertically scale
          scale out     -     horizontally scale

          scale out
          1. Use share nothing clustering architectures
              The session failover functionality cannot avoid errors completely when failures happen, as my article mentioned, but it will damage the performance and scalability.
             
          2. Use scalable session replication mechanisms   
              The most scalable one is paired node replication, the least scalable solution is using database as session persistence storage.

          3. Use collocated deployment instead of distributed one.

          4. Shared resources and services
              Database servers, JNDI trees, LDAP Servers, and external file systems can be shared by the nodes in the cluster.

          5. Memcached
              Memcached's magic lies in its two-stage hash approach. It behaves as though it were a giant hash table, looking up key = value pairs. Give it a key, and set or get some arbitrary data. When doing a memcached lookup, first the client hashes the key against the whole list of servers. Once it has chosen a server, the client then sends its request, and the server does an internal hash key lookup for the actual item data.
             
          6. Terracotta   
              Terracotta extends the Java Memory Model of a single JVM to include a cluster of virtual machines such that threads on one virtual machine can interact with threads on another virtual machine as if they were all on the same virtual machine with an unlimited amount of heap.
             
          7. Using unorthodox approach to achieve high scalability   


          posted on 2008-07-09 11:43 InPractice 閱讀(256) 評論(0)  編輯  收藏


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: SHOW| 九寨沟县| 南昌市| 宣汉县| 托克逊县| 沙坪坝区| 定安县| 民和| 菏泽市| 衡山县| 西安市| 汉中市| 榆林市| 台南市| 白水县| 年辖:市辖区| 盘山县| 南宫市| 姚安县| 湘乡市| 三门县| 沙湾县| 商水县| 稷山县| 铜梁县| 新乐市| 梧州市| 淮南市| 灌阳县| 和政县| 鄢陵县| 米易县| 金华市| 阳新县| 聂拉木县| 赤城县| 胶州市| 普格县| 民勤县| 台安县| 象山县|