Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Benchmarks for VFP versus SQL Server
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00485384
Message ID:
00486715
Vues:
16
>Since a processing time is a split second it's not a problem. Each user creates a request file with a unique generated name. If the FoxPro server is busy, the request file just stays in the directory until it is picked up. So there is a natural queue. On testing I had problems related to the server being too fast. For example, if there is no error handling routine, you may hit "File Access Denied" message while processing the request file. I take it that the request file just written into the directory is being picked up before the OS really releases it after writing. You can easily handle this in ON ERROR routine, and the simplest way I tried was just ON ERROR RETRY.
>
>I also tried to run more than one instance of the FoxPro server PRG, and the problem was that it was so fast, that two instances might pick up and process the same request, or one instance picked the request file name too, but when it tried to open it, the file already had been deleted by the second instance.

All right, thank you very much Nick.

...Y soy feliz, bien feliz, asi lo grito;
Mira, que el mundo sepa, que se sepa:
Soy feliz....                       

...And I'm happy, quite happy, so do I yell it;
Look, so the world knows it, so be known:
I'm happy...
 

Ismael Rivera "Oye cosita linda"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform