# Api::V1::NotificationsController#read

- **Period:** 12 May 11:07 UTC – 13 May 11:07 UTC
- **Throughput**: 0.03 / min
- **Average:** 27.4 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/notifications_controller.rb:25 | 10.41 | 1.0 | 37.98% | `Api::V1::NotificationsController#read` |
| sql | app/models/concerns/readable.rb:20 | 2.4 | 2.95 | 25.87% | `BEGIN UPDATE `notifications` SET `notifications`.`read_at` = ?, `notifications`…` |
| code | /var/www/oblyk/api/shared/bundle/ruby/2.6.0/gems/railties-6.0.3.6/lib/rails/engine.rb:525 | 2.84 | 1.0 | 10.36% | `Rails::Engine#call` |
| sql | app/models/notification.rb:100 | 1.89 | 1.02 | 7.05% | `SELECT COUNT(*) FROM `notifications` WHERE `notifications`.`user_id` = ? AND `n…` |
| sql | app/controllers/api/v1/api_controller.rb:26 | 1.68 | 1.0 | 6.14% | `SELECT `ip_black_lists`.* FROM `ip_black_lists` WHERE (block_expired_at <= NOW(…` |
| sql | app/controllers/api/v1/api_controller.rb:64 | 1.5 | 1.0 | 5.47% | `SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?` |
| sql | app/controllers/api/v1/notifications_controller.rb:38 | 1.43 | 1.0 | 5.22% | `SELECT `notifications`.* FROM `notifications` WHERE `notifications`.`user_id` =…` |
| redis | app/models/notification.rb:100 | 0.48 | 1.05 | 1.82% | `select` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135627/requests/Api::V1::NotificationsController%23read?range=1d)