Skip to content

Tags

#spring

Posts tagged #spring on Dynamo Geeks: 3 posts from the community, most useful first.

3 posts

Posts tagged #spring

  1. Article

    N+1 no JPA: como achei 1.201 queries numa tela de listagem (e matei com 3 linhas)

    semana passada o DBA abriu chamado: "a tela de pedidos tá derrubando o Postgres, precisamos aumentar a instância". eu fui olhar antes de alguém gastar dinheiro. a tela lista 600 pedidos com o nome do cliente e a quantidade de itens. coisa simples. liguei o log de SQL e fui pegar um café. quando voltei o terminal ainda tava rolando kkkkk como achar # application.properties logging.level.org.hibernate.SQL=debug…

    Caio Nascimento10likes10comments

  2. Article

    Spring Boot 2.7 to 3.3 on a European bank project: what actually broke (it was not just javax)

    Our client, a mid-size bank in Europe, got a finding from their security team: Spring Boot 2.7, open source support ended in November 2023, upgrade. So our team of 7 in Pune got the job. 41 Maven modules, Oracle database, a partner integration in Frankfurt, and a change advisory board that meets once a week. Here is what broke, in the order we found it. 0. Java 17 first, separately Boot 3 needs Java 17. We moved…

    Omkar Joshi27likes11comments

  3. Article

    Kotlin coroutines in a Spring service: three leaks we shipped and what structured concurrency fixed

    We run our routing service in Kotlin on Spring Boot. Coroutines were introduced two years ago by enthusiastic people, including me. Here are the three mistakes we made, all of them explained in the kotlinx.coroutines docs, which none of us had read properly. Hence the topic. 1. GlobalScope for fire-and-forget fun ship(order: Order) { GlobalScope.launch { auditClient.record(order.id, "shipped") }…

    Bram Verhoeven22likes9comments

Get the best of Dynamo Geeks weekly

One email each Monday with the most useful posts. No spam; unsubscribe in one click.