Search Options
close
Search the following clips:
All Clips
Everyone's Clips
My Guides
Sign Up
Install
Learn More
Login
为什么说 WebService 的效率不高(整理)
neoit
follow
0
7-22-2008 7:02 AM
538 views
tags:
.net
,
c#
Add a Comment
Login
to Comment. Not a member yet?
Sign up
Today's Top Clips
35 Powerful Photos That Each Tell A Story
A House is not a Home Without a Pet.
How enlightened are you?
cute animals sleeping
Creative Photography
Remembrance day conman named and shamed
Global Warming and Mt. Kilimanjaro; Receding for More Than a Century
trick of the eye" delightfully deceptive works of art-
Giant caterpillar found in a college dorm room
ancient acropolis theatre to be restored
visit the
Top Clips page
View the Top Clips from
July 22, 2008
Embed This Clip In Your Site...
<div style="margin: 12px 0px; font-family: arial; color: #333333; background: #ffffff; border: solid 4px #e5e5e5; width: 100%; clear: left;"><div class="CM_CTB_Content_Wrap" style="margin: 0px; padding: 0px;background-color: #ffffff;"><div style="border-bottom: solid 1px #dcdcdc; white-space: nowrap; margin-bottom: 8px; background-color: #eeeeee ;background-image: url(http://clipmarks.com/images/source-bg.gif); background-repeat: repeat-x; height: 24px; line-height: 24px; vertical-align: middle; padding-bottom: 4px; color: #666666; font-size: 10px;" ><a href="http://clipmarks.com/clip-to-blog/" title="see clips that are hot right now"><img src="http://content.clipmarks.com/blog_embed/dc20d526-e2f3-459e-98a2-c231df755041/31F62923-25BA-4AF6-A77D-71E9FC678065/" alt="" width="19" height="19" border="0" style="vertical-align: middle; margin: 0px 4px; display: inline; border: none; float:none;" /></a>clipped from <a title="http://www.cnblogs.com/cuihongyu3503319/archive/2007/02/08/644760.aspx" href="http://www.cnblogs.com/cuihongyu3503319/archive/2007/02/08/644760.aspx" style="font-size: 11px;">www.cnblogs.com</a></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.cnblogs.com/cuihongyu3503319/archive/2007/02/08/644760.aspx"><DIV class="post"> <DIV class="postTitle"> <A href="http://www.cnblogs.com/cuihongyu3503319/archive/2007/02/08/644760.html" class="postTitle2" id="AjaxHolder_ctl01_TitleUrl">为什么说 WebService 的效率不高(整理)</A> </DIV> 1.Web Service属于RPC的一种,说它效率不高应该是与其它RPC手段相比而言的吧 Web Service最大的特点是一般情况下采用XML序列化数据进行传输,而XML是文本格式,其效率比特化的二进制肯定要低的。 另外,在数据类型较少的情况下,XML的解析时间可能要多于按约定的读取时间 <BR />2.c/s,你直接就可以连接数据库,但ws,你就要通过ws的机器去访问数据库,有了中间一环,怎么能快的起来。<BR />3.和传输应该没有关系,webservice因为要跨平台,要兼容,中间的机制导致效率低这个和C++比C效率低下的道理差不多<BR />4.在传输效率上稍逊一筹,综合表现还是很不错的。如果系统涉及大量二进制数据传输,webservice就不是很适合了。<BR />5.XML序列化本来就会是数据膨胀. XML的强项在乎数据描述. <DIV class="postDesc">posted on 2007-02-08 13:21 <A href="http://www.cnblogs.com/cuihongyu3503319/">宏宇</A> 阅读(218) <A href="#Post">评论(0)</A> <A href="http://www.cnblogs.com/cuihongyu3503319/admin/EditPosts.aspx?postid=644760">编辑</A> <A href="http://www.cnblogs.com/cuihongyu3503319/AddToFavorite.aspx?id=644760">收藏</A> 所属分类: <A href="http://www.cnblogs.com/cuihongyu3503319/category/77561.html">web service</A> </DIV> </DIV></blockquote></div><div style="margin: 0px 6px 6px 4px;"><table style="font-size: 11px;border-spacing: 0px;padding: 0px;" cellpadding="0" cellspacing="0" width="100%"><tr><td style="background:transparent;border-width:0px;padding:0px;"> </td><td align="right" style="background:transparent;border-width:0px;padding:0px;width:107px" width="107"><a href="http://clipmarks.com/share/31F62923-25BA-4AF6-A77D-71E9FC678065/blog/" title="blog or email this clip"><img src="http://content8.clipmarks.com/images/c2b-foot.png" border="0" alt="blog it" width="107" height="17" style="border-width:0px;padding:0px;margin:0px;" /></a></td></tr></table></div></div>
New from the makers of Clipmarks:
Amplify.com - Don't just share the news...Amplify it!
Clipmarks
Home
New Clips
Top Clips
Dashboard
Popular Topics
News
Life
Science
Technology
Entertainment
Get Started
Sign Up
Install Clipping Tool
How Clipping Works
Clip-to-Blog™
ClipSearch
Tools and Resources
FAQ
ClipWeek
Top Clippers
Top Tags
Site Map
About Clipmarks
About Us
Contact
Copyright
Privacy
EULA
OK