[GH-ISSUE #5826] How to scale? #2283

Open
opened 2026-03-16 23:50:21 +03:00 by kerem · 1 comment
Owner

Originally created by @Breee on GitHub (Feb 3, 2026).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5826

I'm searching for information on how to scale hoppscotch components.

We host everything distributed in k8s

Originally created by @Breee on GitHub (Feb 3, 2026). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5826 I'm searching for information on how to scale hoppscotch components. We host everything distributed in k8s
Author
Owner

@roopepaajanen commented on GitHub (Feb 12, 2026):

Hi,
Our app was bottlenecking and returning timeout error at peak traffic. I was able to solve the issue by increasing cpu and memory limit + increasing the number of db connections in our values.yaml file. I left rate limit values to default.

CPU and Memory

  resources:
    limits:
      cpu: 3000m 
      memory: 2Gi     
    requests:
      cpu: 1500m      
      memory: 1Gi     

I found out that you can modify the limit of database connections in your databaseUrl:
postgresql://name:password@host.net:port/dhname?schema=hps&connection_limit=20
You can verify this in packages/hoppscotch-backend/src/prisma/prisma.service.ts

<!-- gh-comment-id:3889028650 --> @roopepaajanen commented on GitHub (Feb 12, 2026): Hi, Our app was bottlenecking and returning timeout error at peak traffic. I was able to solve the issue by increasing cpu and memory limit + increasing the number of db connections in our values.yaml file. I left rate limit values to default. CPU and Memory ```yaml resources: limits: cpu: 3000m memory: 2Gi requests: cpu: 1500m memory: 1Gi ``` I found out that you can modify the limit of database connections in your databaseUrl: `postgresql://name:password@host.net:port/dhname?schema=hps&connection_limit=20` You can verify this in [packages/hoppscotch-backend/src/prisma/prisma.service.ts](https://github.com/hoppscotch/hoppscotch/blob/main/packages/hoppscotch-backend/src/prisma/prisma.service.ts#L83-L128)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#2283
No description provided.