Search found 4 matches
- Sat Apr 18, 2020 12:51 pm
- Forum: General Discussion
- Topic: *DELETED*
- Replies: 6
- Views: 34030
Re: [Q] Global variable for all plugins, scripts, etc.
i like when all modules(plugins) in one big project which reflect play mode on the server(zombie, jail, public) so any such plugin(module) knows about state of each other, and then there is no problem, maximum knowledge and convenience
- Tue Apr 07, 2020 8:50 pm
- Forum: Plugin Development Support
- Topic: sqlite3 vs mysql vs async versions
- Replies: 5
- Views: 26965
Re: sqlite3 vs mysql vs async versions
good. but Hymns For Disco, sqlite3 is still good option if you run it in another process using multiprocessing module, also may be it will be better than Ayuto version i.e seperate process instead thread even for server databases using queue also
https://docs.python.org/3/library/multiprocessing.html
https://docs.python.org/3/library/multiprocessing.html
- Thu Apr 02, 2020 8:33 am
- Forum: Plugin Development Support
- Topic: sqlite3 vs mysql vs async versions
- Replies: 5
- Views: 26965
Re: sqlite3 vs mysql vs async versions
i mean asyncchrounsly in terms of 1 thread. program itself decides which piece of code to execute and example which you provided uses another thread and i think it's bad for general use because it's useful to have a queue for the sql requests and it is better to execute callback in main thread again...
- Mon Mar 23, 2020 11:35 pm
- Forum: Plugin Development Support
- Topic: sqlite3 vs mysql vs async versions
- Replies: 5
- Views: 26965
sqlite3 vs mysql vs async versions
first of all is it possible to execute code asynchronous? for example via the library (sqlite3) https://github.com/jreese/aiosqlite which database is better to embed in game server for perfomance , need a seperate thread for it? it is very important question i didn't found anything about it, need to...