Infrastructure
Phileas Benchmark includes integrated support for performance data visualization using OpenSearch and OpenSearch Dashboards.
OpenSearch Stack
The provided docker-compose.yaml defines a local environment for storing and analyzing benchmark results.
Services
- OpenSearch: A distributed search and analytics engine where benchmark results are stored.
- Port:
9200(API),9600(Performance Analyzer) - Authentication: Disabled for local testing (default admin password is
SuperSecretPassword_123).
- Port:
- OpenSearch Dashboards: A visualization tool to create charts and dashboards from the data in OpenSearch.
- Port:
5601
- Port:
Running the Stack
To start the infrastructure:
docker-compose up -d
To stop the services:
docker-compose down
Data Lifecycle
- Generation: Run the benchmark with the
jsonoutput format. - Indexing: Use
curlor the providedrun-and-index.shto send the JSON data to the OpenSearch Bulk API. - Visualization: Create an index pattern for
phileas_benchmarksin OpenSearch Dashboards to begin building visualizations.
Mappings
The phileas_benchmarks index uses specific mappings for optimized querying:
timestamp: Date (epoch_millis)run_id: Keywordphileas_version: Keyworddocument: Keywordredactor: Keywordworkload_millis: Longcalls_per_sec: Nested object containing throughput for various string lengths.