Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scale test composition functions #5004

Open
Tracked by #4951
negz opened this issue Nov 15, 2023 · 5 comments
Open
Tracked by #4951

Scale test composition functions #5004

negz opened this issue Nov 15, 2023 · 5 comments
Assignees

Comments

@negz
Copy link
Member

negz commented Nov 15, 2023

What problem are you facing?

We promoted functions to beta in v1.14. We'd like to promote them to GA in v1.15. Before we do that, we should have an understanding of their performance and scaling characteristics. Some questions:

  • How many requests/second can a simple function handle with one replica? What about with N replicas?
  • How many XRs can exist at once sharing a simple function with one replica? What about with N replicas?
  • Do things change significantly when using a pipeline of functions?
  • What are the biggest performance bottlenecks? What could we improve?

Ultimately functions are pretty open ended - for example I imagine a Python function will be a lot less performant than a Go function. I also imagine it will be very possible to write a slow Go function. Mostly I would like to validate that there's no huge performance issues with the architecture overall - i.e. that a relatively simple function scales up to hundreds or thousands of requests pretty easily.

How could Crossplane help solve your problem?

Test and understand the scale limits of functions. 😄

@negz
Copy link
Member Author

negz commented Nov 18, 2023

@Piotr1215 Are you interested in helping out with this one? If so I can sync to swap notes before I head out on vacation.

@negz
Copy link
Member Author

negz commented Nov 18, 2023

We'll probably want to add the metrics from #5006 before testing, to give us more things to measure.

@Piotr1215
Copy link
Contributor

@negz of course, I'll be happy to help. Let's organize a quick sync before your PTO. It also aligns with #5036 as the top command could include simple utilization metrics for functions too.

@negz negz self-assigned this Jan 12, 2024
Copy link

Crossplane does not currently have enough maintainers to address every issue and pull request. This issue has been automatically marked as stale because it has had no activity in the last 90 days. It will be closed in 14 days if no further activity occurs. Leaving a comment starting with /fresh will mark this issue as not stale.

@github-actions github-actions bot added the stale label Apr 12, 2024
@jbw976
Copy link
Member

jbw976 commented Apr 12, 2024

/fresh

@github-actions github-actions bot removed the stale label Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants