### Install Dependencies and Start Demo Server Source: https://github.com/redis/docs/blob/main/content/develop/use-cases/prefetch-cache/php/_index.md Install PHP dependencies using Composer and start the built-in PHP development server to run the demo application. ```bash composer install php -S 127.0.0.1:8788 demo_server.php ``` -------------------------------- ### Install Dependencies and Start Demo Server Source: https://github.com/redis/docs/blob/main/content/develop/use-cases/rate-limiter/php/_index.md Install the Predis library using Composer and start the demo web server. The server runs on localhost:8080 by default. ```bash # Install dependencies composer require predis/predis # Run the demo server php -S localhost:8080 demo_server.php ``` -------------------------------- ### Install Dependencies and Start Demo Server Source: https://github.com/redis/docs/blob/main/content/develop/use-cases/leaderboard/ruby/_index.md Install the necessary Ruby gems (redis and webrick) and then run the demo server script. This will start a local web server to interact with the leaderboard. ```bash gem install redis webrick ruby demo_server.rb ``` -------------------------------- ### Install adk-redis and run a simple memory example Source: https://github.com/redis/docs/blob/main/content/integrate/google-adk/examples.md Installs the adk-redis library with all extras, navigates to the simple memory example directory, sets the Google API key, and runs the main script. ```bash pip install adk-redis[all] cd examples/simple_redis_memory export GOOGLE_API_KEY=your-key python main.py ``` -------------------------------- ### Example Redis Installation Answer File Source: https://github.com/redis/docs/blob/main/content/operate/rs/installing-upgrading/install/manage-installation-questions.md This is an example of an answer file used to pre-configure responses for the Redis installation script. Each line specifies a parameter and its desired value. ```sh ignore_swap=no systune=yes ntp=no firewall=no rlcheck=yes ignore_existing_osuser_osgroup=no update_env_path=no ignore_master_version=no ``` -------------------------------- ### Start the Demo Server Source: https://github.com/redis/docs/blob/main/content/develop/use-cases/pub-sub/nodejs/_index.md Starts the Node.js Pub/Sub demo server. This command should be run from the directory where the source files were downloaded and dependencies were installed. ```bash node demo_server.js ``` -------------------------------- ### Demo Server Output Example Source: https://github.com/redis/docs/blob/main/content/develop/use-cases/pub-sub/rust/_index.md This is an example of the expected output when the Rust Pub/Sub demo server starts successfully. ```text Redis pub/sub demo server listening on http://127.0.0.1:8103 Using Redis at localhost:6379 Seeded 3 default subscription(s) ``` -------------------------------- ### Demo Server Output Example Source: https://github.com/redis/docs/blob/main/content/develop/use-cases/prefetch-cache/redis-py/_index.md Example output when starting the Redis prefetch-cache demo server, showing connection details and initial prefetch status. ```text Redis prefetch-cache demo server listening on http://127.0.0.1:8082 Using Redis at localhost:6379 with cache prefix 'cache:category:' and TTL 3600s Prefetched 5 records in 82.1 ms; sync worker running ``` -------------------------------- ### Start the Demo Server Source: https://github.com/redis/docs/blob/main/content/develop/use-cases/rate-limiter/ruby/_index.md Install dependencies using gem and then run the demo server. This server allows interactive testing of the rate limiter. ```bash # Install dependencies gem install redis webrick # Run the demo server ruby demo_server.rb ``` -------------------------------- ### Get All Shards Stats HTTP Request Example Source: https://github.com/redis/docs/blob/main/content/operate/rs/references/rest-api/requests/shards/stats/_index.md Example of an HTTP GET request to retrieve statistics for all shards. It includes optional query parameters for specifying the time interval and start time. ```http GET /v1/shards/stats?interval=1hour&stime=2014-08-28T10:00:00Z ``` -------------------------------- ### Get Shard Stats HTTP Request Example Source: https://github.com/redis/docs/blob/main/content/operate/rs/references/rest-api/requests/shards/stats/_index.md Example of an HTTP GET request to retrieve statistics for a specific shard identified by its UID. It includes optional query parameters for time interval and start time. ```http GET /v1/shards/stats/1?interval=1hour&stime=2014-08-28T10:00:00Z ``` -------------------------------- ### Create Main Entry Point for Demo Server Source: https://github.com/redis/docs/blob/main/content/develop/use-cases/pub-sub/go/_index.md Create a main.go file in a subdirectory to serve as the entry point for the demo server, importing and calling the pubsub package. ```bash mkdir -p cmd/demo cat > cmd/demo/main.go <<'EOF' package main import "pubsub" func main() { pubsub.RunDemoServer() } EOF ``` -------------------------------- ### Example HTTP Request with Parameters Source: https://github.com/redis/docs/blob/main/content/operate/rs/references/rest-api/requests/cluster/stats/_index.md Demonstrates an example HTTP GET request for cluster stats, including interval and start time parameters. ```sh GET /v1/cluster/stats/1?interval=1hour&stime=2014-08-28T10:00:00Z ``` -------------------------------- ### Start Demo Server Source: https://github.com/redis/docs/blob/main/content/develop/use-cases/feature-store/java-lettuce/_index.md Run the demo server using Maven's exec plugin. ```bash mvn exec:java -Dexec.mainClass=DemoServer ``` -------------------------------- ### Get All Nodes Stats Request with Parameters Source: https://github.com/redis/docs/blob/main/content/operate/rs/references/rest-api/requests/nodes/stats/_index.md Example HTTP request to get node statistics for a specific time interval and start time. The interval can be '1hour', '1week', etc., and stime should be in ISO_8601 format. ```sh GET /v1/nodes/stats?interval=1hour&stime=2014-08-28T10:00:00Z ``` -------------------------------- ### Get All Database Stats Request with Parameters Source: https://github.com/redis/docs/blob/main/content/operate/rs/references/rest-api/requests/bdbs/stats/_index.md Example HTTP request to get database statistics for a specific time interval and start time. Ensure to use valid ISO_8601 format for time parameters. ```sh GET /v1/bdbs/stats?interval=1hour&stime=2014-08-28T10:00:00Z ``` -------------------------------- ### Example HTTP Request for Cluster Stats Source: https://github.com/redis/docs/blob/main/content/operate/rs/references/rest-api/requests/cluster/stats/last.md This snippet shows an example HTTP GET request to retrieve the last cluster statistics. It includes optional query parameters for specifying the time interval and start time. ```http GET /v1/cluster/stats/last?interval=1sec&stime=2015-10-14T06:44:00Z ``` -------------------------------- ### Running the Demo Source: https://github.com/redis/docs/blob/main/content/develop/use-cases/feature-store/php/_index.md Provides commands to install dependencies and start the demo server. ```bash composer install && composer start ``` ```bash php -S 127.0.0.1:8094 demo_server.php ``` -------------------------------- ### Run Demo Server Source: https://github.com/redis/docs/blob/main/content/develop/use-cases/cache-aside/php/_index.md Start the local demo server using PHP's built-in development server to visualize the cache-aside pattern. ```bash php -S localhost:8080 demo_server.php ``` -------------------------------- ### Example HTTP Request for BDB Stats Source: https://github.com/redis/docs/blob/main/content/operate/rs/references/rest-api/requests/bdbs/stats/_index.md Use this GET request to retrieve statistics for a specific database. You can specify time intervals and start times. ```http GET /v1/bdbs/stats/1?interval=1hour&stime=2014-08-28T10:00:00Z ``` -------------------------------- ### Basic Semantic Cache Operations Source: https://github.com/redis/docs/blob/main/content/develop/use-cases/semantic-cache/java-jedis/index.html Illustrates fundamental semantic cache operations like setting and getting values. This example assumes a basic setup without advanced configurations. ```java import redis.clients.jedis.Jedis; public class BasicCacheOps { public static void main(String[] args) { try (Jedis jedis = new Jedis("localhost")) { String cacheKey = "user:123:profile"; String cacheValue = "{ \"name\": \"Alice\", \"email\": \"alice@example.com\" }"; // Set a value in the cache with a TTL (Time To Live) of 1 hour (3600 seconds) jedis.setex(cacheKey, 3600, cacheValue); System.out.println("Set cache key: " + cacheKey); // Get a value from the cache String retrievedValue = jedis.get(cacheKey); if (retrievedValue != null) { System.out.println("Retrieved value for " + cacheKey + ": " + retrievedValue); } else { System.out.println("Cache key not found: " + cacheKey); } // Delete a key from the cache jedis.del(cacheKey); System.out.println("Deleted cache key: " + cacheKey); } catch (Exception e) { System.err.println("Error during cache operations: " + e.getMessage()); } } } ``` -------------------------------- ### Start the Demo Server Source: https://github.com/redis/docs/blob/main/content/develop/use-cases/job-queue/php/_index.md Launch the PHP development server to run the job queue demo application. ```bash php -S 127.0.0.1:8796 demo_server.php ``` -------------------------------- ### Hugo Configuration for Client Mapping Source: https://github.com/redis/docs/blob/main/for-ais-only/tcedocs/SPECIFICATION.md Maps language names to their corresponding quickstart documentation slugs. This is used to generate 'Quick-Start' footer links, guiding users to relevant setup information. ```toml [params.clientsConfig] "Python"={quickstartSlug="redis-py"} "Node.js"={quickstartSlug="nodejs"} "Java-sync"={quickstartSlug="jedis"} ... ``` -------------------------------- ### Java Quickstart for Gears JVM Source: https://github.com/redis/docs/blob/main/content/operate/oss_and_stack/stack-with-enterprise/deprecated-features/gears-v1/jvm/quickstart.md This snippet demonstrates how to create a data pipeline to process reviews, calculate the average rating, and run the pipeline. ```java import java.io.Serializable; import gears.GearsBuilder; import gears.readers.KeysReader; import gears.records.KeysReaderRecord; public class Reviews implements Serializable { private static final long serialVersionUID = 1L; int count; // Total number of reviews int ratingsSum; // Sum of all review ratings // Reviews constructor public Reviews(int count, int ratingsSum) { this.count = count; this.ratingsSum = ratingsSum; } public static void main(String args[]) { // Create the reader that will pass data to the pipe KeysReader reader = new KeysReader(); // Create the data pipe builder GearsBuilder gb = GearsBuilder.CreateGearsBuilder(reader); gb.filter(r->{ // Filter out any keys that are not reviews return r.getKey().startsWith("review:"); }).map(r->{ // Extract the rating field return r.getHashVal().get("rating"); }) .accumulate(new Reviews(0, 0), (accumulator, record)-> { // Count the reviews and add up all of their ratings accumulator.count++; accumulator.ratingsSum += Integer.parseInt(record); return accumulator; }).map(r->{ // Calculate the average rating return Double.valueOf(((double) r.ratingsSum) / r.count); }); // Run the data through the pipeline immediately gb.run(); } } ``` -------------------------------- ### Get Suffix Example Source: https://github.com/redis/docs/blob/main/content/operate/rs/references/rest-api/requests/suffix/_index.md Example of an HTTP GET request to retrieve a specific DNS suffix by its name. ```http GET /v1/suffix/cluster.fqdn ``` -------------------------------- ### Get Node Stats Request with Parameters Source: https://github.com/redis/docs/blob/main/content/operate/rs/references/rest-api/requests/nodes/stats/_index.md Example HTTP request to fetch statistics for a single node (uid=1) within a specified time interval and start time. The URL parameter 'uid' is mandatory. ```sh GET /v1/nodes/stats/1?interval=1hour&stime=2014-08-28T10:00:00Z ``` -------------------------------- ### Example Output for Gears JVM Quickstart Source: https://github.com/redis/docs/blob/main/content/operate/oss_and_stack/stack-with-enterprise/deprecated-features/gears-v1/jvm/quickstart.md This shows the expected output when executing the Java Gears JVM quickstart example using redis-cli. ```sh $ redis-cli -x -h {host} -p {port} \ RG.JEXECUTE com.domain.packagename.Reviews < /tmp/rgjvmtest-0.0.1-SNAPSHOT.jar 1) 1) "3.6666666666666665" 2) (empty array) ``` -------------------------------- ### Start Demo Server Source: https://github.com/redis/docs/blob/main/content/develop/use-cases/agent-memory/redis-py/_index.md Run the Python demo server. The first execution will download the language model. ```bash python demo_server.py ``` -------------------------------- ### Client Example Rendering Logic Source: https://github.com/redis/docs/blob/main/layouts/partials/tabbed-clients-example.html Iterates through configured client examples, filters by language, and prepares them for display. ```go-html-template {{ $clientExamples := index $.Site.Data.examples $id }} {{ range $client := $.Site.Params.clientsexamples }} {{ $example := index $clientExamples $client }} {{ $clientConfig := index $.Site.Params.clientsconfig $client }} {{ $language := index $example "language" }} {{ $quickstartSlug := index $clientConfig "quickstartSlug" }} {{/* Check if language filter matches: either no filter or exact match in comma-separated list */}} {{ $langMatches := false }} {{ if eq $lang "" }} {{ $langMatches = true }} {{ else }} {{ range $filterLang := split $lang "," }} {{ if eq (strings.TrimSpace $filterLang) $client }} {{ $langMatches = true }} {{ end }} {{ end }} {{ end }} {{ if and ($example) $langMatches }} {{ $examplePath := index $example "target" }} {{ if hasPrefix $language "java" }}{{ $language = "java"}}{{ end }} {{/* Per-step contiguous line range (from named_steps) drives slicing. */}} {{ $namedRange := "" }} {{ if and (ne $step "") (isset $example "named_steps") (isset $example.named_steps $step) }} {{ $namedRange = index $example.named_steps $step }} {{ end }} {{/* Slice only for a well-formed, in-bounds "start-end" pair. named_steps is generated from externally-sourced files, so guard against drift: a malformed value (e.g. "5-", "5-x") would crash int and abort the build, and an out-of-bounds start would make source.html fall back to the whole file while the wrapper still emitted a template — double-embedding it. */}} {{ $code := "" }} {{ if $namedRange }} {{ $rangeParts := split $namedRange "-" }} {{ if and (eq (len $rangeParts) 2) (ge (len $rangeParts._0) 1) (ge (len $rangeParts._1) 1) }} {{ $startLine := int $rangeParts._0 }} {{ $endLine := int $rangeParts._1 }} {{ $code = getResource $examplePath | .Content | splitLines | slice $startLine $endLine | join "\n" }} {{ else }} {{ $code = getResource $examplePath | .Content }} {{ end }} {{ else }} {{ $code = getResource $examplePath | .Content }} {{ end }} {{ $tab := dict "title" $client "displayName" $clientConfig.displayName "language" $language "code" $code "quickstartSlug" $quickstartSlug }} {{ if gt (len $commands) 0 }} {{ $tab = merge $tab (dict "commands" $commands) }} {{ end }} {{ $tabs = $tabs | append $tab }} {{ end }} {{ end }} ``` -------------------------------- ### Example HTTP Request to Get a Module Source: https://github.com/redis/docs/blob/main/content/operate/rs/references/rest-api/requests/modules/_index.md An example of an HTTP GET request to retrieve a specific module using its UID, including necessary headers. ```sh GET /v1/modules/1 ``` -------------------------------- ### Start the Demo Server with Custom Configuration Source: https://github.com/redis/docs/blob/main/content/develop/use-cases/time-series-dashboard/dotnet/_index.md Start the demo server specifying custom Redis host, port, and application port. ```bash dotnet run -- --redis-host 127.0.0.1 --redis-port 6379 --port 8080 ``` -------------------------------- ### Get Cluster Info Response Example Source: https://github.com/redis/docs/blob/main/content/operate/rs/references/rest-api/requests/cluster/_index.md Example JSON response body for a successful GET /v1/cluster request, showing cluster configuration details. ```json { "name": "my-rlec-cluster", "alert_settings": { "..." }, "created_time": "2015-04-29T09:09:25Z", "email_alerts": false, "email_from": "", "rack_aware": false, "smtp_host": "", "smtp_password": "", "smtp_port": 25, "smtp_tls_mode": "none", "smtp_username": "" } ``` -------------------------------- ### Run the Go Feature Store Demo Server Source: https://github.com/redis/docs/blob/main/content/develop/use-cases/feature-store/go/_index.md Start the Go demo server for the Redis feature store. ```bash go run ./cmd/demo_server ``` -------------------------------- ### Example HTTP Request for Get Database Actions Source: https://github.com/redis/docs/blob/main/content/operate/rs/references/rest-api/requests/actions/bdb.md An example of an HTTP GET request to retrieve the status of actions for a specific database identified by its UID. ```http GET /v1/actions/bdb/1 ``` -------------------------------- ### Demo Server Setup Source: https://github.com/redis/docs/blob/main/content/develop/use-cases/recommendation-engine/dotnet/_index.md This C# code sets up an HttpListener server for an interactive recommendation engine demo. It initializes the Embedder and Recommender instances for the lifetime of the process. ```csharp public class DemoServer { private readonly HttpListener _listener = new HttpListener(); private readonly Embedder _embedder; private readonly Recommender _recommender; public DemoServer(Embedder embedder, Recommender recommender) { _embedder = embedder; _recommender = recommender; _listener.Prefixes.Add("http://localhost:8080/"); } public async Task StartAsync() { _listener.Start(); Console.WriteLine("Listening on http://localhost:8080/"); while (_listener.IsListening) { var context = await _listener.GetContextAsync(); _ = Task.Run(() => HandleRequestAsync(context)); } } public void Stop() { _listener.Stop(); } private async Task HandleRequestAsync(HttpListenerContext context) { // Request handling logic will go here var response = context.Response; response.StatusCode = (int)HttpStatusCode.OK; response.ContentType = "text/plain"; using var output = response.OutputStream; using var writer = new StreamWriter(output); await writer.WriteAsync("Hello, World!"); } } ``` -------------------------------- ### Build and Run the Go Job Queue Demo Source: https://github.com/redis/docs/blob/main/content/develop/use-cases/job-queue/go/_index.md After setting up the files, tidy Go modules and run the demo server using `go run`. The server will start and provide a URL for interaction. ```bash go mod tidy go run ./cmd/demo ``` -------------------------------- ### Get Single Role Example Source: https://github.com/redis/docs/blob/main/content/operate/rs/references/rest-api/requests/roles/_index.md Example HTTP GET request to retrieve a specific role using its UID. Replace '1' with the actual role UID. ```sh GET /v1/roles/1 ``` -------------------------------- ### Build and Verify Example Integration Source: https://github.com/redis/docs/blob/main/for-ais-only/tcedocs/SPECIFICATION.md Commands to process examples and verify their inclusion in the examples.json file. ```bash # Process examples python3 build/make.py # Verify example appears in examples.json cat data/examples.json | grep my_new_example ``` -------------------------------- ### Start Leaderboard Demo Server Source: https://github.com/redis/docs/blob/main/content/develop/use-cases/leaderboard/php/_index.md Install the Predis library using Composer and start the local demo server. The server is accessible via a web browser. ```bash composer require predis/predis php -S localhost:8080 demo_server.php ``` -------------------------------- ### Get Cluster Manager Settings Example Response Body Source: https://github.com/redis/docs/blob/main/content/operate/rs/references/rest-api/requests/cm_settings/_index.md An example JSON response body for a successful GET request, showing the current timezone setting. ```json { "timezone": "UTC" } ``` -------------------------------- ### Start Demo Server with Custom Configuration Source: https://github.com/redis/docs/blob/main/content/develop/use-cases/job-queue/php/_index.md Start the PHP development server with custom Redis host, port, and visibility timeout settings. ```bash REDIS_HOST=redis.local REDIS_PORT=6380 VISIBILITY_MS=10000 \ php -S 127.0.0.1:8796 demo_server.php ``` -------------------------------- ### Start Demo Server Source: https://github.com/redis/docs/blob/main/content/develop/use-cases/recommendation-engine/java-jedis/_index.md Run the DemoServer main class using Maven to start the recommendation engine server. Default port is 8084. ```bash mvn -DskipTests exec:java -Dexec.mainClass=DemoServer ``` -------------------------------- ### Install go-redis-entraid Source: https://github.com/redis/docs/blob/main/content/develop/clients/go/amr.md Install the go-redis-entraid package using go get. Ensure you have go-redis v9.9.0 or later installed. ```bash go get github.com/redis/go-redis-entraid ``` -------------------------------- ### Install Go Jupyter Kernel Source: https://github.com/redis/docs/blob/main/build/jupyterize/README.md Command to install the Go Jupyter kernel using go install. This is an example of installing a kernel for a new language. ```bash # Example for Go go install github.com/gopherdata/gophernotes@latest ``` -------------------------------- ### Run the Feature Store Demo Server Source: https://github.com/redis/docs/blob/main/content/develop/use-cases/feature-store/dotnet/_index.md Start the .NET feature store demo server in release mode from the project directory. ```bash dotnet run -c Release ``` -------------------------------- ### Get All Shards Stats JSON Response Example Source: https://github.com/redis/docs/blob/main/content/operate/rs/references/rest-api/requests/shards/stats/_index.md Example JSON response body for the 'Get All Shards Stats' endpoint. It shows an array of shard statistics, including details for each interval. ```json [ { "status": "active", "uid": "1", "node_uid": "1", "assigned_slots": "0-8191", "intervals": [ { "interval": "1sec", "stime": "2015-05-28T08:27:35Z", "etime": "2015-05-28T08:27:40Z", "used_memory_peak": 5888264.0, "used_memory_rss": 5888264.0, "read_hits": 0.0, "pubsub_patterns": 0.0, "no_of_keys": 0.0, "mem_size_lua": 35840.0, "last_save_time": 1432541051.0, "sync_partial_ok": 0.0, "connected_clients": 9.0, "avg_ttl": 0.0, "write_misses": 0.0, "used_memory": 5651440.0, "sync_full": 0.0, "expired_objects": 0.0, "total_req": 0.0, "blocked_clients": 0.0, "pubsub_channels": 0.0, "evicted_objects": 0.0, "no_of_expires": 0.0, "interval": "1sec", "write_hits": 0.0, "read_misses": 0.0, "sync_partial_err": 0.0, "rdb_changes_since_last_save": 0.0 }, { "interval": "1sec", "stime": "2015-05-28T08:27:40Z", "etime": "2015-05-28T08:27:45Z", "// additional fields..." } ] }, { "uid": "2", "status": "active", "node_uid": "1", "assigned_slots": "8192-16383", "intervals": [ { "interval": "1sec", "stime": "2015-05-28T08:27:35Z", "etime": "2015-05-28T08:27:40Z", "// additional fields..." }, { "interval": "1sec", "stime": "2015-05-28T08:27:40Z", "etime": "2015-05-28T08:27:45Z", "// additional fields..." } ] } ] ``` -------------------------------- ### Start Demo Server Source: https://github.com/redis/docs/blob/main/content/develop/use-cases/agent-memory/php/_index.md Start the PHP demo server. Ensure Redis is running with Redis Search and JSON modules enabled. ```bash php demo_server.php ``` -------------------------------- ### Build and Run Demo Server Source: https://github.com/redis/docs/blob/main/content/develop/use-cases/cache-aside/go/_index.md Compiles the demo application and starts the server. Use flags to specify Redis host and port if not default. ```bash go build -o demo ./... ./demo --port 8080 --redis-host localhost --redis-port 6379 ``` -------------------------------- ### Install go-redis Client Source: https://github.com/redis/docs/blob/main/content/develop/clients/go/_index.md Install the go-redis/v9 package using the go get command. ```bash go get github.com/redis/go-redis/v9 ``` -------------------------------- ### Install Redis and Tools via Snap Source: https://github.com/redis/docs/blob/main/content/operate/oss_and_stack/install/install-stack/snap.md Installs Redis and redis-tools using apt and snap. Redis will start automatically after installation. ```bash sudo apt update sudo apt install redis-tools # this will install `redis-cli` sudo snap install redis ``` -------------------------------- ### Demo Server Output Example Source: https://github.com/redis/docs/blob/main/content/develop/use-cases/feature-store/java-lettuce/_index.md Example output from the demo server upon startup, indicating its status and configuration. ```text Dropping any existing users under 'fs:user:*' for a clean demo run (pass --no-reset to keep them). Redis feature-store demo server listening on http://127.0.0.1:8089 Using Redis at redis://localhost:6379 with key prefix 'fs:user:' (batch TTL 86400s, streaming TTL 300s) Materialized 200 user(s); streaming worker running. ``` -------------------------------- ### Initial Project Setup Source: https://github.com/redis/docs/blob/main/build/command_api_mapping/mcp-server/DEVELOPMENT.md Clones the project, installs Node.js dependencies, and builds both Rust and Node.js projects. ```bash # Clone/navigate to the project cd build/command_api_mapping/mcp-server # Install Node.js dependencies cd node && npm install && cd .. # Build both projects npm run build ``` -------------------------------- ### Get Node Check HTTP Request Example Source: https://github.com/redis/docs/blob/main/content/operate/rs/references/rest-api/requests/nodes/check.md This example shows how to make an HTTP GET request to check the status of a specific node in the cluster. Replace '1' with the actual node UID. ```http GET /v1/nodes/check/1 ``` -------------------------------- ### Start Recommendation Demo Server Source: https://github.com/redis/docs/blob/main/content/develop/use-cases/recommendation-engine/dotnet/_index.md Start the recommendation engine demo server on a specified port. ```bash dotnet run -- --port 8084 ``` -------------------------------- ### Enable Debug Logging During Installation Source: https://github.com/redis/docs/blob/main/content/integrate/redis-data-integration/troubleshooting.md Set the log level to DEBUG when running the installer script or the install command to get more detailed information about the installation process and potential errors. ```bash ./install.sh -l DEBUG # Installer script redis-di install -l DEBUG # Install command ``` -------------------------------- ### Build and Run Demo Source: https://github.com/redis/docs/blob/main/content/develop/use-cases/session-store/go/_index.md Build the demo application and run the executable. This command compiles all Go files in the current directory and then starts the demo server. ```bash go build -o demo ./... ./demo ``` -------------------------------- ### Get Proxy Example Request Source: https://github.com/redis/docs/blob/main/content/operate/rs/references/rest-api/requests/proxies/_index.md Example HTTP request to fetch details for a proxy with UID 1. ```sh GET /v1/proxies/1 ```