ASP or ActiveX

M

Meelis Lilbok

Hi

simple question


what is faster, ASP Code or compiled ActiveX DLL with same functions(queryng
data from ms sql server)




Regards;
Mex
 
B

Bob Barrows [MVP]

Meelis said:
Hi

simple question


what is faster, ASP Code or compiled ActiveX DLL with same
functions(queryng data from ms sql server)
It depends. In general, compiled code will wait (i.e., for database
connections to be made, data to be returned from queries, etc.) just as long
as non-compiled code will wait. IOW, when it comes to working with a
database, bottlenecks usually have nothing to do with whether the code doing
the database communication is compiled or not.

Where compiled code may have an advantage is situations where a lot of extra
processing is done to the data after it is returned from the database.

When running ActiveX DLL's from ASP, you should be aware that there is some
overhead involved from instantiating the dll.

A more definitive answer can only be gained by testing both options in your
application.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,763
Messages
2,569,562
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top