<< 十一月 2006 | 首页 | 一月 2007 >>

eBay的架构

eBay.com肯定是世界上最大的Java系统之一:
  •        eBay管理着212,000,000多注册用户、十亿多张图片
  •        全世界的eBay用户每秒交易价值超过$1590的商品
  •        平均每天浏览10亿多个页面
  •        在任何时刻,网站里有大约105百万个清单
  •        eBay存储了超过2Petabytes的数据
  •        eBay平台每个月处理30亿个API调用
  •        每个季度变化300个以上的功能
  •        每两个星期修改100000行以上代码
  •        eBay在33个国家,7种语言,24*7运行着
  •        eBay每天执行260亿个SQL
  •        达到99.84%的可用性
      
eBay的架构

阅读全文……

Tungsten Replicator - data replication engine for MySQL

Tungsten Replicator is a high performance, open source, data replication engine for MySQL. It offers a set of features that surpass any open source replicator available today: global transaction IDs to support failover, flexible transaction filtering, extensible transaction metadata, sharding, multiple replication services per process, high performance, and simple, well-documented operation.

Tungsten Replicator helps technically focused users solve problems like promoting masters easily from pools of slaves, replicating data between different database versions, replicating efficiently across sites, building complex topologies, and parallelizing data flow between servers. Tungsten Replicator runs equally well in cloud as well as locally hosted environments. Tungsten Replicator users range from tiny start-ups to the largest web properties on the planet.

Tungsten Replicator is sponsored by Continuent, Inc., which offers support as well as sponsored development of new replication features. Tungsten Replicator is also the base for Tungsten Enterprise, a commercial database clustering product that improves transaction throughput and keeps data highly available to applications. Please visit the Continuent website for more information about services as well as commercial offerings.

http://code.google.com/p/tungsten-replicator/

 

标签 : , ,

把MIPS二进制转换成Java字节码(MIPS Binary translation for Java Bytecode)

MIPS Binary translation for Java Bytecode

NestedVM 能够把MIPS二进制转换成Java字节码。用GCC编译器编译的MIPS二进制能被转换成Java 类文件。所以任何用C,c++,Fortran等被GCC支持的任何语言都能运行在100%的Java环境中,而不需要改动代码。

最简单的例子就是SQLite数据库的 the SQLite JDBC driver.纯Java转换

NestedVM provides binary translation for Java Bytecode. This is done by having GCC compile to a MIPS binary which is then translated to a Java class file. Hence any application written in C, C++, Fortran, or any other language supported by GCC can be run in 100% pure Java with no source changes.

NestedVM is the work of Brian Alliet and Adam Megacz. It is Open Source, released under the Apache 2.0 license.

A straight-forward example is a pure-Java translation of the SQLite JDBC driver.

阅读全文……

标签 :

J2SE: New I/0 (NIO and Non-Blocking IO)

Back in January 2000, while many people were arguing about whether the year 2000 was the last or first year of the century, life began for JSR 51 as an approved Java Specification Request (JSR). The name of that JSR is New I/O APIs for the Java Platform. Many people think of the new capabilities as just offering non-blocking I/O operations. However, the new features introduced into the JavaTM 2 Platform, Standard Edition (J2SETM), version 1.4 Beta, include many other new and interesting features. While the API certainly will offer support for scalable I/O operations for both sockets and files, you'll also find a regular expression package for pattern matching, encoders and decoders for character set conversions, and improved file system support like file locking and memory mapping. All four of these new features will be covered in this article.

阅读全文……

标签 :

[From IBM]JSTL 入门: 表示就是一切

JSP 标准标记库(JSP Standard Tag Library,JSTL)fmt 库通过一组颇受关注的定制标记提供了用于访问所有 Java 编程语言国际化功能的便利方式。Mark Kolb 研究了用于对数据进行格式化和国际化的 fmt 标记。

阅读全文……

标签 : ,

[From IBM]JSTL 入门: 探讨 core

顾名思义,JSP 标准标记库(JSP Standard Tag Library,JSTL) core 库为一些基本功能(如,管理限定了作用域的变量和与 URL 交互等)和基本操作(如,迭代和条件化)提供了定制标记。这些标记不仅可以由页面设计人员直接利用,而且还为与其它 JSTL 库相结合从而提供更复杂的表示逻辑奠定了基础。Mark Kolb 在本文中继续对 JSTL 和 core 库进行探讨,研究用标记来协助流控制和 URL 管理。

阅读全文……

标签 : ,

[From IBM]JSTL 入门: 表达式语言

JSP 标准标记库(JSP Standard Tag Library,JSTL)是一个实现 Web 应用程序中常见的通用功能的定制标记库集,这些功能包括迭代和条件判断、数据管理格式化、XML 操作以及数据库访问。在 developerWorks 上其新系列的第一篇文章中,软件工程师 Mark Kolb 向您展示了如何使用 JSTL 标记来避免在 JSP 页面中使用脚本编制元素。您还将了解如何通过从表示层删除源代码来简化软件维护。最后,您将了解 JSTL 经过简化的表达式语言,它允许在不必使用功能齐全的编程语言的情况下对 JSTL 操作指定动态属性值。

阅读全文……

标签 : ,

transform Nutch into a scalable, distributed search engine

transform Nutch into a scalable, distributed search engine,with new Apache project named Hadoop. Development is very active.

阅读全文……

标签 : ,

several existing strategies to clustering Lucene

All of this impacts how Lucene works in a cluster. Each node performing the search needs access to the index. To make search work in a clustered environment we must provide this. There are 3 ways of doing this.

  1. Use a shared file system between all nodes, and use FSDirectory.
  2. Use indexes on the nodes local file system and a synchronization strategy.
  3. Use a database using JDBCDirectory
  4. Use a distributed file system (eg Google File System, Nutch Distributed File System)
  5. Use a local cache with backup in the Database

阅读全文……

标签 : ,

用Terracotta 集群Lucene(Clustering Lucene with Terracotta)

        www.theserverside.com昨天发布了一个消息:Terracotta 宣布他们发布的集群JVM技术Terracotta DSO,在Terracotta Public License下开放源代码。之前Orion LetiziSteve  已经试过用Terracotta集群Lucene索引,并且工作得挺好。 Clustering LuceneClustering Lucene, Part II: An Example You Can Try YourselfOrion Letizi发布的用Terracotta集群Lucene的Blog。看来用Terracotta来集群Lucene是个选择。
       Terracotta 已经开通了一个社区站点 http://www.terracotta.org/,在那里开发者可以下载集群代码和获得社区支持。

阅读全文……

标签 : ,

30个免费(并开源)的基本的Windows软件

30个免费(并开源)的基本的Windows软件

阅读全文……

实现Predicate接口,在对象集合里查找对象

之前写过一篇使用Collections实现java.util.Comparator接口,对对象集合进行多属性组合排序 ,下面是一个Predicate的实现类,使用它可以在对象集合里通过设置属性条件查找对象。这也是通过commons.collections对Collections使用的一个例子。

阅读全文……

标签 :