log4j的配置和使用
2008-03-11 14:48
465 查看
国庆长假,老外在热烈的讨论这个话题,
原文地址: http://natishalom.typepad.com/nati_shaloms_blog/2007/10/why-most-scalab.html
我摘录部分观点如下:
Most of these sites are using LAMP as the core runtime stack
Some develop their own file system (Google, GFS)
Some are using caching to solve the database bottleneck (memcached and the like)
--
introducing similar solutions for addressing the scalability challenges: 在解决伸缩性方面的尝试:
On the Data Tier we see the following:
1. Adding a caching layer to take advantage of memory resources
availability and reduce I/O overhead
2. Moving from a database-centric approach to partitioning, aka shards
注:shards是google贡献给hibernate的一个项目,他是hibernate的一个扩展,可以
透明的实现数据的分布存储。至于如何分布存储由你自己定义策略,例如典型的
RoundRobinShardSelectionStrategy
On the Business Logic Tier:
3. Adding parallelization semantics to the application tier (e.g.,
MapReduce)
注:MapReduce是Google开发的C++编程工具,用于大规模数据集(大于1TB)的并行运算。MapReduce通过把对数据集的大规模操作分发给网络上的每个节点实现可靠性;每个节点会周期性的把完成的工作和状态的更新报告回来。MapReduce会生成大量的临时文件,为了提高效率,它利用Google文件系统来管理和访问这些文件。
4. Moving to scale-out application models to achieve linear scalability
注:
scaling:the ability of an application to address growth in throughput,
usage, and capacity
有两种策略:scale out 和 scale up
scale up vs scale out 的区别在于:
1 Reliance on hardware versus reliance on software
2 Equation with "first-class" hardware versus "commodity" hardware
3 Massive versus incremental capacity increases
4 Centralized versus partitioned application architectures
简单的说就是一个靠提升单个硬件的配置,另一个靠用低端配置实现集群
5. Moving away from the classic two-phase commit and XA for transaction
processing (See: Lessons from Pat Helland: Life Beyond Distributed
Transactions)
注: 不使用传统的分布式事务处理,例如EJB的事务,使用新的基于space的中间件平台 Space Based Architecture (SBA) and GigaSpaces XAP
原文地址: http://natishalom.typepad.com/nati_shaloms_blog/2007/10/why-most-scalab.html
我摘录部分观点如下:
Most of these sites are using LAMP as the core runtime stack
Some develop their own file system (Google, GFS)
Some are using caching to solve the database bottleneck (memcached and the like)
--
introducing similar solutions for addressing the scalability challenges: 在解决伸缩性方面的尝试:
On the Data Tier we see the following:
1. Adding a caching layer to take advantage of memory resources
availability and reduce I/O overhead
2. Moving from a database-centric approach to partitioning, aka shards
注:shards是google贡献给hibernate的一个项目,他是hibernate的一个扩展,可以
透明的实现数据的分布存储。至于如何分布存储由你自己定义策略,例如典型的
RoundRobinShardSelectionStrategy
On the Business Logic Tier:
3. Adding parallelization semantics to the application tier (e.g.,
MapReduce)
注:MapReduce是Google开发的C++编程工具,用于大规模数据集(大于1TB)的并行运算。MapReduce通过把对数据集的大规模操作分发给网络上的每个节点实现可靠性;每个节点会周期性的把完成的工作和状态的更新报告回来。MapReduce会生成大量的临时文件,为了提高效率,它利用Google文件系统来管理和访问这些文件。
4. Moving to scale-out application models to achieve linear scalability
注:
scaling:the ability of an application to address growth in throughput,
usage, and capacity
有两种策略:scale out 和 scale up
scale up vs scale out 的区别在于:
1 Reliance on hardware versus reliance on software
2 Equation with "first-class" hardware versus "commodity" hardware
3 Massive versus incremental capacity increases
4 Centralized versus partitioned application architectures
简单的说就是一个靠提升单个硬件的配置,另一个靠用低端配置实现集群
5. Moving away from the classic two-phase commit and XA for transaction
processing (See: Lessons from Pat Helland: Life Beyond Distributed
Transactions)
注: 不使用传统的分布式事务处理,例如EJB的事务,使用新的基于space的中间件平台 Space Based Architecture (SBA) and GigaSpaces XAP
相关文章推荐
- log4j的配置与使用
- MyBatis3-配置使用log4j输出日志
- log4j2单独的配置与使用&log4j2+slf4j的结合的配置与使用
- Log4j的配置与使用
- Spring 中log4j的配置和使用
- Log4j使用配置
- Log4j 配置及使用
- Log4j结合spring的使用配置
- java日志-纯Java配置使用slf4j配置log4j(转)
- 详解log4j.properties的简单配置和使用
- java日志框架log4j详细配置及与slf4j联合使用教程
- 【Java】日志知识总结和经常使用组合配置(commons-logging,log4j,slf4j,logback)
- Log4j的配置与使用详解
- Spring-Spring Web项目中配置使用Log4j 2
- java学习笔记9 - Spring mvc中log4j的配置与使用
- log4j的配置和使用
- 【日志】log4j的使用配置与参数解析
- spring mvc中log4j的配置与使用
- Log4j使用以及配置
- 纯Java配置使用slf4j配置log4j