Slide 47
Slide 47 text
パフォーマンス⽐較
パフォーマンス計測の対象
今回は、⼩規模なサービスを想定
49個のオブジェクトをインジェクションし、その起動時間を計測
- Configuration: 3個(AppConfig, DatabaseConfig, CacheConfig)
- Logging and Monitoring: 3個(Logger, MetricsCollector, Tracer)
- Data Access: 5個(UserRepository, OrderRepository, ProductRepository, PaymentRepository, InventoryRepository)
- External Services: 5個(EmailService, SmsService, PaymentGateway, ShippingService, NotificationService)
- Authentication: 3個(AuthService, AuthorizationService, TokenService)
- Transaction and Persistence: 3個(TransactionManager, CacheManager, SessionManager)
- Business Logic Support: 5個(ValidationService, SerializationService, EncryptionService, CompressionService, FileStorageService)
- Event and Messaging: 3個(EventPublisher, MessageQueue, WebSocketService)
- Scheduling and Jobs: 2個(JobScheduler, TaskExecutor)
- Rate Limiting: 2個(RateLimiter, CircuitBreaker)
- Search and Indexing: 2個(SearchService, RecommendationService)
- Image and Media: 2個(ImageProcessor, VideoProcessor)
- API and HTTP: 2個(HttpClient, ApiGateway)
- Geolocation: 2個(GeocodeService, DistanceCalculator)
- Analytics: 2個(AnalyticsService, ReportGenerator)
- A/B Testing: 2個(FeatureFlagService, ExperimentService)
- Internationalization: 2個(TimeZoneService, LocalizationService)