openevidence-performance-tuning
FeaturedPerformance Tuning for OpenEvidence. Trigger: "openevidence performance tuning".
AI & Automation 2,266 stars
315 forks Updated today MIT
Install
Quality Score: 99/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# OpenEvidence Performance Tuning
## Overview
OpenEvidence's clinical API handles evidence query response times, citation batch retrieval, and complex multi-condition query optimization. Clinical evidence queries can take 2-5 seconds as the system searches across thousands of medical studies and synthesizes responses. Citation batch retrieval for systematic reviews generates heavy load when fetching 50-200 references per query. Caching evidence responses, batching citation fetches, and optimizing query specificity reduces clinician wait times by 50-70% and keeps complex queries within acceptable latency bounds.
## Caching Strategy
```typescript
const cache = new Map<string, { data: any; expiry: number }>();
const TTL = { evidence: 1_800_000, citations: 3_600_000, queries: 300_000 };
async function cached(key: string, ttlKey: keyof typeof TTL, fn: () => Promise<any>) {
const entry = cache.get(key);
if (entry && entry.expiry > Date.now()) return entry.data;
const data = await fn();
cache.set(key, { data, expiry: Date.now() + TTL[ttlKey] });
return data;
}
// Citations are stable (1hr). Evidence summaries update with new studies (30 min).
```
## Batch Operations
```typescript
async function fetchCitationsBatch(client: any, citationIds: string[], batchSize = 25) {
const results = [];
for (let i = 0; i < citationIds.length; i += batchSize) {
const batch = citationIds.slice(i, i + batchSize);
const res = await Promise.all(batch.map(id => client.getCitatio...
Details
- Author
- jeremylongshore
- Repository
- jeremylongshore/claude-code-plugins-plus-skills
- Created
- 7 months ago
- Last Updated
- today
- Language
- Python
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Featured
openevidence-observability
Observability for OpenEvidence. Trigger: "openevidence observability".
2,266 Updated today
jeremylongshore AI & Automation Solid
openevidence-cost-tuning
Cost Tuning for OpenEvidence. Trigger: "openevidence cost tuning".
2,266 Updated today
jeremylongshore AI & Automation Featured
openevidence-reference-architecture
Reference Architecture for OpenEvidence. Trigger: "openevidence reference architecture".
2,266 Updated today
jeremylongshore AI & Automation Featured
openevidence-data-handling
Data Handling for OpenEvidence. Trigger: "openevidence data handling".
2,266 Updated today
jeremylongshore AI & Automation Featured
openevidence-rate-limits
Rate Limits for OpenEvidence. Trigger: "openevidence rate limits".
2,266 Updated today
jeremylongshore