??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲精品美女在线观看,亚洲香蕉久久一区二区三区四区,亚洲国产日韩综合久久精品http://www.tkk7.com/darkbluefeeling/archive/2012/07/18/guzz-1-3-1-released.htmlp色心?/dc:creator>p色心?/author>Wed, 18 Jul 2012 00:32:00 GMThttp://www.tkk7.com/darkbluefeeling/archive/2012/07/18/guzz-1-3-1-released.htmlhttp://www.tkk7.com/darkbluefeeling/comments/383361.htmlhttp://www.tkk7.com/darkbluefeeling/archive/2012/07/18/guzz-1-3-1-released.html#Feedback0http://www.tkk7.com/darkbluefeeling/comments/commentRss/383361.htmlhttp://www.tkk7.com/darkbluefeeling/services/trackbacks/383361.html亲爱的你萌是不是觉得哀家已l放弃了谷子,不不不,原因只是因ؓ哀家最q比较懒木有更新而已。哀家每qL那么十来个月是比较懒的~~【望?/span>

不过Q这ơ更新绝Ҏ货!?月中发,也用来纪忉|家的桔梗殿下吧?/span>

guzz 1.3.1 20120712更新介绍Q?/strong>

大版本更新噢Q?/strong>

1. 动态拼接SQLl于发布啦,{的花都谢了。现在,乃可以写一个有条g的sql语句Q然后在执行Ӟguzz娘会Ҏ传入的参数构造成真正需要的sql语句Q然后再l定参数执行。古娘默认是ZVelocity模板实现的,于是动态SQL拼接的语法、灵zL、易用性、学习成本是l对_的,velocity文档也是l对的丰富和成熟。来仔细瞧瞧吧:http://code.google.com/p/guzz/wiki/TutorialTemplatedSQLService?wl=zh-Hans

2. 受够了一个一个的d域对象到guzz.xml中?是解放自q时候啦。面对着大半q来的各U诉求,1.3.1版这ơ终于良心发玎ͼ增加了package-scan功能【泪目】。咱们也可以扫描文gq批量添加business啦。介是这个脑D:http://code.google.com/p/guzz/wiki/TutorialHbmPackageScan?wl=zh-Hans

3. 在SQL中写旉串就报错Q?虽然是小功能Q但转义字符支持q次q是攑և来啦。不xSQL注入Q一门心思拼接SQL语句的孩U总Lq里Q?/span>http://code.google.com/p/guzz/wiki/TutorialGuzzXml?wl=zh-Hans#sql语句中特D字W{?/a> 。搞dq么玩吧Q勇士们自己被黑了求别黑我家谷子?/span>

4. JDNI数据源这ơ也支持啦。感谢L波提供的代码。借机也感谢L波提供的其他代码?/span>
http://code.google.com/p/guzz/wiki/TutorialDatasourceProvider?wl=zh-Hans#guzz内置q接池实?/a> 

5. 其他功能和bug修正Q本宫就不废话了。亲q你萌有兴就自己d比SVN代码吧?/span>


下面照例复制下宣传介l?/span>

什么是guzz?

guzz是一套用于多数据库编E的Java ORM框架Q用于替代hibernate和ibatisQ实现在一套系l中L使用多台数据库。guzz同时提供通用数据计算和配|管理等Q简化系l复杂度Qؓpȝ在数据层的设计提供一站式解决Ҏ?/span>

guzz主要功能与特点:
  • C大规模系l设计,技术上吸收了ibatis/hibernate的优?/li>
  • 支持应用E序使用大量的数据库和主从读写分?/li>
  • 支持数据库表在多l机器间水^分布QShardQ,q自动维护多l机器之间的分布式事?/li>
  • 支持1张表按照业务规则分切成多张小表(ShadowQ,q支持每张小表拥有自qD的属性字D(CustomQ?/li>
  • 支持1张大表分切后的小表,分布C同的数据库中QVirtualDBQ?/li>
  • 支持越范式的特D关联、非l构化数据等异构资源POJO模式的统一d
  • 支持lg化服务(SOAQ和服务怺依赖Q构Z?目实施基础q_
  • 提供面向对象的数据库d标签(JSP Taglib)Q加快页面展C层的快速变更、开发与部v
  • 对于大部分场景,支持像hibernate一L对象持久、映和方便的增删改查,提高开发效?/li>
  • 对于复杂场景Q支持像ibatis一P让DBA参与SQL设计的复杂数据库操作和优化,以及SQL在线调试
  • 更简z、更好用、更Ҏ控制的批操作接口
  • 支持在线加蝲与调试SQL。按照应用策略,从文?数据?Web Service{途径Q动态提取与使用SQL语句QDynamic SQLQ?/li>
  • 支持配置理服务器,可以使用一套Y件系l对所有应用程序的配置q行l一理
目地址Q?/strong>
http://code.google.com/p/guzz/
文档Q?/strong>http://code.google.com/p/guzz/wiki/AboutGuzz?tm=6
下蝲Q?/strong>http://code.google.com/p/guzz/downloads/list 
新浪微博Q?/strong>http://weibo.com/guzzframework
扣扣: 36429094  218658794
Mail ListQ?/strong>https://lists.sourceforge.net/lists/listinfo/guzz-mail-users




]]>
guzz1.3.0 多配|文件支持发?/title><link>http://www.tkk7.com/darkbluefeeling/archive/2012/02/22/370523.html</link><dc:creator>p色心?/dc:creator><author>p色心?/author><pubDate>Wed, 22 Feb 2012 07:29:00 GMT</pubDate><guid>http://www.tkk7.com/darkbluefeeling/archive/2012/02/22/370523.html</guid><wfw:comment>http://www.tkk7.com/darkbluefeeling/comments/370523.html</wfw:comment><comments>http://www.tkk7.com/darkbluefeeling/archive/2012/02/22/370523.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/darkbluefeeling/comments/commentRss/370523.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/darkbluefeeling/services/trackbacks/370523.html</trackback:ping><description><![CDATA[<span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; font-size: large; "><strong style="font-weight: bold; ">guzz 1.3.0 20120222更新介绍Q?/strong></span> <br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " /><strong style="font-weight: bold; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">本次为改q型更新Q?/strong> <br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">1. 增加了默认的多properties配置文g支持。方侉K|管理和部v。详l介l[url] http://code.google.com/p/guzz/wiki/TutorialAppProperties?wl=zh-Hans[/url] </span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">2. WriteTemplate增加?个新接口Q方便更好的q行sql语句直接操作?nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">3. 修正了打印sql语句的错误配|方式?nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; font-size: large; "><strong style="font-weight: bold; ">什么是guzz?</strong></span> <br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">guzz是一套用于多数据库编E的ORM框架Q用于替代hibernate和ibatisQ实现在一套系l中L使用多台数据库。guzz同时提供通用数据计算和配|管理等Q简化系l复杂度Qؓpȝ在数据层的设计提供一站式解决Ҏ?/span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " /><strong style="font-weight: bold; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">guzz主要功能与特点:</strong> <br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " /><ul style="margin-top: 0px; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; "><li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.25em; margin-left: 30px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">C大规模系l设计,技术上吸收了ibatis/hibernate的优?/li><li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.25em; margin-left: 30px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">支持应用E序使用大量的数据库和主从读写分?/li><li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.25em; margin-left: 30px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">支持数据库表在多l机器间水^分布QShardQ,q自动维护多l机器之间的分布式事?/li><li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.25em; margin-left: 30px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">支持1张表按照业务规则分切成多张小表(ShadowQ,q支持每张小表拥有自qD的属性字D(CustomQ?/li><li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.25em; margin-left: 30px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">支持1张大表分切后的小表,分布C同的数据库中QVirtualDBQ?/li><li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.25em; margin-left: 30px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">支持越范式的特D关联、非l构化数据等异构资源POJO模式的统一d</li><li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.25em; margin-left: 30px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">支持lg化服务(SOAQ和服务怺依赖Q构Z?目实施基础q_</li><li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.25em; margin-left: 30px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">提供面向对象的数据库d标签(JSP Taglib)Q加快页面展C层的快速变更、开发与部v</li><li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.25em; margin-left: 30px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">对于大部分场景,支持像hibernate一L对象持久、映和方便的增删改查,提高开发效?/li><li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.25em; margin-left: 30px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">对于复杂场景Q支持像ibatis一P让DBA参与SQL设计的复杂数据库操作和优化,以及SQL在线调试</li><li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.25em; margin-left: 30px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">更简z、更好用、更Ҏ控制的批操作接口</li><li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.25em; margin-left: 30px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">支持在线加蝲与调试SQL。按照应用策略,从文?数据?Web Service{途径Q动态提取与使用SQL语句QDynamic SQLQ?/li><li style="margin-top: 0px; margin-right: 0px; margin-bottom: 0.25em; margin-left: 30px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">支持配置理服务器,可以使用一套Y件系l对所有应用程序的配置q行l一理</li></ul><strong style="font-weight: bold; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">目地址Q?/strong><a target="_blank" style="color: #006699; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">http://code.google.com/p/guzz/</a> <br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " /><strong style="font-weight: bold; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">文档Q?/strong><a target="_blank" style="color: #006699; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">http://code.google.com/p/guzz/wiki/AboutGuzz?tm=6</a> <br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " /><strong style="font-weight: bold; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">下蝲Q?/strong><a target="_blank" style="color: #006699; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">http://code.google.com/p/guzz/downloads/list</a> <br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " /><strong style="font-weight: bold; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">新浪微博Q?/strong><a target="_blank" style="color: #006699; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">http://weibo.com/guzzframework</a> <br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " /><strong style="font-weight: bold; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">扣扣:</strong><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; "> 36429094 </span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " /><strong style="font-weight: bold; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">Mail ListQ?/strong><a target="_blank" style="color: #006699; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; ">https://lists.sourceforge.net/lists/listinfo/guzz-mail-users</a> <br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #f7f7f7; " /><img src ="http://www.tkk7.com/darkbluefeeling/aggbug/370523.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/darkbluefeeling/" target="_blank">p色心?/a> 2012-02-22 15:29 <a href="http://www.tkk7.com/darkbluefeeling/archive/2012/02/22/370523.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>对于12306Q我的完整技术方?/title><link>http://www.tkk7.com/darkbluefeeling/archive/2012/01/16/368608.html</link><dc:creator>p色心?/dc:creator><author>p色心?/author><pubDate>Mon, 16 Jan 2012 11:48:00 GMT</pubDate><guid>http://www.tkk7.com/darkbluefeeling/archive/2012/01/16/368608.html</guid><wfw:comment>http://www.tkk7.com/darkbluefeeling/comments/368608.html</wfw:comment><comments>http://www.tkk7.com/darkbluefeeling/archive/2012/01/16/368608.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.tkk7.com/darkbluefeeling/comments/commentRss/368608.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/darkbluefeeling/services/trackbacks/368608.html</trackback:ping><description><![CDATA[<div><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">12306主要是卖票比较复杂Q注册登录之cȝ功能׃说了?nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">有网友说Q?2306卖票pȝ比航I复杂,因ؓ要分D卖Q航I只有v点和l点Q火车中间还有好多站。不q好消息是,q些站在售票时是q箋的,不会出现1张票跳着站买的情况,q样可以把一张票拆成N张只有v点和l点的票Q和航空售票一样了?nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">卖票分ؓ两部分,查询和购买?2306目前提供了单独的查询Q我觉得q个其实挺好的,臛_有读写分ȝ思想Q不qgq?0分钟的数据,肯定没什么h愿意用,大家q是要挤q购买系l查询。单独的查询相当于摆设了Q没有发挥作用。要让查询系l有效,其是春q期_延迟应该?0U之内?nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><strong style="font-weight: bold; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">查询剩余数设计Q?nbsp;<br /></strong><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">查询的特Ҏ按照车次信息或者时间查QRơ和旉一般都不会变,因此在设计时Q可以把面分成两部分。一是匹配的车次列表信息Q如北京Ch哪些车,q个l果可以用CDN~存。Rơ基本是固定的,~存讄?0分钟应该p满需要。不占用负蝲。在览器拿到这个页面后Q通过异步hQ根据每R的编号二ơ查询剩余票数等实时数据Q合q显C?nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">车次查询Ӟ把Rơ信息分库存储,q作冗余存储。好比这个库提供所有北?>xxx的查询,q个库提供上到xxx的查询,q个库提供广州到xx的查询,剩下的在一个大库中{。Rơ变化很,库可以分散存Q而且可以冗余存储。用内存表也行,L据量也不多,性能上没什么可说的?nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">对于实时数Q确实是比较困难的,|上很多Ҏ都不对,没有考虑中间站的问题。剩余票数缓存ƈ不好做。我的想法是Q提前分好票Q然后用单独的数据结构做~存?nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">例如Q对于G113高铁Q共?站:北京、d州、济南、徐州、南京、常州、苏州、上假讑֮有两千张,座位啊卧铺啊啥的。在发票前,创徏新表20120113_G113Q然后把2000张票提前插入到表中,每个都有一个本表内唯一的数字编受表l构基本上就是:~号、v始站、终点站、位类型、R厢、位号、乘客姓名、乘客证件号码、R状态等实际业务模型需要。初始化ӞL站就是北京(Ҏ序存储?Q,l点站就是上PҎ序存储?Q,乘客信息I着表示未l定乘客QR状态置?#8220;待出?#8221;?nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">q样我们要查?012q??3号G113 南->南京 的剩余票数时Q就查询20120113_G113起始站编号大于等?q且于{于5Qƈ且状态ؓ“待出?#8221;的记录数p了?nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">每张?000条数据,对于非春q时节,性能完全_。对于春q时节,非繁忙\D,性能应该也够了。对于春q繁忙期Ql看下面的?nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><strong style="font-weight: bold; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">车票出售基本程Q?nbsp;<br /></strong><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">用户选择车票q要求购乎ͼpȝ锁定ƈ标记状态ؓ“锁定?#8221;Q让用户付款{。完成后标记车票?#8220;已经发售”Qƈ且更新用户信息到车票的持有h信息字段中。此不再出售?nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">对于中间站购,假设用户购买?南->南京 Q前面流E不变。但完成出票后,Rv始和l点站改?#8220;南”?#8220;南京”Qƈ且自动插入两张新可用。一张是“北京->南”Q一张是“南京->上v”Q通知队列更新相关~存。相当于车票做了自动分裂。这h们设计时只需要把一张票设计?#8220;只有L和终?#8221;p了?nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><strong style="font-weight: bold; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">更高效的剩余数查询设计Q?nbsp;<br /></strong><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">数据库的count操作q不快,因此对于J忙季节的繁忙表Q每ơ都count是铁定不行的。我惛_的一个办法是Q把上面提到的预售R表加蝲到内存中。我们用一?4位longcd数字表示一张R,每趟车的每种座位cd是一个long数组?nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">对于每个long数字Q前面的32位用来顺序存?2个R站(假设一R最多有32个站Q没查过Q不行可以放长点Q,每一位标?#8220;车票是否包含此站”。如G113 南到南京的(车站序为第3到第5站)Qlong数字的第2到第4位设|ؓ1Q其他前32位设|ؓ0。后面的32位用来表CR在车票出售表中的唯一~号。这h据一个longcd数字Q我们就能表qC张票的发售信息了?nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">比如2012q??3号G113Q有软卧500张和卧1500张。那需要两个数l?0120113_G113_软卧 对应一个长?00的long数组Q?0120113_G113_卧 对应一个长?500的long数组。存储所有售信息?nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">有点cMBitSet的感觉,对空间要求不高。我们可以做个系l把所有R信息按照这U结构加载到内存中。对于实时查,如查?012q??3号G113车次 南->南京 的余,是遍历两个数组Q检查位Cؓ2?的long数字有多个Q就直接获得了Y卧和卧的剩余票数。对于现代计机Q这炚w历,旉是纳U的?nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">当R被出售后,从long数组中删除票信息Q比如先|ؓ-1表示已经无效。再用后台线E实际删除(避免写冲H,删除gq到重徏一个数l所消耗的多少U秒内刚好没有写h的时间段中)。如果long数组长度?Q那是没有车票了,直接q回0Q用户再怎么P也不会干扰数据库?nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><strong style="font-weight: bold; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">更高效的剩余数查询Ҏ的扩展性和定w性: <br /></strong><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">本n车票是按照Rơ划分的Q同时也有时间维度,横向扩展不存在Q何问题?nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">long数组可以Ҏ数据库票务信息重新构造,而且成本不高Q一?#8220;select * from xxx where 状?待发?#8221; SQL语句Q。在g故障Q扩Ҏ器,或是发现数据不一致时Q重新构造数l就行。而且可以从后台异步做。扩展性和定w性都不是问题?nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><strong style="font-weight: bold; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">售票交易与锁: <br /></strong><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">用户查询到有后Q填写要购买的票敎ͼ提交。好比购C张硬卧,程如下Q?nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">1. ?0120113_G113_卧long数组中随取符合要求的序的两个long数字Qƈ其从数l中删除Q这个速度很快Q纳UQ?nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">2. Ҏlong数字?2位,从数据库中锁。如果全部锁定成功,讄ؓ预定状态,更新用户预定信息Q锁时间等。然后记录日志等其他相关操作。如果锁失败,说明在纳U的时间内Q票q是有冲H,购票p|Q直接返回报错。锁就是数据库行锁Qsql中的 select for update nowait?nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">3. 面提示错误Q或者进入下一步交易流E,如网银支付等?nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">在整个过E中Q我们看刎ͼ用户hq集中爆发Q事务的冲突性也能降低到“随机获取的long数组值刚好一?+ 在cpu执行2000个for循环的可能百万分之一U内刚好同时提交”。我觉得冲突概率应该很低很低。一R2000个R,1Q?00比例也就20万h同时抢,20万h?U提交cpu也算的过来。而实际上Q怎么可能一U钟?0万h同时抢一R的票?#8230;… </span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">在整个过E中Q大部分h都被long数组消耗完后,直接查long数组长度?Q提C无拦截。进入数据库阶段的,也就是比实际的票数多一点点的有效订单而已?nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><strong style="font-weight: bold; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">回票Q?nbsp;<br /></strong><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">中间站买的Q在预定成功后,车票自动分裂Q分裂的可以通过队列调度实时的回到long数组中,l箋服务?nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">预定后不买的Q可以通过预定旉的超时检查,后台做个U程Q让回归?nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">Ƣ迎讨论?nbsp;</span><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><br style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; " /><span style="font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">微博Q?/span><a target="_blank" style="color: #006699; font-family: Helvetica, Tahoma, Arial, sans-serif; line-height: 25px; text-align: left; background-color: #efefef; ">http://weibo.com/guzzframework</a> </div><img src ="http://www.tkk7.com/darkbluefeeling/aggbug/368608.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/darkbluefeeling/" target="_blank">p色心?/a> 2012-01-16 19:48 <a href="http://www.tkk7.com/darkbluefeeling/archive/2012/01/16/368608.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>chrome扩展E序“超U提醒”,源代码开放!http://www.tkk7.com/darkbluefeeling/archive/2011/12/01/365281.htmlp色心?/dc:creator>p色心?/author>Thu, 01 Dec 2011 05:16:00 GMThttp://www.tkk7.com/darkbluefeeling/archive/2011/12/01/365281.htmlhttp://www.tkk7.com/darkbluefeeling/comments/365281.htmlhttp://www.tkk7.com/darkbluefeeling/archive/2011/12/01/365281.html#Feedback1http://www.tkk7.com/darkbluefeeling/comments/commentRss/365281.htmlhttp://www.tkk7.com/darkbluefeeling/services/trackbacks/365281.html
chrome插gQ用于统一提醒来自gmail, yahooQhotmailQ新微博。。。等多家L|站的新邮g或新通知。喜Ƣ的朋友可以加入此项目,l箋加对更多|站的支持! 

http://code.google.com/p/notifyall/ 


]]>
guzz 1.3.0大版本发布,支持Spring事务http://www.tkk7.com/darkbluefeeling/archive/2011/11/24/364686.htmlp色心?/dc:creator>p色心?/author>Thu, 24 Nov 2011 00:43:00 GMThttp://www.tkk7.com/darkbluefeeling/archive/2011/11/24/364686.htmlhttp://www.tkk7.com/darkbluefeeling/comments/364686.htmlhttp://www.tkk7.com/darkbluefeeling/archive/2011/11/24/364686.html#Feedback1http://www.tkk7.com/darkbluefeeling/comments/commentRss/364686.htmlhttp://www.tkk7.com/darkbluefeeling/services/trackbacks/364686.html阅读全文

]]>
show下我做的消息提醒的chrome插gQ免费用,呵呵Q有效果图)http://www.tkk7.com/darkbluefeeling/archive/2011/11/18/364209.htmlp色心?/dc:creator>p色心?/author>Fri, 18 Nov 2011 03:20:00 GMThttp://www.tkk7.com/darkbluefeeling/archive/2011/11/18/364209.htmlhttp://www.tkk7.com/darkbluefeeling/comments/364209.htmlhttp://www.tkk7.com/darkbluefeeling/archive/2011/11/18/364209.html#Feedback7http://www.tkk7.com/darkbluefeeling/comments/commentRss/364209.htmlhttp://www.tkk7.com/darkbluefeeling/services/trackbacks/364209.html功能Q显C来自Gmail, Hotmail, Yahoo Mail, Facebook, 新浪微博, 癑ֺ, |易邮箱的未读邮件和未读消息数。ƈ可以在提C框直接点击打开查看?nbsp;

