ask for help. The company"s project is divided into libraries according to business. After establishing a connection using sequelize, the connection cache is saved in memory. When there are many sub-libraries, the memory occupation is too high, is there any way to solve it? The Koa framework is used.
current idea: because sequelize will import model to establish table mapping. Each connection has the same model data. At present, I want to implement multiple database connections to share model objects to reduce memory footprint. But I don"t know how to do it. I ask the boss for advice.