Manh Nguyen
Sep 4, 2024
  188
(3 votes)

Non-blocking Search with Optimizely Search & Navigation

We are thrilled to announce the integration of asynchronous functions into Optimizely’s Search & Navigation features, which have been supported since version 16.3.0. By using these functions, you can leverage the benefits of asynchronous programming and performance improvements. They are particularly helpful if you are building your app with a microservices architecture or simultaneous searching for better user experiences.

The current synchronous functions such as search features, tracking, indexing...can be marked as deprecate in the future.

We've already known the advantages of Asynchronous programming:

  1. Enhanced Performance: Asynchronous operations enable non-blocking processes, reducing wait times and improving overall system responsiveness.
  2. Scalability: Handle multiple requests simultaneously, ensuring consistent performance even during peak usage.
  3. User Experience: Faster response times lead to a smoother, more dynamic user experience.

How we leverage these advantages in Search & Navigation?

Imagine an user searching for a product on your e-commerce site. With asynchronous search, the request is processed instantly. Simultaneously, tracking and statistics operations run in the background, updating user interactions in real-time without impacting the search performance. Paging through results remains smooth and quick, giving users a better experience.

var results = await SearchClient.Instance
.UnifiedSearch()
.For("search navigation")
.WithAndAsDefaultOperator()
.UsingAutoBoost()
.ApplyBestBets()
.Track() // statistical track will run asynchnorously and not affect to the search request
.GetResultAsync();

By integrating asynchronous functions, Optimizely Search & Navigation ensures your platform is future-proof, delivering better performance and a better user experience. Upgrade today to experience the difference!

See developer's document for more detail and please don't hesitate contact us if you have any question or feedback.

Sep 04, 2024

Comments

Mike Malloy
Mike Malloy Sep 10, 2024 12:47 PM

No mention of it here on the Release page: https://support.optimizely.com/hc/en-us/articles/23973547163917-2024-Search-Navigation-release-notes

Looks like 16.3.0 also adds the ability to find items in the index via the editor and delete them permanently.

Please login to comment.
Latest blogs
SNAT - Azure App Service socket exhaustion

Did you know that using HttpClient within a using statement can cause SNAT (Source Network Address Translation) port exhaustion? This can lead to...

Oleksandr Zvieriev | Sep 9, 2024

Micro front-ends are massive for Optimizely One

Optimizely products have evolved. Their new generation of products changes the game.

Mark Everard | Sep 9, 2024 | Syndicated blog

Micro front-ends are massive for Optimizely One

Optimizely products have evolved. Their new generation of products changes the game.   A multi-year journey for Optimizely. They have engineered...

Mark Everard | Sep 9, 2024 | Syndicated blog

Handling Nynorsk and Bokmål in Optimizely CMS

Warning: Blog post about Norwegian language handling (but might be applicable to other languages and/or use cases). Optimizely have flexible and...

Haakon Peder Haugsten | Sep 5, 2024