Closed ayeshah closed 4 years ago
Approaches:
Database level optimization a. manage the connection pool, close connections instantly b. put secondary columns in tables for faster searching c. 'index' columns that are used for searching
Views a. create views that contain secondary info (balance)
Pagination a. only fetch data that is required, store the tx in state
Functional level optimization a. reduce the complexity of function b. limit queries made to the database
APIs /users/balance_history /accounts/transaction_history /fx/rates_history
optimize frontend
-manage connection pool size -close connections instantly -optimize functions and queries -optimize db structure