I'm building a website for my client, that is essentially a web-based hosted wallet.
I'm going to use bitcoin core and talk to it via its API in order to handle the transactions.
I understand that I can allow users to export their private keys and import them by using
dumpprivkey
and
importprivkey
The question is: after several thousands of users will create their wallets, the server's wallet.dat file is going to be really huge. Would that make the bitcoin server slow?
I'm thinking about queuing all the requests to the bitcoin server and store there only one key at a time. But that would require to restart the server everytime, and would basically make every request time consuming?
What is the correct approach to this?
Thank you