地址Q?/span>https://chrome.google.com/webstore/detail/pfpnamijjddnpholapdkhokmgnfkdfpp?hl=zh_CN 


用于提高工作效率?nbsp;

效果图: 

 


]]>
guzz1.2.9多数据库框架更新发布http://www.tkk7.com/darkbluefeeling/archive/2011/08/30/357584.htmlp色心?/dc:creator>p色心?/author>Tue, 30 Aug 2011 09:11:00 GMThttp://www.tkk7.com/darkbluefeeling/archive/2011/08/30/357584.htmlhttp://www.tkk7.com/darkbluefeeling/comments/357584.htmlhttp://www.tkk7.com/darkbluefeeling/archive/2011/08/30/357584.html#Feedback1http://www.tkk7.com/darkbluefeeling/comments/commentRss/357584.htmlhttp://www.tkk7.com/darkbluefeeling/services/trackbacks/357584.html
如无意外Q本ơ更Cؓ1.2.9最后一ơ更斎ͼ随后进行下一个大版本的开发,设计新的功能Q欢q提供想法?/strong> 

guzz 1.2.9 20110830更新介绍Q?/strong> 

本次更新Q?/strong> 

1. fix issue 16. 为paramMapping 增加了type属性,用于直接指定参数cdQ用于在没有java属性直接可用的情况下,为参数设|强cd?nbsp;

