DEV Community

loading...

Discussion on: Help With This Software Architecture

Collapse
geekwhocodes profile image
Ganesh Raskar

Here's my two cents:
Tech - Azure Storage Account, Azure relay, Azure functions

  1. Upload file to a storage account with container(files to process)
  2. Function will listen to file upload event on 'files to proccess container). This function will notify to your on-premise server about the file via azure relay(you can fulfill your BL/rules here : checking server status, file status etc.)
  3. Server will download file from storage, process it and upload it back(processed files)
  4. Another function will listen on 'proccessed files' container and notify user about the correct status.

You can use dynamic containers if you want but then you will need to maintain file status(Pending, Proccessed etc) in table storage or database.