Repetitive SQL queries being run against configuration table #117
Etiquetas
Sin Milestone
No asignados
1 participantes
Notificaciones
Fecha de vencimiento
Sin fecha de vencimiento.
Dependencias
No se han establecido dependencias.
Referencia: aheathershaw/blue-twilight#117
Cargando…
Referencia en una nueva incidencia
No se ha proporcionado una descripción.
Eliminar rama "%!s(<nil>) "
Eliminar una rama es permanente. Aunque la rama eliminada puede continuar existiendo durante un corto tiempo antes de que sea eliminada, en la mayoría de los casos NO PUEDE deshacerse. ¿Continuar?
Whilst analysing SQL queries for a new feature, I've noticed that a large number of
select * from configuration where key = ?
queries are being run.We could cache the contents of the table once per request - and use the cache to avoid repeated lookups.
This change has resulted in a dramatic improvement in the perception of the speed of the system.