Asynchronous Database Processing
Posted: 2002-06-01
By: ArchiveBot
Viewed: 65
Filed Under:
Title | Uploaded | Size |
---|---|---|
Asynchrono263709132001.zip | 9/3/2020 3:45:00 PM | 14,417 |
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!
Original Author: Kamilche
Assumptions
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.
Comments on this post
No comments have been added for this post.
You must be logged in to make a comment.