Discuss: Network failure - application reaction (9.17 update)

昨天我们组的一个组员提出了一个Raliability issue。问题是说当一个web application在访问服务器时,网络断开,应该给用户什么样的错误信息。我将问题总结了一下,和developer leader讨论后,他们认为很难定位并改进这个问题,因为系统并不能捕获server端没有相应的真正原因。我想在网络上寻求expected behavior的解决方案,但是百度上中文搜索,似乎没有人讨论相关话题,google上英文搜索倒是有些tolerant message的文档,貌似非常复杂,正在研究中。。。

 

也许这个问题在真实的系统测试中并不被看中,或是在用户端也并不是重要的问题。但,我想既然Microsoft IE Browser 可以将问题分类解决的这么彻底(refer to http://technet.microsoft.com/en-us/library/cc773153(WS.10).aspx ),我们也应该严谨一些。

 

 

(9.17更新)

以下是初步解决方案 (我现在比较喜欢且习惯用ppt画图解释问题,呵呵)

 

 

Strictly, the problem could be classified with two categories.

 

First case : the connection between client and web-server failed.

1.     Client send request to server normally

2.     No response, waiting

3.     Session gets expired, give no response warning message

 

Second case : the connection between web-server and database failed.

1.     Error code returned to server

2.     Server parse the code and tell client side what happened

3.     Client side displays error message like “ The connection attempt failed because the network is busy.

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值