Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Purpose:

The purpose of this document is to capture the important details relating to the state read performance of the get_fio_domains endpoint in the Fio Protocol.

Details:

The get_fio_domains looks up all domains owned by the target account.

get table rows is called with the following information

get_table_rows_params domain_row_params = get_table_rows_params{.json=true,        .code=fio_system_code,        .scope=fio_system_scope,        .table=fio_domains_table,        .lower_bound=boost::lexical_cast<string>(::eosio::string_to_name(account_name.c_str())),        .upper_bound=boost::lexical_cast<string>(::eosio::string_to_name(account_name.c_str())),        .key_type       = "i64",        .index_position = "2"};get_table_rows_result domain_result = get_table_rows_by_seckey<index64_index, uint64_t>(domain_row_params,                                                                                        abi,                                                                                        [](uint64_t v) -> uint64_t {
                                                                                            return v;                                                                                        });

it seems that since we can have many many domains that are owned by the same account, we will want to make some tests to find limits of the readability of domains by account.

we will make 10-20k domains for an account on a local developer box then try to read through these.

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.