大家来谈谈INTERNET(WEB)与WINDOWS编程的体会(100分)

  • 主题发起人 主题发起人 Bear
  • 开始时间 开始时间
B

Bear

Unregistered / Unconfirmed
GUEST, unregistred user!
我觉得INTERNET编程好象是在做文字编辑。
 
不知道你所指的是什么类型的InetNet编程
光作竹叶.还是要写CGI
光作竹叶 技术问题不多
CGI还是有工作要做的
我觉得做竹叶这类事情应该是搞平面设计的人做的
真正程序员只能参与技术问题的处理
我写CGI都是找人先写好模版
再根据请求填写一些TAG
 
不仅仅这样吧!
除非只是做网页.
 
即使只做主页也不是那么简单的.现在
几乎找不到没有script的主页了.写
script并不比编程序简单.而且HTML
也不是那么简单的,要完全使用HTML
的特性,没有编程的功底是不行的.
 
做竹叶时文字编辑确实比较烦,不过这种东西个不应该有我们来做.
 
用IIS4如何实现推的技术?
我感觉用现有的WEB技术,无法实现真正的动态。
能让WWW服务器每隔10分钟向正在连接的IE推送
一页面吗?
 
To hfade:
HTTP本来就不是面向连接的,何来"正在连接的IE"?
如果要求页面每10分钟刷新一次,又不要求精确到
10^-xx秒,倒是很容易(事实上,通过网络,即使用TCP,
也很难实现精确到10^-xx秒).只要在HEAD节加上一个
元(META)标记就可以了.
 
META 和 push正好相反是pull
其实是要浏览器定时查询。
HTTP1.1已经支持有连接了。
下面是RFC 2068 的原文。
我测试了IIS的确如此。
问题是在服务器上的应用如何利用已建立的连接?

8 Connections
8.1 Persistent Connections
8.1.1 Purpose
Prior to persistent connections, a separate TCP connection was
established to fetch each URL, increasing the load on HTTP servers
and causing congestion on the Internet. The use of inline images and
other associated data often requires a client to make multiple
requests of the same server in a short amount of time. Analyses of
these performance problems are available [30][27]; analysis and
results from a prototype implementation are in [26].
Persistent HTTP connections have a number of advantages:
o By opening and closing fewer TCP connections, CPU time is saved,
and memory used for TCP protocol control blocks is also saved.
o HTTP requests and responses can be pipelined on a connection.
Pipelining allows a client to make multiple requests without
waiting for each response, allowing a single TCP connection to be
used much more efficiently, with much lower elapsed time.
o Network congestion is reduced by reducing the number of packets
caused by TCP opens, and by allowing TCP sufficient time to
determine the congestion state of the network.
o HTTP can evolve more gracefully; since errors can be reported
without the penalty of closing the TCP connection. Clients using
future versions of HTTP might optimistically try a new feature, but
if communicating with an older server, retry with old semantics
after an error is reported.
HTTP implementations SHOULD implement persistent connections.
 
多人接受答案了。
 
后退
顶部