~/talk

Optimizing Backend API Performance

Talkat Conf42 Cloud Native 2025 · on Thursday, 2025-03-06· [microservices, web-performance]
slides:none on file

Describes concrete fixes: use HikariCP connection pooling to cut connect/close overhead, add @Cacheable for method results to eliminate repeated DB hits, switch logging to asynchronous (Logback/Log4j async appenders) to remove I/O blocking, and apply payload compression like gzip/brotli while balancing CPU cost. Explains pagination choices (offset vs cursor) with cursor preferred for large datasets, recommends monitoring with Prometheus and Grafana, and shows these measures measurably lower latency and DB load.

AI-written summary · about

  1. 0:00Introduction and Speaker Background
  2. 1:26Importance of API Performance
  3. 2:57Common API Performance Bottlenecks
  4. 5:18Solutions for API Performance Issues
  5. 5:43Pagination Techniques
  6. 7:17Asynchronous Logging
  7. 8:09Caching Strategies
  8. 9:23Payload Compression
  9. 10:53Connection Pooling
  10. 12:08Key Takeaways and Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.