~/talk

Easier Microservice Persistence With Micronaut Data

Talkat Devnexus 2020 · 2020-02-19..02-21· [databases]
links:none on file
slides:none on file

Micronaut Data uses ahead-of-time compilation to generate repository SQL at compile time, eliminating runtime proxies and catching type errors early. Two flavors exist: JDBC flavor (manual updates) and JPA. Demo builds a Book entity, a CrudRepository with dynamic finders, a REST controller, and a bootstrap that saves four books; CRUD, search, DTO projection, pagination, and a transactional event that sends an SMS via RingCentral all work. Compiling to a GraalVM native image drops RAM from ~325MB to ~75MB in the presenter’s load test.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:25What is Micronaut Data
  3. 5:00How Micronaut Data works
  4. 8:14Creating domain model
  5. 10:01Repositories explained
  6. 13:21Building controller and bootstrap
  7. 22:17Custom queries with dynamic finders
  8. 32:59DTO projections and explicit queries
  9. 36:11Pagination support
  10. 38:20Native images with GraalVM
  11. 42:38Transactional events
  12. 46:57Connecting to real databases
  13. 50:25Summary and closing
~/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.