VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Asynchronous Database Processing

by Kamilche (35 Submissions)
Category: Databases/Data Access/DAO/ADO
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (5 Votes)

Asynchronous Database Processing via Active EXE - When processing thousands of requests for a multi-user real-time application, you cannot afford to wait for the relatively slow database processing to occur. Here's the scenario: You have 1000 people already online and playing your multi-user game, and 10 people in the process of logging on right now. What do you do? You could process the logons right now, searching through thousands of user records, to load up their information - but then the game would appear to 'hang' for everyone already playing, waaaay bogus. You could process only 1 person at a time, in the main processing loop - that's better, but will add unnecessary slowdown to your program. What if you could log on the person in a BACKGROUND process, which wouldn't slow down the existing users? Ooh yeah. Or better yet, hand the request off to a machine across the network, dedicated to database processing? NOW we're talking! :-) You can do this easily, using Visual Basic ActiveX EXE's.
Have fun with it!

Assumes
You should be familiar with Database Processing in general, and have at least trotted through the 'CoffeeWatch' ActiveX EXE project in the MSDN Online Help, before tackling this project.

Rate Asynchronous Database Processing

Download Asynchronous Database Processing

Download Asynchronous Database Processing (13 KB)

Asynchronous Database Processing Comments

No comments have been posted about Asynchronous Database Processing. Why not be the first to post a comment about Asynchronous Database Processing.

Post your comment

Subject:
Message:
0/1000 characters