~/talk

Graal: Using JVM libraries in Node.js

Talkat Build Stuff 2019 · 2019-11-13..11-15· [nodejs, webassembly]
links:none on file
slides:none on file

GraalVM + Truffle lets Node run JVM libraries by starting Node with --jvm and exposing a global Java object; synchronous Java calls work directly but block the event loop. A bcrypt Java lib integrates, warms to about 8,000 requests per second (roughly 50% slower than native), but concurrent logins collapse throughput. A thread-safe callback wrapper called bindCallback plus a worker queue is built to let JVM threads safely invoke JS and await a Promise; it works but adds complexity and operational risk.

AI-written summary · about

  1. 0:00Start
  2. 0:40Agenda
  3. 1:22Jvm Compiler Interface
  4. 7:24Jvm Interoperability
  5. 10:25Bcrypt
  6. 21:29Rabbitmq Push Api
  7. 22:25How To Do Callbacks Withdrawal
  8. 24:41Interface for a Message Queue
  9. 28:07Bind Callback
~/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.