SQLite Lag
#2
Hello and welcome to the forum Smile

The problem here is, that the plugin system is synchronous, so every non-asynchronous read or write to the fiel system will end up blocking the server. try looking at these files:

https://github.com/cuberite/gallery/blob...torage.lua

https://github.com/cuberite/gallery/blob...SQLite.lua

These are files from the gallery plugin which also uses SQLite.
Reply
Thanks given by:


Messages In This Thread
SQLite Lag - by gegi123 - 10-31-2015, 04:35 AM
RE: SQLite Lag - by sphinxc0re - 10-31-2015, 07:11 AM
RE: SQLite Lag - by xoft - 10-31-2015, 08:22 AM
RE: SQLite Lag - by gegi123 - 10-31-2015, 10:33 PM
RE: SQLite Lag - by xoft - 11-01-2015, 12:11 AM
RE: SQLite Lag - by NiLSPACE - 11-01-2015, 12:27 AM
RE: SQLite Lag - by gegi123 - 11-01-2015, 01:23 AM
RE: SQLite Lag - by xoft - 11-01-2015, 07:42 AM
RE: SQLite Lag - by gegi123 - 11-01-2015, 07:57 AM
RE: SQLite Lag - by xoft - 11-01-2015, 08:08 AM
RE: SQLite Lag - by gegi123 - 11-01-2015, 08:37 AM
RE: SQLite Lag - by NiLSPACE - 11-10-2015, 10:42 PM
RE: SQLite Lag - by Seadragon91 - 11-10-2015, 11:20 PM
RE: SQLite Lag - by xoft - 11-11-2015, 12:55 AM



Users browsing this thread: 9 Guest(s)