如果能利用好PUSHLET,其实可以做好很多事情的。期待能再次空下来,对WEB的IM升级,然后一起跟大家分享。如果真的深入了解pushlet,你会在这里找到很多乐趣!谢谢
http://pijunliang.iteye.com/blog/89158 这里是IM的一些需求分析
?
?
lib包下载方式:(可能需要先登陆)没办法,包太多了,必须这样上传,就必须辛苦点下载
http://pijunliang.iteye.com/topics/download/620de644-7773-4658-97da-1729f027a6f7
http://pijunliang.iteye.com/topics/download/0a7c7e47-de6b-474b-982c-ee519861aa78
http://pijunliang.iteye.com/topics/download/4d4d0ccc-8815-4ea5-8f3d-26a74ebc6294
http://pijunliang.iteye.com/topics/download/6a45184a-c5ee-4ccd-b79d-4ea1a4f1aed2
http://pijunliang.iteye.com/topics/download/c21021ca-c177-4b49-a5e2-7de7d04d288b
?
?
新增加一个platcore 包。导入到本地工程目录中
http://pijunliang.iteye.com/topics/download/2c452eef-7436-3571-9f72-8fa56bb95334
并且flash的用户覆盖面非常广.
google talk就是基于flex的.以后有望换成 air.
google analysis已经使用了air
经过大量的播客或yahoo map的实践, 一般服务器也能达到性能极佳, 因此flash做IM是最理想的.
500连接下性能就只剩iis的1/30了。
要做im,还是用c吧
谁做下linux下的java高并发连接测试?
INFO [org.springframework.core.CollectionFactory] - JDK 1.4+ collections available
INFO [org.springframework.core.CollectionFactory] - Commons Collections 3.x available
INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from file [C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\pushletTest\WEB-INF\classes\spring\applicationContext.xml]
INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from file [C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\pushletTest\WEB-INF\classes\spring\dataAccessContext-hibernate.xml]
INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] - Loading XML bean definitions from file [C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\pushletTest\WEB-INF\classes\spring\serviceContext.xml]
INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean factory for application context [Root WebApplicationContext]: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [propertyConfigurer,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor,org.springframework.aop.aspectj.AspectJExpressionPointcut,org.springframework.aop.aspectj.AspectJPointcutAdvisor,org.springframework.aop.aspectj.AspectJExpressionPointcut#1,org.springframework.aop.aspectj.AspectJPointcutAdvisor#1,txAdvice,dataSource,sessionFactory,transactionManager,chatMessageManager,chatGroupManager,chatUserInfoManager,chatRemindManager,chatListenManager,userManager,orgManager]; root of BeanFactory hierarchy
INFO [org.springframework.web.context.support.XmlWebApplicationContext] - 18 beans defined in application context [Root WebApplicationContext]
INFO [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] - Loading properties file from URL [file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/pushletTest/WEB-INF/classes/config/connection.properties]
INFO [org.springframework.aop.framework.DefaultAopProxyFactory] - CGLIB2 available: proxyTargetClass feature enabled
INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Bean 'org.springframework.aop.config.internalAutoProxyCreator' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@ff65bf]
INFO [org.springframework.web.context.support.XmlWebApplicationContext] - Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@22fde7]
INFO [org.springframework.ui.context.support.UiApplicationContextUtils] - Unable to locate ThemeSource with name 'themeSource': using default [org.springframework.ui.context.support.ResourceBundleThemeSource@1e31f72]
INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] - Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [propertyConfigurer,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor,org.springframework.aop.aspectj.AspectJExpressionPointcut,org.springframework.aop.aspectj.AspectJPointcutAdvisor,org.springframework.aop.aspectj.AspectJExpressionPointcut#1,org.springframework.aop.aspectj.AspectJPointcutAdvisor#1,txAdvice,dataSource,sessionFactory,transactionManager,chatMessageManager,chatGroupManager,chatUserInfoManager,chatRemindManager,chatListenManager,userManager,orgManager]; root of BeanFactory hierarchy]
INFO [com.mchange.v2.log.MLog] - MLog clients using log4j logging.
INFO [com.mchange.v2.c3p0.C3P0Registry] - Initializing c3p0-0.9.0.4 [built 23-January-2006 22:20:29 -0500; debug? true; trace: 10]
INFO [org.hibernate.cfg.annotations.Version] - Hibernate Annotations 3.2.1.GA
INFO [org.hibernate.cfg.Environment] - Hibernate 3.2.1
INFO [org.hibernate.cfg.Environment] - hibernate.properties not found
INFO [org.hibernate.cfg.Environment] - Bytecode provider name : cglib
INFO [org.hibernate.cfg.Environment] - using JDK 1.4 java.sql.Timestamp handling
INFO [org.hibernate.cfg.Configuration] - configuring from url: file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/pushletTest/WEB-INF/classes/config/hibernate.cfg.xml
INFO [org.hibernate.cfg.Configuration] - Reading mappings from resource : com/ecomm/chat/pojo/ChatUserInfo.hbm.xml
INFO [org.hibernate.cfg.Configuration] - Reading mappings from resource : com/ecomm/chat/pojo/ChatListen.hbm.xml
INFO [org.hibernate.cfg.Configuration] - Reading mappings from resource : com/ecomm/chat/pojo/ChatGroup.hbm.xml
INFO [org.hibernate.cfg.Configuration] - Reading mappings from resource : com/ecomm/chat/pojo/ChatMessage.hbm.xml
INFO [org.hibernate.cfg.Configuration] - Reading mappings from resource : com/ecomm/chat/pojo/ChatRemind.hbm.xml
INFO [org.hibernate.cfg.Configuration] - Reading mappings from resource : com/pphome/orgmodel/pojo/OrgInfo.hbm.xml
INFO [org.hibernate.cfg.Configuration] - Reading mappings from resource : com/pphome/orgmodel/pojo/UserInfo.hbm.xml
INFO [org.hibernate.cfg.Configuration] - Configured SessionFactory: null
INFO [org.springframework.orm.hibernate3.LocalSessionFactoryBean] - Building new Hibernate SessionFactory
INFO [org.hibernate.cfg.HbmBinder] - Mapping class: com.ecomm.chat.pojo.ChatUserInfo -> CHAT_USERINFO
INFO [org.hibernate.cfg.HbmBinder] - Mapping class: com.ecomm.chat.pojo.ChatListen -> CHAT_LISTEN
INFO [org.hibernate.cfg.HbmBinder] - Mapping class: com.ecomm.chat.pojo.ChatGroup -> CHAT_GROUP
INFO [org.hibernate.cfg.HbmBinder] - Mapping class: com.ecomm.chat.pojo.ChatMessage -> CHAT_MESSAGE
INFO [org.hibernate.cfg.HbmBinder] - Mapping class: com.ecomm.chat.pojo.ChatRemind -> CHAT_REMIND
INFO [org.hibernate.cfg.HbmBinder] - Mapping class: com.pphome.orgmodel.pojo.OrgInfo -> ORG_INFO
INFO [org.hibernate.cfg.HbmBinder] - Mapping class: com.pphome.orgmodel.pojo.UserInfo -> USER_INFO
INFO [org.hibernate.cfg.HbmBinder] - Mapping collection: com.ecomm.chat.pojo.ChatMessage.chatRemind -> CHAT_REMIND
INFO [org.hibernate.cfg.HbmBinder] - Mapping collection: com.pphome.orgmodel.pojo.OrgInfo.userInfo -> USER_INFO
INFO [org.hibernate.connection.ConnectionProviderFactory] - Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider
INFO [com.mchange.v2.c3p0.PoolBackedDataSource] - Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource@11d7dda[ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, description -> null, driverClass -> oracle.jdbc.OracleDriver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 11d7dda, idleConnectionTestPeriod -> -1, initialPoolSize -> 3, jdbcUrl -> jdbc:oracle:thin:@192.168.12.102:1521:orcl, loginTimeout -> 0, maxIdleTime -> 1800, maxPoolSize -> 100, maxStatements -> 50, maxStatementsPerConnection -> 0, minPoolSize -> 5, numHelperThreads -> 3, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 300, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, usesTraditionalReflectiveProxies -> false ]
一直不能启动成功 请问是什么原因?
com.ecomm.chat.manager.ChatUserInfoManager.getInstance().updateChatUserInfoOnlineStateS(userid,"1");
麻烦看看,谢谢啊
能不能发个全的啊