Code center > Suggestions
Distributed Programming
PurpleYouko:
The uploads should stay on the server until they are downloaded again, then they get removed.
The old way just wrote the DBO files directly to a folder on the server PC then went in and chose a random file to download. After that it would wipe the file that it downloaded.
The database method should work the same way.
The server should end up being a repository of hundreds of DBO files at a time. Downloads and uploads are random
The old way was really slow. I would like to see all the clients physically logged into the database whenever a sim is run with internet sharing enabled. Uploads and downloads would then be pretty much instantaneous so true multi-player sims may become possible.
Even better if we have different "channels" that can be selected in the DB program. These would point to different tables in the database.
Numsgil:
That's pretty much what I'm thinking.
I'm not sure that a 100% upload->download0>delete cycle is best, since users can download some organisms and then just turn off their computer.
I can see some griefers messing with several weeks worth of work.
So maybe periodic saves are produced which can only be downloaded, that contain all the bots on the database at a specific time.
PurpleYouko:
or another way to work it is that a client uploads 1 then is only allowed to download 1 if more than a certain number (say 100 or more) are present on the server.
We can also require that an upload happens before a download/deletion is able to occur.
A further option is instead of full deletion of the database entry, it could be transferred to a shadow database like the deleted messages in Outlook. That way a strain won't be lost forever if someone does as you say and turns off after taking the last one.
Anyone with a copy of Outlook or even Excel can set up a "copy" link to the database and read files out of it at any time. We just restrict writing and deleting to in-game activity.
Ulciscor:
Hmm this might get awkward.
PurpleYouko:
Why might that be pray tell?
I do this kind of stuff with SQL servers at work all the time. Just never tried doing it over an internet connection. :wacko:
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version