# Api::V1::NotificationsController#read

- **Period:** 26 Jun 20:16 UTC – 27 Jun 09:48 UTC
- **Throughput**: 0.01 / min
- **Average:** 19.1 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/api/v1/notifications_controller.rb:25 | 8.2 | 1.0 | 42.93% | `Api::V1::NotificationsController#read` |
| sql | app/models/concerns/readable.rb:20 | 1.4 | 3.0 | 21.99% | `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.1 | 1.0 | 10.99% | `Rails::Engine#call` |
| sql | app/models/notification.rb:100 | 1.3 | 1.0 | 6.81% | `SELECT COUNT(*) FROM `notifications` WHERE `notifications`.`user_id` = ? AND `n…` |
| sql | app/controllers/api/v1/api_controller.rb:26 | 1.1 | 1.0 | 5.76% | `SELECT `ip_black_lists`.* FROM `ip_black_lists` WHERE (block_expired_at <= NOW(…` |
| sql | app/controllers/api/v1/api_controller.rb:64 | 1.0 | 1.0 | 5.24% | `SELECT `users`.* FROM `users` WHERE `users`.`id` = ? LIMIT ?` |
| sql | app/controllers/api/v1/notifications_controller.rb:38 | 0.8 | 1.0 | 4.19% | `SELECT `notifications`.* FROM `notifications` WHERE `notifications`.`user_id` =…` |
| redis | app/models/notification.rb:100 | 0.33 | 1.2 | 2.09% | `select` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135627/requests/Api::V1::NotificationsController%23read?range=2026-06-26+20%3A16%3A09+UTC..2026-06-27+09%3A48%3A53+UTC)