Skip to content

woog2roid/AI-task-scheduler

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

10 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ”Ž Overview

It is responsible for queuing requests to AI server. By separating it from the gateway server and managing it with cloud Functions, the logic of the gateway server has been simplified.

The gateway server triggers this function whenever a request is received, and the AI server triggers this function at the end of the task (regardless of success or failure, that is, whenever it is in the IDLE state).

๐Ÿ›  Architecture

architecture

โ“ Why didn't you use GCP Cloud Tasks?

Since the AI operation took more than 30 minutes, the HTTP timeout could not be satisfied. In addition, pub/sub was considered too over-spec to simply be used as a message broker. Therefore, I was able to be in charge of scheduling with Cloud Functions and Memory store.

About

manage the `ai-job-queue`. (deployed by GCP cloud functions)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%