I wanna know is all index data stored in memory?Is so, what if the BP suffer from ddos attack? and how to store data on disk?
- Yes, but you only need to store the current state.
- There are 21 main BPs and many standby BPs that all have the same and redundantly updated RAM state. EOSIO is built specific to thwart a ddos from causing a significant impact on the network.
- Read the IPFS wp for storage:
See more about multi index: https://developers.eos.io/eosio-cpp/docs/db-api