Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Django backend for recommendations and search v1.0.0

Use this resource to build or review a Django backend that aggregates recommendations and OpenSearch results

New

  • 309 downloads
  • 131 likes
  • 158 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install django-recommender-backend

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent designs or reviews a Django backend that aggregates recommendation services and OpenSearch queries against 48 rules: parallel orchestration, deadlines, circuit breakers, cursor pagination, result blending, Redis caching and partial responses. It explains the trade-off of each choice. You get an endpoint that stays fast even when one service fails.

Mostly picked by

Updated November 2, 2026

Card for the “Django backend for recommendations and search” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • assets/templates/: templates for search view, orchestration, blending and Redis caching
  • references/: cards on pagination, compression and API response shape

Good fit for

  • Your endpoint calls three recommendation services one after another
  • One service outage breaks the whole home page

Not for

    Tags

    • django
    • recommendation
    • opensearch
    • resilience
    • api

    About

    You say

    “Make this recommendations endpoint resilient: parallel calls with a deadline, and a partial response when one service does not answer.”

    Card for the “Django backend for recommendations and search” skill

    Skill published by pproenca under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to build or review a Django backend that aggregates recommendations and OpenSearch results
    3. Review and adjust the result

    Content preview

    Files

    • AGENTS.md13 KB
    • assets/templates/_template.md2.2 KB
    • assets/templates/degraded_response.py.template6.7 KB
    • assets/templates/fanout_recommender_service.py.template12.1 KB
    • assets/templates/opensearch_search_view.py.template9.9 KB
    • assets/templates/redis_cache_with_stampede.py.template8.3 KB
    • assets/templates/result_blender.py.template9.7 KB
    • LICENSE1.1 KB
    • metadata.json3 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/_sections.md5 KB
    • references/api-compression-and-payload-shaping.md7 KB
    • references/api-cursor-pagination-in-drf.md7.2 KB
    • references/api-etag-and-cache-control-headers.md6.7 KB
    • references/api-serializer-perf-select-related.md6.4 KB
    • references/api-throttle-per-user-and-endpoint.md7.1 KB
    • references/async-cancel-on-client-disconnect.md6.8 KB
    • references/async-context-vars-for-request-scope.md6.4 KB
    • references/async-fire-and-forget-with-create-task.md6.5 KB
    • references/async-sync-to-async-orm.md6.2 KB
    • references/async-worker-model-uvicorn-vs-gunicorn.md5.9 KB
    • references/blend-anonymous-vs-personalized-paths.md5.9 KB
    • references/blend-cold-start-fallback.md6.3 KB
    • references/blend-dedup-across-sources.md5.4 KB
    • references/blend-mmr-for-diversity.md5.6 KB
    • references/blend-normalize-scores-across-sources.md5.3 KB
    • references/cache-negative-results.md6 KB
    • references/cache-redis-with-stampede-protection.md6.1 KB
    • references/cache-segment-keyed-isolation.md5.7 KB
    • references/cache-two-tier-process-and-redis.md6.4 KB
    • references/cache-version-on-model-deploy.md6 KB
    • references/orch-avoid-await-in-loop.md3.5 KB
    • references/orch-batch-with-bulk-endpoint.md4.6 KB
    • references/orch-bounded-fanout-concurrency.md3.9 KB
    • references/orch-no-blocking-in-async-view.md3.7 KB
    • references/orch-parallel-fanout-asyncio-gather.md3.4 KB
    • references/orch-propagate-request-deadline.md4.3 KB
    • references/orch-return-exceptions-on-fanout.md3.9 KB
    • references/orch-reuse-async-clients.md4.5 KB
    • references/protect-bulkhead-connection-pool.md4.7 KB
    • references/protect-circuit-breaker-per-downstream.md4.9 KB
    • references/protect-client-side-rate-limit.md5.2 KB
    • references/protect-honor-retry-after-header.md5.6 KB
    • references/protect-jittered-retry-backoff.md4.6 KB
    • references/protect-no-retry-on-4xx.md4.8 KB
    • references/protect-per-downstream-timeout-budget.md4.3 KB
    • references/resilience-default-ranking-fallback.md7 KB
    • references/resilience-degrade-search-gracefully.md7.5 KB
    • references/resilience-partial-response-envelope.md6 KB
    • references/resilience-per-source-observability.md7 KB
    • references/resilience-serve-stale-from-redis.md5.9 KB
    • references/search-alias-for-blue-green-reindex.md5.6 KB
    • references/search-bool-filter-vs-must.md5.6 KB
    • references/search-enable-request-cache.md5.5 KB
    • references/search-filter-source-fields.md4.8 KB
    • references/search-function-score-for-blending.md6.5 KB
    • references/search-shard-aware-routing.md4.9 KB
    • references/search-stable-tiebreaker-sort.md3.9 KB
    • references/search-use-search-after-not-from.md5.4 KB
    • SKILL.md12.5 KB

    Origin and licence

    Listed unmodified

    Author
    pproenca
    Source
    github.com/pproenca/dot-skills/tree/cf93c57cac89d6fc3e4194686000411567f5caf3/skills/.experimental/django-recommender-search-backend-patterns
    Licence
    MIT

    Notice

    « django-recommender-search-backend-patterns » (pproenca, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.