Welcome Guest Search | Active Topics | Members | Log In | Register

HttpListener performance Options
admin
Posted: Thursday, March 13, 2008 5:49:40 AM
Rank: Administration
Groups: Administration

Joined: 2/15/2008
Posts: 130
Points: 835
First of all, we would like to thank all XF.Server users and especially Mash for his performance considerations.

XF.Server is positioned as a component that should outperform standard .NET classes and we did it except for HttpListener(which uses kernel mode listener - http.sys).

According to our benchmarking we have the following results(in performance order).
1. HttpListener (both with cached and dynamic page data)
2. XF.Server
3. TcpListener
4. .Net Socket Async
5. Dart PowerTCP Socket (3rd party component)

NOTE:
1. HttpListener shows high performance if it is a real request(can accept connection and read data from it) which is the most case. But if there are only stale connections(clients connected but didn't send data) then it works bad.
2. HttpListener can only be used to process http requests(actually we suggest that), but if you need to process custom protocol over TCP/IP then XF.Server is the best choice.

Sources of the demo servers used to test performance and detailed test results will be provided in a few days.

Thanks,
Kodart Technologies



Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.6 (NET v2.0) - 11/14/2007
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.
This page was generated in 0.046 seconds.
8 queries (0.017 seconds, 36.96%).

yaf_pageload: 0.005
yaf_topic_info: 0.001
yaf_forum_list: 0.001
yaf_forum_listpath: 0.001
yaf_forum_listpath: 0.001
yaf_post_list: 0.006
yaf_usergroup_list: 0.001
yaf_active_listtopic: 0.001