You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Server should be able to manage thousands of databases #1001
Once you open a database on an ArcadeDB Server, the server keeps the database open until it's expressly closed (/close HTTP command). For use cases with hundreds or even thousands of small databases hosted on one server, it would be useful to have an LRU on the databases, so that the least used database is closed. This could be a server setting:
We could also introduce a maximum timeout for an unused database to remain open on the server. After the timeout is expired, the database is automatically closed.
This became more relevant now with real use cases in production with many databases. The server should be able to keep only the most recent active databases in RAM and automatically close and reopen when a client is accessing.
Now we have a centralized PageManager a server can easily manage hundreds of databases. The only limitation is the OS max files opened. For this reason I'm no closing this issue waiting for implementing a LRU on the used files.
Instead of opening and closing the databases, we could do this for single files.
Activity
lvca commentedon Nov 25, 2024
This became more relevant now with real use cases in production with many databases. The server should be able to keep only the most recent active databases in RAM and automatically close and reopen when a client is accessing.
lvca commentedon Dec 6, 2024
Now we have a centralized PageManager a server can easily manage hundreds of databases. The only limitation is the OS max files opened. For this reason I'm no closing this issue waiting for implementing a LRU on the used files.
Instead of opening and closing the databases, we could do this for single files.
chore(deps): bump actions/dependency-review-action from 4.8.0 to 4.8.…
chore(deps): bump org.apache.maven.plugins:maven-compiler-plugin from…
chore(deps): bump actions/dependency-review-action from 4.8.0 to 4.8.…
chore(deps): bump org.apache.maven.plugins:maven-compiler-plugin from…