how is xyz.dev resolved when I don't set a new DNS and don't edit the hosts file. Somehow I don't understand how this works, but maybe I'm not smart enough :)
You can use it to tell that .dev domains should be handled by hotel :)
So there's no magic (which is often better).
And what's great is that it's optional. Hotel can still help you in your day to day development workflow even if you don't use local domains (simply go to localhost:2000 instead of hotel.dev).
So, basically, it's not meant to be used in critical / intensive applications.
Instead, it's much more a new convenient way to store data in simple use cases.
Regarding file writing, if your database is small or if you don't run a cluster of Node processes, you should be fine.
Regarding benchmark, as someone pointed it out, it’s mainly to show that storing to JSON file is fast enough and to compare operations speed. I agree that it says nothing about other databases and LowDB doesn't try to be the fastest either, just fast enough.
By the way, 'npm run benchmark' lets you run it on your machine.
However, keep in mind too that LowDB official release is quite recent so it should be improved over time.
Anyway, thanks for all the feedbacks and I hope you’ll have fun with it :)