Tariq Almousa
Lurker
Hi everyone,
I have an inquiry (not a code issue) and I'm not sure if this is the right place to post it or not, but I'm seeking your help and support.
I'm developing an Android Application and I want it to be connected to a DynamoDB database on AWS, the tables on DynamoDB already exist and have a lot of data that I want them to be sent (or synchronized with the app) once the user opens the application on his phone. The current use case is that there's no user login, so basically the data are being sent from DynamoDB to the App but not vice versa. The current status is that I'm able to connect to the DynamoDB and retrieve the data (that's not a problem), but what should I do to guarantee the best performance? Should I always keep the user connected to the database on DynamoDb and keep retrieving data directly from it? Or should I make a local db (SQLite) within the app and store the data in it and only synchronize when needed? And is it actually secure to make the App always connected to the DynamoDB directly ? Or should I make something like interface between the App and DynamoDB? (I heard that from someone but I don't know how can it be done or where)
Apologies for the long post, and I would appreciate your help
Thanks,
I have an inquiry (not a code issue) and I'm not sure if this is the right place to post it or not, but I'm seeking your help and support.
I'm developing an Android Application and I want it to be connected to a DynamoDB database on AWS, the tables on DynamoDB already exist and have a lot of data that I want them to be sent (or synchronized with the app) once the user opens the application on his phone. The current use case is that there's no user login, so basically the data are being sent from DynamoDB to the App but not vice versa. The current status is that I'm able to connect to the DynamoDB and retrieve the data (that's not a problem), but what should I do to guarantee the best performance? Should I always keep the user connected to the database on DynamoDb and keep retrieving data directly from it? Or should I make a local db (SQLite) within the app and store the data in it and only synchronize when needed? And is it actually secure to make the App always connected to the DynamoDB directly ? Or should I make something like interface between the App and DynamoDB? (I heard that from someone but I don't know how can it be done or where)
Apologies for the long post, and I would appreciate your help
Thanks,