3 ms·
Wouldn't the server only read it after a config option has been changed? I don't think the server is going to check this database every time a request comes in
by techiferous 16y ago
Wouldn't the server only read it after a config option has been changed? I don't think the server is going to check this database every time a request comes in.
- stesch 16y agoadamtj said "manipulable at runtime", so I guess he meant the changes are available directly after an UPDATE. How can you tell if the config is changed? You either poll it every time with SELECT (SQL) or see if the timestamp of the database file has changed. (If SQLite works this way. I never had the need to check on the file status.) This costs time as well. Other web servers have a config file and reload it after getting signalled. But: It's a bit early to say what Zed intends with SQLite. Maybe mongrel2 gets a configuration interface like Cherokee and only reads the DB on startup and after getting signalled.