Replace the postgresql database with an embedded database.
While a server-less embedded database like SQLite or LMDB can make server provisioning much easier, its scalability is limited into a single machine
@pcdinh For the on-chain processing of the blockchain, data access is always sequential and cannot be multi-processed with our current approach.
Therefore, the scalability of the database does not apply to the SDK
@pcdinh For the on-chain processing of the blockchain, data access is always sequential and cannot be multi-processed with our current approach.
Therefore, the scalability of the database does not apply to the SDK
You don't understand what you are talking about. Scalability isn't just about what happens on the client side. It is about memory+CPU management, plus execution planning by the server to further improve performance. Advanced migrations, etc.
You've just shot yourself in the foot, by replacing PostgreSQL with half-baked file server.
Most helpful comment
While a server-less embedded database like SQLite or LMDB can make server provisioning much easier, its scalability is limited into a single machine