LabelLab icon indicating copy to clipboard operation
LabelLab copied to clipboard

Search functionality is making lot's of request to the server

Open Rupeshiya opened this issue 5 years ago • 2 comments

Is your feature request related to a problem? Please describe. Search functionality is making lot's of request to the server instead some search engines can be used to improve the performance of web-app

Describe the solution you'd like Add some search engines like elastic search

Describe alternatives you've considered Or we can cache the result to decrease the search request to the server

Additional context Add any other context or screenshots about the feature request here.

Rupeshiya avatar Feb 03 '20 13:02 Rupeshiya

@Tushar19varshney Let me know your view I would love to add this feature

Rupeshiya avatar Feb 03 '20 13:02 Rupeshiya

@Rupeshiya in my opinion elastic search is useful for a very large data pool whereas in this app a user may not have to search through a very large data set also elastic search has some disadvantages that can’t be easily bypassed when it is used as a storage. First of all, it isn’t ACID. It doesn’t support transactions so it isn’t possible to rollback first stored document if saving of a second fails also elastic search is distributed so it requires a lot of memory to paginate distant pages.

carpecodeum avatar Feb 03 '20 15:02 carpecodeum