May be somebody can share his experience how to solve such issues. Would be glad to learn from you.
In short: we have a huge Rails app with ReactJS frontend and Solr as a search engine (gem Sunspot). So our problem is when you update some entity and put the task for reindex this object in a queue (Sidekiq), it takes up to 3 seconds to finish object reindex. And user can see this object in lists where it already shouldn't be. If using synchronous reindex calls without queue there can be a potential problem with losing tasks in a case of high load.
How do you design your architecture to solve such issues?