Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

264
Vistas
Javascript - autocomplete search for names

I want to add autocomplete feature to my retail product app - similar to google/youtube search's autocomplete.

My backend stack is spring boot.

There are a million different products in the database.

Below are my thoughts:

  1. create an array and fetch the names while loading the screen -> ( seems overkill for a million records)
  2. wait for 2 or 3 characters and do a backend search with filter -> wont be fast enough.

How does google/youtube achieve this ? the results are instantaneous without any backend calls

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda