Skip to content

Conversation

@balpert89
Copy link
Contributor

Proposed Changes

  • Pass context (ctx) to server creation functions for better resource management.
  • Implement an in-memory cache with namespace-specific watching for improved performance.
  • Reorganize imports for readability.

Fixes #1156

@balpert89 balpert89 requested a review from a team as a code owner November 19, 2024 11:06
@balpert89 balpert89 assigned balpert89 and afritzler and unassigned balpert89 Nov 19, 2024
@balpert89 balpert89 marked this pull request as draft November 19, 2024 17:45
@lukas016 lukas016 force-pushed the osc/feat/split-client branch 4 times, most recently from 3ee1313 to 1a2aef0 Compare November 25, 2024 06:17
@balpert89 balpert89 marked this pull request as ready for review November 25, 2024 12:28
@lukasfrank lukasfrank changed the title feat: implement a split client for brokers Implemented a split client for *-brokers Dec 4, 2024
@lukasfrank lukasfrank added the enhancement New feature or request label Dec 4, 2024
@afritzler
Copy link
Member

@balpert89 can you please rebase the PR branch?

@lukas016 lukas016 force-pushed the osc/feat/split-client branch from f5c739b to 521edc7 Compare December 4, 2024 10:39
@balpert89
Copy link
Contributor Author

@balpert89 can you please rebase the PR branch?

done.

@lukas016 lukas016 force-pushed the osc/feat/split-client branch from 94b370a to 387ee59 Compare December 5, 2024 08:25
balpert89 and others added 8 commits December 9, 2024 08:39
… brokers.

- Pass context (`ctx`) to server creation functions for better resource
management.
- Implement an in-memory cache with namespace-specific watching for
improved performance.
- Reorganize imports for readability.
@lukas016 lukas016 force-pushed the osc/feat/split-client branch from 387ee59 to 7abdf08 Compare December 9, 2024 07:40
@lukasfrank lukasfrank enabled auto-merge (squash) December 10, 2024 10:15
readCache, err := cache.New(cfg, cache.Options{
Scheme: scheme,
DefaultNamespaces: map[string]cache.Config{
namespace: {},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the namespace be used in the cache setup here?

@lukasfrank lukasfrank merged commit ce56e39 into ironcore-dev:main Apr 1, 2025
10 checks passed
afritzler added a commit that referenced this pull request Apr 2, 2025
afritzler added a commit that referenced this pull request Apr 2, 2025
@afritzler afritzler added chore and removed enhancement New feature or request labels Apr 2, 2025
balpert89 added a commit that referenced this pull request Apr 23, 2025
balpert89 pushed a commit that referenced this pull request Apr 23, 2025
opensovereigncloud-user pushed a commit to opensovereigncloud/ironcore that referenced this pull request May 20, 2025
opensovereigncloud-user pushed a commit to opensovereigncloud/ironcore that referenced this pull request May 20, 2025
@hardikdr hardikdr added the area/iaas Issues related to IronCore IaaS development. label Jun 26, 2025
@hardikdr hardikdr added this to Roadmap Jun 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/iaas Issues related to IronCore IaaS development. chore do-not-merge size/L

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Hotfix - brokers should use a split client (read -> cache, write -> direct) to avoid compute resource usage spikes

5 participants