Hello,
I have evaluated XML databases for an important project, and I'm very happy with BaseX which has great fonctionnalities and is very easy to use.
I'm now about deploying my project in production, so I have new questions. My database has 400 000 XML resource files for a total 2.4 Go size, so it should work fine (http://docs.basex.org/wiki/Statistics).
1) What are the CPU/RAM quantityies recommanded to use BaseX in production ?
2) Is there a benchmark to run to have an evaluation of the CPU/RAM quantities from a BaseX point of view ?
3) What about the JVM options ? In particular should I change the "-Xmx512m" default value ? What will be the best value ?
4) With my database, on a t2.micro EC2 instance (1 VCPU + 1 Go RAM), BaseX is unusable. On a powerful shared server (16 VCPU + 16 Go RAM) it works fine (until I exceed my 512Mb personal hosting limitation). On my shared server, a request like "curl 'http://mydomain/rest/database/file.xml?query=/a/direct/path' takes 1.5 second. It seems to me that it's a lot and should be faster as I give the good resource file and the complete path to BaseX, so there is no computation to do. What do you think about it ?
5) How many simultaneous requests can handle BaseXHTTP ?
Best regards
Florent