allsource-core 0.19.1

High-performance event store core built in Rust
Documentation
# Rust Core Service Documentation

**Service**: allsource-core
**Language**: Rust
**Last Updated**: 2025-10-22

---

## ๐Ÿ“š Documentation Index

### Architecture
- [Clean Architecture Implementation]./architecture/CLEAN_ARCHITECTURE.md
- [Domain Layer Design]./architecture/DOMAIN_LAYER.md
- [Repository Pattern]./architecture/REPOSITORIES.md

### Development Guides
- [Getting Started]./guides/GETTING_STARTED.md
- [Testing Guide]./guides/TESTING.md
- [Performance Optimization]./guides/PERFORMANCE.md
- [Contributing]./guides/CONTRIBUTING.md

### API Reference
- [Event API]./api/EVENTS.md
- [Storage API]./api/STORAGE.md
- [Index API]./api/INDEX.md

### Changelog
- [Service Changelog]./changelog/CHANGELOG.md

---

## ๐Ÿ—๏ธ Current Architecture

```
src/
โ”œโ”€โ”€ domain/              โœ… Clean Architecture Layer 1
โ”‚   โ”œโ”€โ”€ entities/       - Pure domain entities
โ”‚   โ””โ”€โ”€ repositories/   - Repository trait abstractions
โ”œโ”€โ”€ application/         โœ… Clean Architecture Layer 2
โ”‚   โ”œโ”€โ”€ dto/           - Data Transfer Objects
โ”‚   โ””โ”€โ”€ use_cases/     - Business logic orchestration
โ”œโ”€โ”€ infrastructure/      โณ Clean Architecture Layer 3 (30%)
โ”‚   โ””โ”€โ”€ [to be organized]
โ””โ”€โ”€ [legacy modules]     โณ Being refactored
```

---

## โšก Performance

**Current (v1.0)**:
- Ingestion: 469K events/sec
- Query p99: 11.9ฮผs
- Concurrent writes: 7.98ms (8 threads)

**Target (v1.2)**:
- Ingestion: 1M+ events/sec
- Query p99: <5ฮผs
- Concurrent writes: <4ms

---

## ๐Ÿงช Testing

```bash
# Run all tests
cargo test --lib

# Run specific module tests
cargo test --lib -- domain::
cargo test --lib -- application::

# Run benchmarks
cargo bench --bench performance_benchmarks
```

**Current Status**: โœ… 86/86 tests passing (100%)

---

## ๐Ÿš€ Quick Start

See [Getting Started Guide](./guides/GETTING_STARTED.md)

---

## ๐Ÿ“– Related Documentation

- [Project Documentation]../../../docs/INDEX.md
- [Phase 1.5 Progress]../../../docs/roadmaps/2025-10-22_PHASE_1.5_PROGRESS.md
- [Clean Architecture Guide]../../../docs/current/CLEAN_ARCHITECTURE.md

---

**Navigation**: [Home]../../../README.md | [Architecture]./architecture/ | [Guides]./guides/ | [API]./api/