Evaluate eviction policy for retained routing state

Abierto
#1,407 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust
Área
backend

Línea de trabajo

Find the AffinityRouter and Composite bounded maps that retain routing decisions, then read their insertion and eviction paths. Compare the current policy with LRU and idle expiry, keeping memory bounded and evaluating reclassification frequency, latency, and memory use for both maps. Done means selecting and implementing a consistent retention policy with evidence for its tradeoffs; keep the separate fix in PR #1190 unblocked.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement

AffinityRouter and Composite retain routing decisions in bounded maps. At capacity, adding a new identity evicts an arbitrary entry, which can discard an active session while keeping inactive ones.

Evaluate whether LRU, idle expiry, or the current policy best fits these maps. Keep memory bounded and check the effect on reclassification frequency, latency, and memory use. Consider both maps so their retention behavior stays consistent.

Related: https://github.com/NVIDIA-NeMo/Switchyard/pull/1190

#1190 fixes a separate bug: updating an existing identity should not evict another entry. This follow-up concerns which entry to evict when space is actually needed and should not block that fix.

Lenguaje dominante
Rust
Estrellas
3.7k
Forks
386
Merge medio
1 d 16 h
PR fusionados (30 d)
113

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de NVIDIA-NeMo/Switchyard

Todos los issues de NVIDIA-NeMo/Switchyard

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.