SuneJepsen / iotproject-web

0 stars 0 forks source link

Investigate communication #4

Open anna0207 opened 6 years ago

anna0207 commented 6 years ago

Investigate communication: Ideas:

anna0207 commented 6 years ago

Discussion:

2 databases (raw data & processed data) arc1

The web-App is not aware of any server-side - it only communicates with databases The server-side can be replaced by a simple job hosted in the cloud, which synchronizes the two databases.

The web-App is ONLY aware of the server-side - The server-side then handle all database communication

The WebApp has both connection with server-side and raw DB

anna0207 commented 6 years ago

Discussion with Aslak: If choosing architecture 1 - can create multiple jobs for different processing (Graph processing) pipeline

For security reasons create a REST layer between WebApp and DB to handle all requests (both Job and front-end)