~/talk

Workshop 2

Talkat CakeFest 2020 · 2020-10-08..10-09· [php, databases]
links:none on file
slides:none on file

Shows how CakePHP handles bulk import of a million users and two million file rows, comparing approaches and timings: chunking with lazy Collections and saveMany works up to ~10k but slows due to callbacks and memory; bypassing the ORM with Connection->newQuery()->insert plus the Table type map inserts orders of magnitude faster; uses PostgreSQL JSON operators, subselects to populate normalized tag and ON CONFLICT DO NOTHING upsert to avoid duplicates.

AI-written summary · about

  1. 0:00Start
  2. 9:39Jose Lorenzo
  3. 42:54Insert Query
  4. 56:11Csv Files
  5. 1:22:17Associate Text with Files
  6. 1:52:13Querying
  7. 1:54:52Custom Finders
  8. 2:04:56Alternative to Matching
  9. 2:09:19A Inner Join or a Sub Query Is Faster
  10. 2:11:20Giveaway
~/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.