typhon-project / typhondl

http://www.typhon-project.org
Eclipse Public License 2.0
1 stars 0 forks source link

[Feature] Limit API's and QL's memory usage in TyphonDL Creation Wizard #64

Closed MarieSaphira closed 3 years ago

MarieSaphira commented 4 years ago

Is your feature request related to a problem? Please describe. Components use too much memory

Describe the solution you'd like Define resource reservations and limits for the Polystore API and QL in the TyphonDL Creation Wizard

Describe alternatives you've considered Directly adding resource limitations to the generated kubernetes script. E.g.

      containers:
        - name: typhon-polystore-service-container
          image: clms/typhon-polystore-api:latest
          ports:
            - containerPort: 8080 
          resources:
            limits:
              memory: "512Mi"
              cpu: "500m"
DavyLandman commented 4 years ago

For QL, I would like to ask for 2G as a start. I mean if people want to restrain it more, that's okay, but since we have to keep quite some intermediate results in memory, we need a bit of headroom.