gateway to query distributed RDBs
create a register function (put rdbs in rdb table)
intercept queries
- just do an api for tables, times and sym
- parse selects just for the where clause
- parse the by clauses
query comes in, run -30!(::)
have a query table send queries async
when all rdbs have returned with callback join and return to user with -30!(8i;0b;result)
comes up connects to gateway with register func run query, send result back in a callback function
2 csvs trade, quote table text file with queries
no tickerplant
1 regular rdb all data
1 gateway, 3 rdbs, split data
query process that returns the same data from rdb and gateway
can take cloudformation add a gateway rdb-autoscaling ami and install script also add gateway