Skip to content

automatically transfer generated VR data from firestore to Cloud SQL (deployed by GCP cloud functions)

Notifications You must be signed in to change notification settings

woog2roid/realtime-DB-synchronization

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔎 Overview

It is responsible for synchronizing between Firestore and CloudSQL. When the AI server stores its result in Cloud Storage and Firestore, instant synchronization takes place from Firestore(sub DB) to CloudSQL(main DB).

🛠 Architecture

architecture

❓ Why did you use this seperate logic?

It's because we want a loosed dependency between gateway server and AI server. To update CloudSQL on the gateway server based on Firestore's data, gateway server had to receive from the AI server that the task was finished (except polling). But we want only the client side send request to the endpoint API of the gateway server.

Therefore, we added a separate logic to the infrastructure, allowing synchronization between Firestore and CloudSQL to occur automatically.

About

automatically transfer generated VR data from firestore to Cloud SQL (deployed by GCP cloud functions)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%