2. fix issue 14, 15。允许基于对象的数字cdQ如Long, Integer讄和获取null倹{修正了nullValue属性设|后无效的bug?”null”作ؓnullValue的保留字Q用于将默认D|ؓjava null对象?nbsp;

3. 增加了hbm.xml中新格式的支持。新支持的格式ؓQ?nbsp;
<property name="xxx" type="java.lang.Long"> 
            <column name="col_xxxx" precision="18" scale="0" not-null="true"> 
                <comment>注释xxxx</comment> 
            </column> 
        </property> 

4. 增加了对Isql参数的检。如 select xxx where abc in() xxxQ当in 操作集合为空Ӟ直接q回查询l果为空Q避免sql错误。检仅限于Ztaglib和SeachExpression对象化的查询?nbsp;

5. 修订了配|管理中Q连接池cd参数无法重复d的bug?nbsp;

6. 工程Ҏ了maven理?nbsp;

什么是guzz? 

guzz是一套用于多数据库编E的ORM框架Q用于替代hibernate和ibatisQ实现在一套系l中L使用多台数据库。guzz同时提供通用数据计算和配|管理等Q简化系l复杂度Qؓpȝ在数据层的设计提供一站式解决Ҏ?br />
guzz主要功能与特点: 
  • C大规模系l设计,技术上吸收了ibatis/hibernate的优?/li>
  • 支持应用E序使用大量的数据库和主从读写分?/li>
  • 支持数据库表在多l机器间水^分布QShardQ,q自动维护多l机器之间的分布式事?/li>
  • 支持1张表按照业务规则分切成多张小表(ShadowQ,q支持每张小表拥有自qD的属性字D(CustomQ?/li>
  • 支持1张大表分切后的小表,分布C同的数据库中QVirtualDBQ?/li>
  • 支持越范式的特D关联、非l构化数据等异构资源POJO模式的统一d
  • 支持lg化服务(SOAQ和服务怺依赖Q构Z?目实施基础q_
  • 提供面向对象的数据库d标签(JSP Taglib)Q加快页面展C层的快速变更、开发与部v
  • 对于大部分场景,支持像hibernate一L对象持久、映和方便的增删改查,提高开发效?/li>
  • 对于复杂场景Q支持像ibatis一P让DBA参与SQL设计的复杂数据库操作和优化,以及SQL在线调试
  • 更简z、更好用、更Ҏ控制的批操作接口
  • 支持在线加蝲与调试SQL。按照应用策略,从文?数据?Web Service{途径Q动态提取与使用SQL语句QDynamic SQLQ?/li>
  • 支持配置理服务器,可以使用一套Y件系l对所有应用程序的配置q行l一理
目地址Q?/strong>http://code.google.com/p/guzz/ 
文档Q?/strong>http://code.google.com/p/guzz/wiki/WikiHomePage?tm=6 
下蝲Q?/strong>http://code.google.com/p/guzz/downloads/list 


]]>
通用操作日志pȝ设计。一ơ编写,所有项目共同用!http://www.tkk7.com/darkbluefeeling/archive/2011/08/01/355509.htmlp色心?/dc:creator>p色心?/author>Mon, 01 Aug 2011 10:35:00 GMThttp://www.tkk7.com/darkbluefeeling/archive/2011/08/01/355509.htmlhttp://www.tkk7.com/darkbluefeeling/comments/355509.htmlhttp://www.tkk7.com/darkbluefeeling/archive/2011/08/01/355509.html#Feedback2http://www.tkk7.com/darkbluefeeling/comments/commentRss/355509.htmlhttp://www.tkk7.com/darkbluefeeling/services/trackbacks/355509.htmlZ分表和自定义表结构的日志pȝ。真正够灵zȝQ实现成本较低的通用日志架构?nbsp;

新浪微盘下蝲PDF文档Q?a target="_blank" style="color: #006699; text-decoration: underline; ">http://t.cn/aY8XIT 





]]>
guzz1.2.9更新发布Q支持选D服务http://www.tkk7.com/darkbluefeeling/archive/2011/07/29/355282.htmlp色心?/dc:creator>p色心?/author>Fri, 29 Jul 2011 01:14:00 GMThttp://www.tkk7.com/darkbluefeeling/archive/2011/07/29/355282.htmlhttp://www.tkk7.com/darkbluefeeling/comments/355282.htmlhttp://www.tkk7.com/darkbluefeeling/archive/2011/07/29/355282.html#Feedback6http://www.tkk7.com/darkbluefeeling/comments/commentRss/355282.htmlhttp://www.tkk7.com/darkbluefeeling/services/trackbacks/355282.html
guzz 1.2.9更新介绍Q?/strong> 

本次更新Q?/strong> 

1. 优化了批操作接口。增加了默认的自动提交和清除选项Q得调用者可以连l插入百万记录而不用自p敎ͼ手工分batchSize提交。默认batchSize的大根据数据库cd和版本,自动选择性h比最合适的Q当然调用者也可以在程序中修改?nbsp;

2. 新提供Leader服务接口。Leader接口用于在集环境下认自己是不是主机,一个集下一般只允许1C机。新提供的LeaderService仅ؓ接口Q开发者需要根据自w情况选择适合自己的实现。halo-cloud工程实现了基于zookeeper的Leader服务Q代码:[http://code.google.com/p/halo-cloud/source/browse/trunk/misc/com/guzzservices/version/impl/ZKLeaderElectionServiceImpl.java] 

什么是guzz? 

guzz是一套用于多数据库编E的ORM框架Q用于替代hibernate和ibatisQ实现在一套系l中L使用多台数据库。guzz同时提供通用数据计算和配|管理等Q简化系l复杂度Qؓpȝ在数据层的设计提供一站式解决Ҏ?br />
guzz主要功能与特点: 
  • C大规模系l设计,技术上吸收了ibatis/hibernate的优?/li>
  • 支持应用E序使用大量的数据库和主从读写分?/li>
  • 支持数据库表在多l机器间水^分布QShardQ,q自动维护多l机器之间的分布式事?/li>
  • 支持1张表按照业务规则分切成多张小表(ShadowQ,q支持每张小表拥有自qD的属性字D(CustomQ?/li>
  • 支持1张大表分切后的小表,分布C同的数据库中QVirtualDBQ?/li>
  • 支持越范式的特D关联、非l构化数据等异构资源POJO模式的统一d
  • 支持lg化服务(SOAQ和服务怺依赖Q构Z?目实施基础q_
  • 提供面向对象的数据库d标签(JSP Taglib)Q加快页面展C层的快速变更、开发与部v
  • 对于大部分场景,支持像hibernate一L对象持久、映和方便的增删改查,提高开发效?/li>
  • 对于复杂场景Q支持像ibatis一P让DBA参与SQL设计的复杂数据库操作和优化,以及SQL在线调试
  • 更简z、更好用、更Ҏ控制的批操作接口
  • 支持在线加蝲与调试SQL。按照应用策略,从文?数据?Web Service{途径Q动态提取与使用SQL语句QDynamic SQLQ?/li>
  • 支持配置理服务器,可以使用一套Y件系l对所有应用程序的配置q行l一理
目地址Q?/strong>http://code.google.com/p/guzz/ 
文档Q?/strong>http://code.google.com/p/guzz/wiki/WikiHomePage?tm=6 
下蝲Q?/strong>http://code.google.com/p/guzz/downloads/list 



]]>
halo-cloud开源私有云q_ 新增调度d和邮件发送服?/title><link>http://www.tkk7.com/darkbluefeeling/archive/2011/07/07/353842.html</link><dc:creator>p色心?/dc:creator><author>p色心?/author><pubDate>Thu, 07 Jul 2011 00:43:00 GMT</pubDate><guid>http://www.tkk7.com/darkbluefeeling/archive/2011/07/07/353842.html</guid><wfw:comment>http://www.tkk7.com/darkbluefeeling/comments/353842.html</wfw:comment><comments>http://www.tkk7.com/darkbluefeeling/archive/2011/07/07/353842.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/darkbluefeeling/comments/commentRss/353842.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/darkbluefeeling/services/trackbacks/353842.html</trackback:ping><description><![CDATA[<span id="gequwuq" class="Apple-style-span" style="font-family: Arial, sans-serif, Helvetica, Tahoma; line-height: 25px; "><span style="font-size: large; "><strong style="font-weight: bold; ">halo-cloud介绍</strong></span> <br /><br /><strong style="font-weight: bold; ">halo-cloud是什么?</strong> <br /><br />可由1?00台机器组成,q用普通编E方式扩展的型U有云计^台?nbsp;<br /><br /><strong style="font-weight: bold; ">halo-cloud有何价|</strong> <br /><br />不是每个公司都像google、像淘宝、像新浪微博一样庞大,需要复杂的成千上万台机器组成的大型云计^収ͼ那样技术太复杂Q成本太高?nbsp;<br /><br />更没有多中国公怼使用GAE、Amaze EC之类公共云^収ͼ那样|络吃不消?nbsp;<br /><br />对于普通的公司Q?00C内机器组成的U有云是最好的选择。规模适中、容易开发、易于维护?nbsp;<br /><br />我们对云不炒作,不报qLQ只是希望有了他Q我在一个项目中写过一遍的功能代码Q在以后的项目中可以直接用,不用重复开发。我也不需要什么这规范那规范,因ؓ我从不打开放成公共云,够我的主要项目用Q速度快就好?nbsp;<br /><br />ȝ来说Q我希望我的云是个云Q没有单炚w题;我希望我的云可以节省我的开发和l护成本Q基功能l统只用写一遍就可以复用Q我希望我的云速度快,不要有SOAP Web Service之类的问题,当我真的需要性能的时候;我希望我的云能让现有的团队来l护和l开发,不要学一大堆东西Q甚至牵扯到个h悟性上?nbsp;<br /><br />q就是halo-cloud诞生的理由。私有的、小型的、简单的云计基服务q_。你可以直接使用上面的服务,也可以低成本的在上面开发自q新服务?nbsp;<br /><br />PSQ如果你觉得云这个名字不爽,叫他分布式基础服务吧?nbsp;<br /><br /><span style="font-size: large; "><strong style="font-weight: bold; ">主要更新Q?/strong></span> <br /><br />1. 新增d调度功能?strong style="font-weight: bold; ">目价|</strong>使用quartzl一实现调度Q对于java目开发基本不在需要配|调度;对于php{不具备d功能的语aQ自动获取某个页面定时执行的新功能?nbsp;<br /><br />2. 新增邮g发送功能?strong style="font-weight: bold; ">目价|</strong>对于目开发,基本不用在配|重复的配置邮g服务器,~写邮g发送代码。只需要调用一个API卛_?nbsp;<br /><br />3. 服务器端增加客户端感知功能。编写服务器端程序时Q服务提供者)Q新接口允许提供者获知当前调用者的IP地址和端口,用于q行权限校验{?nbsp;<br /><br /><strong style="font-weight: bold; ">详细说明Q?/strong><a target="_blank" style="color: #006699; text-decoration: underline; ">http://code.google.com/p/halo-cloud/wiki/AboutFAQ</a> <br /><br /><strong style="font-weight: bold; ">目地址Q?/strong><a target="_blank" style="color: #006699; text-decoration: underline; ">http://code.google.com/p/halo-cloud/</a> <br /><br /><br /><br /><br /><br /></span><img src ="http://www.tkk7.com/darkbluefeeling/aggbug/353842.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/darkbluefeeling/" target="_blank">p色心?/a> 2011-07-07 08:43 <a href="http://www.tkk7.com/darkbluefeeling/archive/2011/07/07/353842.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>лǵվܻԴȤ</p> <a href="http://www.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> վ֩ģ壺 <a href="http://wwwaa875.com" target="_blank">ŷպۺϾþþ</a>| <a href="http://77tok.com" target="_blank">޺ݺݾþۺһ77777</a>| <a href="http://whdy888.com" target="_blank">޶·Ļ߿ </a>| <a href="http://52ku6.com" target="_blank">վƵA˫</a>| <a href="http://ss8kk.com" target="_blank">þþƷձľϣ</a>| <a href="http://8222se.com" target="_blank">ĻƬ</a>| <a href="http://aiqingdao999.com" target="_blank">޾Ʒva߹ۿѿ</a>| <a href="http://wlamyx.com" target="_blank">鵺̳Ƶ</a>| <a href="http://avdian126.com" target="_blank">ѲĻ</a>| <a href="http://nxjyyj.com" target="_blank">޾Ʒsuvһ88</a>| <a href="http://miliwo.com" target="_blank">ձa߹ۿ</a>| <a href="http://dxjz120.com" target="_blank">޳߲</a>| <a href="http://wwwyy763.com" target="_blank">߹ۿ</a>| <a href="http://jjv5.com" target="_blank">һҹƵ</a>| <a href="http://thegaybdsm.com" target="_blank">ɫŮһ˿</a>| <a href="http://2886868.com" target="_blank">99ƷȫѹۿƵ..</a>| <a href="http://222mp3.com" target="_blank">þ˾þۺ</a>| <a href="http://wwwbu610.com" target="_blank">91ѹƷ</a>| <a href="http://bjgelinhotel.com" target="_blank">þþƷ99Ʒ</a>| <a href="http://junfurui.com" target="_blank">˻ҳվѹۿȫ</a>| <a href="http://720880.com" target="_blank">Ʒպһ</a>| <a href="http://huakangweicai.com" target="_blank">JIZZJIZZйٸ</a>| <a href="http://sjzbosite.com" target="_blank">һa뼺Ӳִѿ51Ʒ </a>| <a href="http://www22432.com" target="_blank">91ѽ</a>| <a href="http://ranjihua.com" target="_blank">AV鶹Ʒ</a>| <a href="http://hkcp168.com" target="_blank">ҹһƵ</a>| <a href="http://www-333346.com" target="_blank">žžŹƷƵ</a>| <a href="http://sds54.com" target="_blank">AVר޾Ʒ</a>| <a href="http://ldcatv.com" target="_blank">˻ɫַ</a>| <a href="http://26uuyy.com" target="_blank">ŮƷþ</a>| <a href="http://bznys.com" target="_blank">þ޹vwww</a>| <a href="http://maomi90.com" target="_blank">ձһ߹ۿ</a>| <a href="http://sjkuaixun.com" target="_blank">½޾Ʒ</a>| <a href="http://gbn21.com" target="_blank">AV뾫Ʒ</a>| <a href="http://23usxx.com" target="_blank">99Ƶ߾Ʒѹۿ6</a>| <a href="http://zbr555sina.com" target="_blank">͵޾Ʒ</a>| <a href="http://4eeyy.com" target="_blank">AVרAVëվ</a>| <a href="http://junfurui.com" target="_blank">1000Ƶ</a>| <a href="http://zjjtejia.com" target="_blank">Ʒһֱ</a>| <a href="http://vvbbn.com" target="_blank">С˵ͼƬ</a>| <a href="http://hljc988.com" target="_blank">Ѱvվ߹ۿg</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>