隨筆 - 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)  編輯  收藏


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


          網站導航:
           
          主站蜘蛛池模板: 汉中市| 临武县| 池州市| 会泽县| 宝兴县| 遂川县| 台中县| 高唐县| 綦江县| 德阳市| 渭南市| 武安市| 丰县| 扬州市| 奉贤区| 饶阳县| 沧源| 大理市| 昭通市| 渑池县| 湖南省| 天门市| 襄汾县| 江孜县| 巨野县| 涿鹿县| 西林县| 娄底市| 大兴区| 孝感市| 油尖旺区| 卢氏县| 安龙县| 运城市| 花垣县| 营山县| 江孜县| 定结县| 宁安市| 河津市| 怀安县|