Dear all,
I am trying to develop a realtime application which will
receive massive data from COM port and then process it and
store it into database(SQL Server). The data came from
Stock Market central, so will expect heavy load traffic in
it.
So in order to support this heavy traffic + processing
messages + storing data , is it better to develop it
using .NET framework or no difference if using Visual C++6?
btw, i plan to develop COM server for this app , so can i
know is there a performance increase if develop COM
under .NET? thank you.
Michael Giagnocavo [MVP] - 27 Aug 2003 16:34 GMT
If you write a COM server (Component Object Model, not the COM
hardware) using the .NET Framework, you will have to do some kind of
interop. This will have some overhead. It may or may not be
acceptable for your app.
You might want to check out VC++ 7.1 -- it allows you to mix .NET code
as well as native code.
-mike
MVP
> Dear all,
>
[quoted text clipped - 10 lines]
> know is there a performance increase if develop COM
> under .NET? thank you.
Mark - 29 Aug 2003 16:50 GMT
"Bryan Gan" <gcy80@yahoo.com> wrote in news:09e601c36c7c$d548d310
$a401280a@phx.gbl:
> Dear all,
>
[quoted text clipped - 3 lines]
> Stock Market central, so will expect heavy load traffic in
> it.
If you're talking about a serial port, then the maximum that the port can
deliver (115 kbps) is nothing. Very, very little. You could do it in
vbscript on an old machine with room to spare.
> btw, i plan to develop COM server for this app , so can i
> know is there a performance increase if develop COM
> under .NET? thank you.
COM in .NET is not faster than COM in c++. If anything, it will be a bit
slower due to interop.
Mark