~/talk

Snunit Scaling Down Http Services with Native and Nginx Unit

Talkat Scala Italy 2023 · on Saturday, 2023-11-11· [scala, cloud-infrastructure]
links:none on file
slides:none on file

SNUnit is a Scala Native driver for NGINX Unit that uses libunit, IPC and shared memory to run external native app processes and offload TLS, static files and routing. Demo builds a Twitter clone (tapir/http4s/cask on top of SNUnit, SQLite via porcupine) and runs, with reported C app throughput ~100–150k req/s versus Ember JVM ~40k and Scala Native often ~70% of JVM. Configuration hot-reloads via JSON, Docker image is minimal, development uses JVM hot loop with native CI checks, but a few platform quirks remain.

AI-written summary · about

  1. 0:00Introduction to SNunit
  2. 1:04What is Scala Native
  3. 13:20Scala Native pros and cons
  4. 23:00What is Engine X Unit
  5. 34:08SNunit library internals
  6. 39:15Demo app overview
  7. 47:39Docker setup and deployment
  8. 51:31What's coming next
  9. 52:57Conclusion and use cases
  10. 55:27Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.