Connect Flutter App with AWS timestream
Budget: $30 – $150 USD
1. i am using aws cognito service to authorize user, and after a successful authentication, aws congnito service sending some secret tokens as a result of sign in on the flutter app. (I will need it on step 2)
2. now on server side (aws) I am using api gateway management service so that I can hit a url and get user data. to hit the url I need that secret tokens. (I have already got it, on signin stage step1)
3. when i am hitting the api url that i told in step 2, it trigger an aws lambda function to query data from timestream.
4. and if the lambda got a successful timestream query it will return for the signin user according user pid (right now using demo pid '99999')
Those are the functions working now.
THE PROBLEM:
lets assume, user have 10,000 row already in database. when we are querying the data into aws lambda, it takes time according data size/ row amount. for current I assumed it 10,000 (it can larger than 10,000). For that reason to query for large row size, lambda took a long time...
is it possible to simplify the process in the backend ?
2. now on server side (aws) I am using api gateway management service so that I can hit a url and get user data. to hit the url I need that secret tokens. (I have already got it, on signin stage step1)
3. when i am hitting the api url that i told in step 2, it trigger an aws lambda function to query data from timestream.
4. and if the lambda got a successful timestream query it will return for the signin user according user pid (right now using demo pid '99999')
Those are the functions working now.
THE PROBLEM:
lets assume, user have 10,000 row already in database. when we are querying the data into aws lambda, it takes time according data size/ row amount. for current I assumed it 10,000 (it can larger than 10,000). For that reason to query for large row size, lambda took a long time...
is it possible to simplify the process in the backend ?