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

Cache AltinnRegister kall i Redis #609

Open
Ceredron opened this issue Jan 21, 2025 · 0 comments
Open

Cache AltinnRegister kall i Redis #609

Ceredron opened this issue Jan 21, 2025 · 0 comments
Assignees

Comments

@Ceredron
Copy link
Collaborator

Ceredron commented Jan 21, 2025

Beskrivelse

Vi bør cache resultatene fra Altinn Register i Redis for Altinn Register-kallene våre. Det gjør at vi øker ytelsen vår. Hvis ingen party blir funnet bør vi ikke cache en null-respons, men hvis den blir funnet kan vi cache i 24 timer. PartyId's endres sjelden (aldri-ish) men vi kan vurdere i fremtiden hvor mye nytte det er i å øke cachingtiden ytterligere.

src\Altinn.Correspondence.Integrations\Altinn\Register\AltinnRegisterService.cs

Se hvordan Axel løste det for Access Management her:
#600

@Ceredron Ceredron converted this from a draft issue Jan 21, 2025
@axely123 axely123 self-assigned this Jan 21, 2025
@axely123 axely123 moved this from Ready for dev to 🏗 In progress in Altinn melding og formidling Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🏗 In progress
Development

No branches or pull requests

2 participants