[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6NW4SSBF4PF9SR9K4VVGQCX":3,"skill-same:01M6NW4SSBF4PF9SR9K4VVGQCX":58},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":31,"linkOnly":32,"markdownContent":33,"markdownBody":34,"frontMatter":35,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":14,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":41,"ownerDescription":42,"updatedAt":43,"install":44,"resources":57},"01M6NW4SSBF4PF9SR9K4VVGQCX","redis-patterns",null,"Data structure selection, pub\u002Fsub patterns, Lua scripting, pipelining, and cluster topology strategies.","rubicanjr\u002FFinCognis","rubicanjr","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F234912519?v=4","01M6NT156NND8J474G34SB3923","Rubi","01M6NT15B70RWXE1N3YV0BZY8A",0,"MIT","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fredis-patterns\u002Fskill.md",[],[19,20,21,22,23,24,25,26,27,28,29,30],"redis","patterns","redis patterns","topology","data","scripting","lua","selection","structure","lua scripting","strategies","cluster","2026-11-10 10:12:30",false,"---\nname: redis-patterns\ndescription: Data structure selection, pub\u002Fsub patterns, Lua scripting, pipelining, and cluster topology strategies.\n---\n\n# Redis Patterns\n\nAdvanced Redis usage beyond simple key-value caching.\n\n## Data Structure Selection\n\n```\nUse Case                → Structure      → Why\nSession store           → Hash           → Partial field updates without full deserialize\nRate limiter            → Sorted Set     → ZRANGEBYSCORE for sliding window\nJob queue               → List + Stream  → BRPOPLPUSH for reliable queue\nLeaderboard             → Sorted Set     → ZREVRANGE with scores\nUnique visitors         → HyperLogLog    → O(1) cardinality, 0.81% error\nFeature flags           → Hash           → HGET per flag, HGETALL for bulk\nPresence (who's online) → Set            → SADD\u002FSREM, SMEMBERS\nGeolocation             → Geo            → GEOSEARCH within radius\n```\n\n## Distributed Lock (Redlock-lite)\n\n```typescript\nimport Redis from 'ioredis'\n\nconst redis = new Redis(process.env.REDIS_URL!)\n\nasync function acquireLock(\n  key: string,\n  ttlMs: number = 10_000\n): Promise\u003Cstring | null> {\n  const token = crypto.randomUUID()\n  const acquired = await redis.set(\n    `lock:${key}`, token,\n    'PX', ttlMs,\n    'NX'  \u002F\u002F Only set if not exists\n  )\n  return acquired === 'OK' ? token : null\n}\n\nasync function releaseLock(key: string, token: string): Promise\u003Cboolean> {\n  \u002F\u002F Lua script: only delete if token matches (atomic check-and-delete)\n  const script = `\n    if redis.call(\"get\", KEYS[1]) == ARGV[1] then\n      return redis.call(\"del\", KEYS[1])\n    else\n      return 0\n    end\n  `\n  const result = await redis.eval(script, 1, `lock:${key}`, token)\n  return result === 1\n}\n\n\u002F\u002F Usage\nasync function processExclusively(resourceId: string): Promise\u003Cvoid> {\n  const token = await acquireLock(resourceId, 5000)\n  if (!token) throw new Error('Could not acquire lock')\n\n  try {\n    await doWork(resourceId)\n  } finally {\n    await releaseLock(resourceId, token)\n  }\n}\n```\n\n## Sliding Window Rate Limiter\n\n```typescript\nasync function isRateLimited(\n  userId: string,\n  maxRequests: number,\n  windowMs: number\n): Promise\u003Cboolean> {\n  const key = `ratelimit:${userId}`\n  const now = Date.now()\n  const windowStart = now - windowMs\n\n  const pipeline = redis.pipeline()\n  pipeline.zremrangebyscore(key, 0, windowStart)  \u002F\u002F Remove expired entries\n  pipeline.zadd(key, now.toString(), `${now}:${crypto.randomUUID()}`)\n  pipeline.zcard(key)                              \u002F\u002F Count entries in window\n  pipeline.pexpire(key, windowMs)                  \u002F\u002F Auto-cleanup\n\n  const results = await pipeline.exec()\n  const count = results![2][1] as number\n  return count > maxRequests\n}\n```\n\n## Lua Scripting for Atomicity\n\n```typescript\n\u002F\u002F Problem: check-then-act is not atomic with separate commands\n\u002F\u002F Solution: Lua script executes atomically on Redis server\n\n\u002F\u002F Atomic counter with ceiling\nconst incrementWithCeiling = `\n  local current = tonumber(redis.call(\"GET\", KEYS[1]) or \"0\")\n  local ceiling = tonumber(ARGV[1])\n  if current >= ceiling then\n    return -1\n  end\n  return redis.call(\"INCR\", KEYS[1])\n`\n\nasync function tryIncrement(key: string, max: number): Promise\u003Cnumber> {\n  const result = await redis.eval(incrementWithCeiling, 1, key, max.toString())\n  return result as number  \u002F\u002F -1 means ceiling reached\n}\n\n\u002F\u002F Atomic dequeue with conditional processing\nconst dequeueIfReady = `\n  local item = redis.call(\"LPOP\", KEYS[1])\n  if item == nil then return nil end\n\n  local data = cjson.decode(item)\n  if data.scheduledAt and tonumber(data.scheduledAt) > tonumber(ARGV[1]) then\n    redis.call(\"LPUSH\", KEYS[1], item)  -- Put back, not ready yet\n    return nil\n  end\n  redis.call(\"SADD\", KEYS[2], item)  -- Move to processing set\n  return item\n`\n```\n\n## Pipeline for Bulk Operations\n\n```typescript\n\u002F\u002F Without pipeline: N round trips\n\u002F\u002F With pipeline: 1 round trip for N commands\n\nasync function bulkGetUsers(userIds: string[]): Promise\u003CMap\u003Cstring, User>> {\n  const pipeline = redis.pipeline()\n  for (const id of userIds) {\n    pipeline.hgetall(`user:${id}`)\n  }\n\n  const results = await pipeline.exec()\n  const userMap = new Map\u003Cstring, User>()\n\n  for (let i = 0; i \u003C userIds.length; i++) {\n    const [err, data] = results![i]\n    if (!err && data && Object.keys(data as object).length > 0) {\n      userMap.set(userIds[i], data as User)\n    }\n  }\n  return userMap\n}\n```\n\n## Pub\u002FSub with Redis Streams\n\n```typescript\n\u002F\u002F Streams > Pub\u002FSub: persistence, consumer groups, acknowledgment\n\n\u002F\u002F Producer\nasync function publishEvent(stream: string, event: Record\u003Cstring, string>): Promise\u003Cstring> {\n  \u002F\u002F MAXLEN ~ 10000: approximate trimming for performance\n  return redis.xadd(stream, 'MAXLEN', '~', '10000', '*', ...Object.entries(event).flat())\n}\n\n\u002F\u002F Consumer group setup\nawait redis.xgroup('CREATE', 'events', 'worker-group', '0', 'MKSTREAM')\n\n\u002F\u002F Consumer\nasync function consumeEvents(\n  stream: string,\n  group: string,\n  consumer: string\n): Promise\u003Cvoid> {\n  while (true) {\n    const entries = await redis.xreadgroup(\n      'GROUP', group, consumer,\n      'COUNT', '10',\n      'BLOCK', '5000',  \u002F\u002F Block up to 5s for new messages\n      'STREAMS', stream, '>'\n    )\n\n    if (!entries) continue\n\n    for (const [, messages] of entries) {\n      for (const [id, fields] of messages) {\n        try {\n          await processEvent(Object.fromEntries(\n            fields.reduce((acc: [string, string][], v, i, arr) =>\n              i % 2 === 0 ? [...acc, [v, arr[i + 1]]] : acc, []\n            )\n          ))\n          await redis.xack(stream, group, id)\n        } catch (err) {\n          console.error(`Failed to process ${id}:`, err)\n          \u002F\u002F Message stays pending, will be re-delivered\n        }\n      }\n    }\n  }\n}\n```\n\n## Checklist\n\n- [ ] Use appropriate data structure for each use case (not everything is a string)\n- [ ] Pipeline bulk operations (avoid N round trips)\n- [ ] Lua scripts for atomic multi-step operations\n- [ ] Set TTL on every key (avoid memory leaks)\n- [ ] Use SCAN instead of KEYS in production (KEYS blocks)\n- [ ] Configure maxmemory-policy (allkeys-lru for cache, noeviction for queue)\n- [ ] Monitor slow log: `SLOWLOG GET 10`\n- [ ] Streams over Pub\u002FSub when message persistence needed\n\n## Anti-Patterns\n\n- Using KEYS * in production (blocks entire Redis, use SCAN)\n- Storing large values (>1MB) in a single key (fragment or compress)\n- No TTL on keys: silent memory leak until OOM\n- Check-then-set without Lua: race condition between GET and SET\n- Using Redis as primary database without persistence config (RDB\u002FAOF)\n- Single Redis instance for both cache and queue (eviction kills queue items)\n","# Redis Patterns\n\nAdvanced Redis usage beyond simple key-value caching.\n\n## Data Structure Selection\n\n```\nUse Case                → Structure      → Why\nSession store           → Hash           → Partial field updates without full deserialize\nRate limiter            → Sorted Set     → ZRANGEBYSCORE for sliding window\nJob queue               → List + Stream  → BRPOPLPUSH for reliable queue\nLeaderboard             → Sorted Set     → ZREVRANGE with scores\nUnique visitors         → HyperLogLog    → O(1) cardinality, 0.81% error\nFeature flags           → Hash           → HGET per flag, HGETALL for bulk\nPresence (who's online) → Set            → SADD\u002FSREM, SMEMBERS\nGeolocation             → Geo            → GEOSEARCH within radius\n```\n\n## Distributed Lock (Redlock-lite)\n\n```typescript\nimport Redis from 'ioredis'\n\nconst redis = new Redis(process.env.REDIS_URL!)\n\nasync function acquireLock(\n  key: string,\n  ttlMs: number = 10_000\n): Promise\u003Cstring | null> {\n  const token = crypto.randomUUID()\n  const acquired = await redis.set(\n    `lock:${key}`, token,\n    'PX', ttlMs,\n    'NX'  \u002F\u002F Only set if not exists\n  )\n  return acquired === 'OK' ? token : null\n}\n\nasync function releaseLock(key: string, token: string): Promise\u003Cboolean> {\n  \u002F\u002F Lua script: only delete if token matches (atomic check-and-delete)\n  const script = `\n    if redis.call(\"get\", KEYS[1]) == ARGV[1] then\n      return redis.call(\"del\", KEYS[1])\n    else\n      return 0\n    end\n  `\n  const result = await redis.eval(script, 1, `lock:${key}`, token)\n  return result === 1\n}\n\n\u002F\u002F Usage\nasync function processExclusively(resourceId: string): Promise\u003Cvoid> {\n  const token = await acquireLock(resourceId, 5000)\n  if (!token) throw new Error('Could not acquire lock')\n\n  try {\n    await doWork(resourceId)\n  } finally {\n    await releaseLock(resourceId, token)\n  }\n}\n```\n\n## Sliding Window Rate Limiter\n\n```typescript\nasync function isRateLimited(\n  userId: string,\n  maxRequests: number,\n  windowMs: number\n): Promise\u003Cboolean> {\n  const key = `ratelimit:${userId}`\n  const now = Date.now()\n  const windowStart = now - windowMs\n\n  const pipeline = redis.pipeline()\n  pipeline.zremrangebyscore(key, 0, windowStart)  \u002F\u002F Remove expired entries\n  pipeline.zadd(key, now.toString(), `${now}:${crypto.randomUUID()}`)\n  pipeline.zcard(key)                              \u002F\u002F Count entries in window\n  pipeline.pexpire(key, windowMs)                  \u002F\u002F Auto-cleanup\n\n  const results = await pipeline.exec()\n  const count = results![2][1] as number\n  return count > maxRequests\n}\n```\n\n## Lua Scripting for Atomicity\n\n```typescript\n\u002F\u002F Problem: check-then-act is not atomic with separate commands\n\u002F\u002F Solution: Lua script executes atomically on Redis server\n\n\u002F\u002F Atomic counter with ceiling\nconst incrementWithCeiling = `\n  local current = tonumber(redis.call(\"GET\", KEYS[1]) or \"0\")\n  local ceiling = tonumber(ARGV[1])\n  if current >= ceiling then\n    return -1\n  end\n  return redis.call(\"INCR\", KEYS[1])\n`\n\nasync function tryIncrement(key: string, max: number): Promise\u003Cnumber> {\n  const result = await redis.eval(incrementWithCeiling, 1, key, max.toString())\n  return result as number  \u002F\u002F -1 means ceiling reached\n}\n\n\u002F\u002F Atomic dequeue with conditional processing\nconst dequeueIfReady = `\n  local item = redis.call(\"LPOP\", KEYS[1])\n  if item == nil then return nil end\n\n  local data = cjson.decode(item)\n  if data.scheduledAt and tonumber(data.scheduledAt) > tonumber(ARGV[1]) then\n    redis.call(\"LPUSH\", KEYS[1], item)  -- Put back, not ready yet\n    return nil\n  end\n  redis.call(\"SADD\", KEYS[2], item)  -- Move to processing set\n  return item\n`\n```\n\n## Pipeline for Bulk Operations\n\n```typescript\n\u002F\u002F Without pipeline: N round trips\n\u002F\u002F With pipeline: 1 round trip for N commands\n\nasync function bulkGetUsers(userIds: string[]): Promise\u003CMap\u003Cstring, User>> {\n  const pipeline = redis.pipeline()\n  for (const id of userIds) {\n    pipeline.hgetall(`user:${id}`)\n  }\n\n  const results = await pipeline.exec()\n  const userMap = new Map\u003Cstring, User>()\n\n  for (let i = 0; i \u003C userIds.length; i++) {\n    const [err, data] = results![i]\n    if (!err && data && Object.keys(data as object).length > 0) {\n      userMap.set(userIds[i], data as User)\n    }\n  }\n  return userMap\n}\n```\n\n## Pub\u002FSub with Redis Streams\n\n```typescript\n\u002F\u002F Streams > Pub\u002FSub: persistence, consumer groups, acknowledgment\n\n\u002F\u002F Producer\nasync function publishEvent(stream: string, event: Record\u003Cstring, string>): Promise\u003Cstring> {\n  \u002F\u002F MAXLEN ~ 10000: approximate trimming for performance\n  return redis.xadd(stream, 'MAXLEN', '~', '10000', '*', ...Object.entries(event).flat())\n}\n\n\u002F\u002F Consumer group setup\nawait redis.xgroup('CREATE', 'events', 'worker-group', '0', 'MKSTREAM')\n\n\u002F\u002F Consumer\nasync function consumeEvents(\n  stream: string,\n  group: string,\n  consumer: string\n): Promise\u003Cvoid> {\n  while (true) {\n    const entries = await redis.xreadgroup(\n      'GROUP', group, consumer,\n      'COUNT', '10',\n      'BLOCK', '5000',  \u002F\u002F Block up to 5s for new messages\n      'STREAMS', stream, '>'\n    )\n\n    if (!entries) continue\n\n    for (const [, messages] of entries) {\n      for (const [id, fields] of messages) {\n        try {\n          await processEvent(Object.fromEntries(\n            fields.reduce((acc: [string, string][], v, i, arr) =>\n              i % 2 === 0 ? [...acc, [v, arr[i + 1]]] : acc, []\n            )\n          ))\n          await redis.xack(stream, group, id)\n        } catch (err) {\n          console.error(`Failed to process ${id}:`, err)\n          \u002F\u002F Message stays pending, will be re-delivered\n        }\n      }\n    }\n  }\n}\n```\n\n## Checklist\n\n- [ ] Use appropriate data structure for each use case (not everything is a string)\n- [ ] Pipeline bulk operations (avoid N round trips)\n- [ ] Lua scripts for atomic multi-step operations\n- [ ] Set TTL on every key (avoid memory leaks)\n- [ ] Use SCAN instead of KEYS in production (KEYS blocks)\n- [ ] Configure maxmemory-policy (allkeys-lru for cache, noeviction for queue)\n- [ ] Monitor slow log: `SLOWLOG GET 10`\n- [ ] Streams over Pub\u002FSub when message persistence needed\n\n## Anti-Patterns\n\n- Using KEYS * in production (blocks entire Redis, use SCAN)\n- Storing large values (>1MB) in a single key (fragment or compress)\n- No TTL on keys: silent memory leak until OOM\n- Check-then-set without Lua: race condition between GET and SET\n- Using Redis as primary database without persistence config (RDB\u002FAOF)\n- Single Redis instance for both cache and queue (eviction kills queue items)\n",{"name":5,"description":7},"main","70e1c350500ee750987420bbae48837afa906b7e","skills\u002Fredis-patterns","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis","https:\u002F\u002Fgithub.com\u002Frubicanjr","linktr.ee\u002Ffinanskodu","Industrial Engineer & CIO @FinansKodu. Architecting AI-driven financial agents and autonomous workflows. 🏗️ Building systems, not just prompts.","2026-06-09 13:50:15",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add rubicanjr\u002FFinCognis --skill redis-patterns",{"tool":50,"command":51},"bunx","bunx skills add rubicanjr\u002FFinCognis --skill redis-patterns",{"tool":53,"command":54},"pnpm","pnpm dlx skills add rubicanjr\u002FFinCognis --skill redis-patterns","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fredis-patterns\u002Fskill.md",true,[],[59,80,89,107,137,156],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":70,"publishedAt":31},"01M6NWS9DAXJTADT4T5MB49X8W","workflow-router","Goal-based workflow orchestration - routes tasks to specialist agents based on user goals","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow-router\u002FSKILL.md",[65],{"categoryNo":66,"categoryName":67,"taxonomyType":68,"taxonomyTypeDesc":69},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[71,72,73,74,75,76,77,78,79],"workflow router","workflow","router","orchestration","goals","goal","user","workflow orchestration","tasks",{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":31},"01M6NWS3RETSC0SHP16HP66E14","wiring","Wiring Verification","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fwiring\u002FSKILL.md",[],[82,87,88],"verification","false",{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":98,"publishedAt":31},"01M6NWS0XW9CVQZBDA1EGW0TWC","websocket-patterns","Connection management, room patterns, reconnection strategies, message buffering, and binary protocol design.","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fwebsocket-patterns\u002Fskill.md",[95],{"categoryNo":96,"categoryName":97,"taxonomyType":68,"taxonomyTypeDesc":69},"01JBSEEDCAT000000000000015","视觉设计",[99,20,100,101,102,103,104,29,105,106],"websocket","websocket patterns","design","protocol","management","message","binary","connection",{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":117,"publishedAt":31},"01M6NWRDQDX9ZNETAWRRMQWV52","visual-verdict","Screenshot comparison QA for frontend development. Takes a screenshot of the current implementation, scores it across multiple visual dimensions, and returns a structured PASS\u002FREVISE\u002FFAIL verdict with concrete fixes. Use when implementing UI from a design reference or verifying visual correctness.","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fvisual-verdict\u002FSKILL.md",[113,116],{"categoryNo":114,"categoryName":115,"taxonomyType":68,"taxonomyTypeDesc":69},"01JBSEEDCAT000000000000009","前端开发",{"categoryNo":66,"categoryName":67,"taxonomyType":68,"taxonomyTypeDesc":69},[118,119,120,121,122,123,124,125,126,127,128,129,130,101,131,132,133,134,135,136],"visual","verdict","visual verdict","ui","across","revise","comparison","correctness","implementing","for","fixes","dimensions","frontend","development","qa","screenshot","returns","use","frontend development",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":31},"01M6NWR8HSNRS7MNDK2J02QYMN","verification-loop","Comprehensive verification system covering build, types, lint, tests, security, and diff review before a PR.","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fverification-loop\u002FSKILL.md",[],[144,145,87,146,147,148,149,150,151,152,153,154,155],"verification loop","loop","lint","review","security","pr","system","diff","build","tests","diff review","types",{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":31},"01M6NWR4HHSFR0VR5EXFRWA747","vector-db-patterns","Embedding strategies, ANN algorithms, hybrid search, RAG chunking strategies, and reranking for semantic search and retrieval.","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fvector-db-patterns\u002Fskill.md",[],[163,164,165,166,20,167,168,169,170,29,171,172,173,174,175,127,176,177],"vector db patterns","vector db","db","vector","semantic search","search","embedding strategies","algorithms","chunking","semantic","retrieval","embedding","Hybrid Search","hybrid","rag"]