PHP与ASP.NET;哪一个更快 [英] PHP vs ASP.NET; which one is faster
问题描述
你好朋友,我想知道哪个更好; PHP或ASP.NET.我试图用两种语言实现的是套接字操作.例如,在PHP中,我可以执行f_sock_open($ host,$ port)之类的操作,并使用fread()和fwrite()函数对套接字进行读写.
我也想使用ASP.NET来执行此类任务,因为我正在使用PHP来执行套接字操作,而且似乎有点慢.因此,我想知道ASP.NET是否可以通过这种相同类型的操作更快.
请注意,套接字操作将被多次使用,例如一分钟内可能最多处理100个请求.那么,哪一个更适合我使用呢? PHP或ASP.NET
Hello friends, i want to know which one is better; PHP or ASP.NET. what i am trying to implement with the two languages is a socket operation. For example, in PHP, i can do something like the f_sock_open($host, $port) and use the fread() and fwrite() function to do the reading and writing to the socket.
I want to perform this kind of task also using ASP.NET because i am using PHP to perform the socket operation and it seems to be a bit slow. So i want to know if ASP.NET will be faster with this same type of operation.
Note that the socket operation will be used several times e.g. it may process up to 100 requests in a minute. So, which one will be better for me to use? PHP or ASP.NET
推荐答案
主机,
端口),然后使用fread()和fwrite()函数执行读取和写入套接字.
我也想使用ASP.NET来执行此类任务,因为我正在使用PHP来执行套接字操作,而且似乎有点慢.因此,我想知道ASP.NET是否可以通过这种相同类型的操作更快.
请注意,套接字操作将被多次使用,例如一分钟内可能最多处理100个请求.那么,哪一个更适合我使用呢? PHP或ASP.NET
port) and use the fread() and fwrite() function to do the reading and writing to the socket.
I want to perform this kind of task also using ASP.NET because i am using PHP to perform the socket operation and it seems to be a bit slow. So i want to know if ASP.NET will be faster with this same type of operation.
Note that the socket operation will be used several times e.g. it may process up to 100 requests in a minute. So, which one will be better for me to use? PHP or ASP.NET
^ ]
http://www.comentum.com/php-vs-asp.net-comparison.html [^ ]
ASP .NET是Fab :):)
http://www.velvetblues.com/web-development-blog/php-vs-asp-which-is-best-for-your-application/[^]
http://www.comentum.com/php-vs-asp.net-comparison.html[^]
ASP .NET is Fab :) :)
这篇关于PHP与ASP.NET;哪一个更快的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!