Skip to content
This repository has been archived by the owner on Mar 11, 2019. It is now read-only.

Compile YAML only once #113

Open
eliaskioni opened this issue Nov 22, 2017 · 0 comments
Open

Compile YAML only once #113

eliaskioni opened this issue Nov 22, 2017 · 0 comments

Comments

@eliaskioni
Copy link
Collaborator

eliaskioni commented Nov 22, 2017

Airflow compiles the ussd screens in the yaml file for each new request. We can improve on this.

On average on aws t2 medium instance it takes 234 ms to compile this file.

With an aim to respond to MNO's requests at most within 2 seconds, its urgent we rethink how to compile the yaml screens file once during start up.

234 m/s is fine until you start hitting a high number of requests.

Any suggestions on how to well handle this will be appreciated.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant