~/talk

Using MySQL asynchronous calls to increase performance and user experience

links:none on file
slides:none on file

MySQL 5.6 still limits one query, one CPU core, so splitting heavy queries into parallel pieces using bash threads or PHP asynchronous calls runs many queries at once and behaves like MapReduce across CPUs or slaves. A complex 100 GB report that ran 15 minutes drops to about 8 minutes by running 24 background threads, and JavaScript/Ajax fetches counts asynchronously to show results immediately while async inserts defer logging so page load stays fast.

AI-written summary · about

  1. 0:00Asynchronous MySQL queries
  2. 1:46MySQL performance problems
  3. 5:22Synchronous execution
  4. 8:59Pagination with async queries
  5. 10:05Reporting with parallel threads
  6. 14:08Async logging for UX
  7. 15:43Summary & Q&A
~/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.