🚀 Feature Request
📝 Summary
Implement performance and load testing for EUDIPLO and document capacity benchmarks to help production planning and identify potential bottlenecks.
🎯 Problem Statement
Organizations evaluating EUDIPLO for production deployment need to understand its performance characteristics:
- Maximum transactions per second
- Response latency under load
- Resource consumption patterns
- Scalability limits
Currently, no performance testing or benchmark documentation exists.
💡 Proposed Solution
- Add load testing scripts using k6 or Artillery
- Test key scenarios:
- Credential issuance (pre-auth and auth code flows)
- Credential presentation (OID4VP)
- Status list operations
- API authentication throughput
- Document results in a new performance guide
- Add CI integration for performance regression testing
🔄 Alternatives Considered
- Manual testing: Not reproducible, no baselines
- Third-party benchmarks: Not specific to EUDIPLO use cases
- Production monitoring only: Reactive, not proactive planning
📋 Use Cases
- Production capacity planning
- Infrastructure sizing decisions
- Identifying performance bottlenecks before deployment
- Comparing performance across versions
- Validating performance after optimizations
🎨 Implementation Ideas
Load testing scripts (k6 example):
// scripts/load-test/issuance.js
import http from 'k6/http';
import { check } from 'k6';
export const options = {
stages: [
{ duration: '1m', target: 50 },
{ duration: '3m', target: 100 },
{ duration: '1m', target: 0 },
],
};
export default function () {
// Test credential issuance flow
}
Documentation structure:
docs/
deployment/
performance.md # New file
- Test methodology
- Hardware specifications
- Benchmark results
- Tuning recommendations
Metrics to capture:
- Requests per second (RPS)
- P50, P95, P99 latency
- Error rate under load
- CPU/memory utilization
- Database connection pool usage
🌍 Environment
Testing should cover:
- SQLite (development baseline)
- PostgreSQL (production)
- Different key management backends (db, vault)
- Single instance vs. scaled deployment
📋 Additional Context
- Existing monitoring stack:
monitor/ (Prometheus + Grafana)
- OIDF conformance tests exist but don't measure performance
- Consider integration with existing CI pipeline
✔️ Checklist
🚀 Feature Request
📝 Summary
Implement performance and load testing for EUDIPLO and document capacity benchmarks to help production planning and identify potential bottlenecks.
🎯 Problem Statement
Organizations evaluating EUDIPLO for production deployment need to understand its performance characteristics:
Currently, no performance testing or benchmark documentation exists.
💡 Proposed Solution
🔄 Alternatives Considered
📋 Use Cases
🎨 Implementation Ideas
Load testing scripts (k6 example):
Documentation structure:
Metrics to capture:
🌍 Environment
Testing should cover:
📋 Additional Context
monitor/(Prometheus + Grafana)✔️ Checklist