content/develop/ai/search-and-query/best-practices/dev-to-prod-best-practices.md
Transitioning a Redis Open Source with Redis Search environment from development to production requires thoughtful consideration of configuration, performance tuning, and resource allocation. This guide outlines key practices to ensure your Redis deployment operates optimally under production workloads.
Redis Search offers several configurable parameters that influence query results and performance. While a full list of these parameters and their functions can be found [here]({{< relref "/develop/ai/search-and-query/advanced-concepts/dialects" >}}), this section highlights the most commonly adjusted parameters for production environments.
TIMEOUTTIMEOUT value, its outcome is determined by the ON_TIMEOUT setting:
FAIL: the query will return an error.PARTIAL: this setting will return the top results accumulated by the query until it timed out.TIMEOUT,<!-- especially in environments without QPF,--> as long-running queries can degrade overall system performance.MINPREFIXhe* are valid, while h* would not meet the threshold.MAXPREFIXEXPANSIONSDEFAULT_DIALECTFT.SEARCH]({{< relref "commands/ft.search" >}}) and [FT.AGGREGATE]({{< relref "commands/ft.aggregate" >}}) commands.MONITOR]({{< relref "commands/monitor" >}}) command or [profiling features]({{< relref "/develop/tools/insight#profiler" >}}) in Redis Insight to analyze commands.FT.PROFILE]({{< relref "commands/ft.profile" >}}): Provides detailed insights into individual query execution paths, helping identify bottlenecks and inefficiencies.memtier_benchmark or custom test applications to simulate load.Redis Search has resource requirements distinct from general caching use cases. Proper sizing ensures that the system can handle production workloads efficiently.
Production environments must be sized for peak load scenarios to ensure performance remains acceptable under maximum stress.
By following these best practices, you can ensure a smooth and efficient transition from development to production with Redis Open Source and Redis Search. Proper configuration, rigorous testing, and careful resource planning are critical to delivering a reliable and high-performance Redis deployment.