Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

90
Views
The speed of information retrieved from the database

I list the data I pulled from the database in treeview. But I have one question. I have a city, county and neighborhood table. I write the districts of the selected province and the neighborhoods of the selected district on the table. There is no problem in printing one by one, but when we select a lot of data (all), this process takes about 17 minutes to run on the network. When I remove my hand from the All key, new data is constantly coming due to the request to the wep api.

What comes to my mind as a solution to this is;

Stopping the network when we stop selecting the All button. Making the user wait using the site by adding a 20-minute delay. (it doesn't make any sense.)

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

try googling virtual scrolling it may help. Since the ngFor takes time to render the large data using virtual scrolling can help reducing the render time.

over 4 years ago · Santiago Trujillo Report

0

private ngUnsubscribeNeighborhood = new Subject(); using the structure. I made a pipe assignment to the place where we subscribe. I set Pipe to takeUntil and assign it to ngUnsubscribeNeighborhood. Then I clicked a button. ngUnsubscribeMahalle.next(); I solved the problem by doing

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!