atmosphere

把数据中心沉入海底,微软创举能否领航未来?

Deadly 提交于 2021-01-10 02:30:41
感谢流利阅读,感谢雪梨老师 今日导读 数据中心在网络基础设施上传递、加速、展示、计算和存储数据信息方面发挥着举足轻重的作用,但因为要考虑到安全、成本以及冷却等因素,“数据中心到底该建在哪儿”一直是让互联网企业十分头疼的问题。最近 BBC 新闻爆出微软公司做出了一个开创性的尝试,他们把数据中心沉入了海底。这样做有什么好处呢?专家们对此又有怎样的看法? Microsoft sinks data centre off Orkney 在奥克尼海域附近,微软将数据中心沉海 注: 为了凸显时效性,动词用一般现在时,表示过去已经发生的事情;为了新闻语言凝练,常常省略冠词,a data centre;off在这里相当于near,next to表示距离某地附件或不远 Microsoft has sunk a data centre in the sea off Orkney to investigate whether it can boost energy efficiency. The data centre, a white cylinder containing computers, could sit on the sea floor for up to five years. 日前,微软公司将一个数据中心沉入了奥克尼群岛附近的海域,以此来检测是否能提高能源效率

How to change JSESSIONID after login in Vaadin8?

不羁岁月 提交于 2020-08-10 19:12:33
问题 I'm trying to implement session reinitialization for Vaadin for security reasons (Session_fixation) but failing to do so. I am using Vaadin 8.9.4 with @Push and WildFly 8.1.0.Final. Also using the Vaadin heartbeat and @PreserveOnRefresh annotation. I have tried using the VaadinService.reinitializeSession but with no luck. App just hangs, refresh will throw me back to login screen (with new JSESSSIONID though). Here's an example what I have tried: VaadinService.reinitializeSession

Switch 10.1.0 无法启动软件请在home菜单中再试一次 解决方法

◇◆丶佛笑我妖孽 提交于 2020-08-08 10:41:57
起因 : NS-Atmosphere 一直没有更新 10.x.x 的SDFILE 所以自己手动更新了所需的文件 症状 :系统更新 10.1.0 后(SDFILE是自己手动更新的)   打开游戏提示 无法启动软件请在home菜单中再试一次 收集到的有用资料 :   91wii的小伙伴都在说什么es?补丁?由于权限不够看不了~   找到个国外的帖子 Sigpatch problem 10.1.0 | AMS 0.13.0 update   回答者 Lacius (口罩林克)提供了如何正确使用大气层的方法!以及那个传说中的补丁!!!    以下为 口罩林克 的回复 : Make sure the SD card is FAT32. // 你懂的 Remove all CFW files/folders from your SD card (that would be folders like /sept/ and /atmosphere/) // 我没有使用kos?所以跳过 Download the latest Atmosphere //我下载的是最新的 大气层 0.13.0 Download the latest fusee-primary (next to Atmosphere) // 同样下载最新的 fusee-primary.bin(就在大气层下载页面) Download

HTML5 Server sent events and multiple clients (without using Comet)

一笑奈何 提交于 2020-01-21 09:27:25
问题 I have a usecase for which I would like to know if HTML5's Server-sent-Events is suitable. Multiple clients (Javascript+HTML5 browsers) connect to the web server (with a Java EE backend). Each client could be looking at a different view at any time, depending on what is their object of interest. My Question is: How to keep multiple clients (on different views) up-to-date on the updates happening on the server-side, without flooding all clients with all updates on all views ? Important points

Primefaces Push - What are the methods in <p:socket/> client widget

别等时光非礼了梦想. 提交于 2020-01-06 03:22:04
问题 Can anybody point me to any api link which contains the <p:socket/> client widget? Going through the push showcase I can only see connect method in requestContext.execute("subscriber.connect('/" + username + "')"); What are the other methods.? Is there any disconnect method as-well.? Also, how to create separate channel for each user (in case of chat application). I reckon, this <p:socket onMessage="handleMessage" channel="/chat/#{userSession.userId}" autoConnect="false" widgetVar="subscriber

Tomcat crashes with error java.lang.OutOfMemoryError: GC overhead limit exceeded

心已入冬 提交于 2020-01-02 04:39:06
问题 After the tomcat ran several months, I got unexpectetly the error below. We restarted the tomcat and the error do not appear now but may be will come again in the future. I saw that another users had simmilar exceptions, related with the garbage collection, but not related exactly with the NIO connector. Does somebody has an idea why this happens and what should be the correct fix to avoid it. Jan 15, 2016 7:46:47 AM org.apache.tomcat.util.net.NioEndpoint$SocketProcessor run SEVERE: java.lang

Primefaces 5.3 push fails on GlassFish 4.1

落花浮王杯 提交于 2019-12-25 11:35:17
问题 My web.xml: <?xml version="1.0" encoding="UTF-8"?> <web-app version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"> <context-param> <param-name>javax.faces.PROJECT_STAGE</param-name> <param-value>Development</param-value> </context-param> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp

Primefaces 5.3 push fails on GlassFish 4.1

谁说我不能喝 提交于 2019-12-25 11:34:18
问题 My web.xml: <?xml version="1.0" encoding="UTF-8"?> <web-app version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"> <context-param> <param-name>javax.faces.PROJECT_STAGE</param-name> <param-value>Development</param-value> </context-param> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp

Vaadin cannot establish Websocket connection on OpenShift

て烟熏妆下的殇ゞ 提交于 2019-12-24 07:25:17
问题 I'm using Vaadin 7.3 with Tomcat8 (built manually from sources on the server) on the OpenShift server. My other setup is Tomcat7 7.0.54 also on OpenShift. My problem appears on both those configurations. Here's what happens: while I'm opening my Vaadin application with the @Push support enabled, I get the following error: WebSocket connection to 'ws://t8-drewconnect.rhcloud.com/web/PUSH/?v-uiId=0&v-csrfToken=4097664e-4d3b-4dd6-9474-0a6441986e9a&X-Atmosphere-tracking-id=0&X-Atmosphere

Tomcat 7 Websockects through AJP not working. Any suggestions?

落爺英雄遲暮 提交于 2019-12-24 01:08:05
问题 Does anyone know if the Tomcat release 7.0.27 AJP Connecter can support http upgrade (websockets) if setting your protocol to the AjpNioProtocol. http://tomcat.apache.org/tomcat-7.0-doc/config/ajp.html#Connector_Comparison I'm working with atmosphere, but even with a basic socket request, the client websocket closes. Atmo Error: Connection closed with no close frame being sent. 回答1: The AJP protocol does not support WebSocket. If you use HTTP rather than AJP with your reverse proxy it might