VB and COM for a new site?...
Hey guys,
I am new to VB and COM, let's get that out in the open right at the start! What I want to know is this...
A mate and I are building a simulation share market site, whereby we trade in real stocks (australian), but not real money. players whos portfolios rise the most in value wins prizes... etc you get the picture.
As there are going to be a hell of a lot of trades being done and user accounts etc would I be better off developing the trading system as a component in VB or straight ASP? I have no probs if it is straight ASP but for performance would COM be faster etc?
Any hints suggestions straight out laughter directed at my ignorance welcome!
Mark Hensler posted this at 17:11 — 13th October 2001.
He has: 4,048 posts
Joined: Aug 2000
Compiled VB would be faster than ASP. But I can't tell ya much more than that. I never really played much with compiling VB for web.
mycoolross posted this at 23:09 — 13th October 2001.
They have: 82 posts
Joined: Oct 2001
I am guessing this info will be stored in a database.
If this is the case you will be using a COM object and calling it from an ASP page then accessing the database.
Will the COM object use ADO?
If so you have an ASP page calling an object (Visual Basic)
this object will call another object (ADO).
This seems counter productive to me. You can just call ADO
from your ASP page. This creates one object as opposed to two. I think this would be more efficient.
Good Luck!
- Mike
Blessed is the man who fears the LORD, who delights greatly in his commandments. Psalms 112:1
Peter J. Boettcher posted this at 23:35 — 13th October 2001.
They have: 812 posts
Joined: Feb 2000
Ahh, the age old debate, well not that old I guess...
Anyway, it really depends on what you're doing, and the platform. In IIS4 using COM produces much better performance over doing the same thing in ASP. With the release of IIS5, Microsoft really improved the ASP engine, and believe it or not it's actually faster to keep it in ASP than doing the same thing in COM.
Here's the BUT!
If you're going to be doing something more than calling a stored procedure or running a query or 2 then you should probably go with COM, it's hell to debug, but if written properly it will save you time down the road (since it's properties and methods can be used by another application)
Just remember that doing it in COM will add considerable time to the project.
Have fun!
PJ | Are we there yet?
pjboettcher.com
detox posted this at 01:57 — 15th October 2001.
They have: 571 posts
Joined: Feb 2001
Thanks for the help guys. If that is right about IIS5 then I don;t think I will worry. The main issue I was wondering about was scalability with regards to this.....
Peter J. Boettcher posted this at 15:26 — 15th October 2001.
They have: 812 posts
Joined: Feb 2000
Check out this link, it provides some great data: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnile/html/docu2kbench.asp
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.