~/talk

High-Performance Ingestion with Python and Swarm64DB

Talkat PyCon.DE 2017 · 2017-10-25..10-27· [databases, python]
links:none on file
slides:none on file

Hardware-accelerated PostgreSQL plugin Swarm64DB plus Python and async I/O aim to push real ingestion of ~40‑byte rows from synthetic ~900k/sec benchmarks into the millions. Using asyncpg/async IO, multiprocessing and an FPGA-accelerated plugin, measurements show peaks like 2.25M rows/s on earlier setups and up to ~24.5M rows/s with tuned config; code stays small (~90 lines), it works but the database and I/O remain the bottlenecks before the 30M/sec goal.

AI-written summary · about

  1. 0:00Start
  2. 2:54Big & Fast Data by Swarm64
  3. 5:19Some Big and Fast Data Use Cases
  4. 5:51Use-Case: Trading & Compliance
  5. 8:32So, what's the goal?
  6. 10:35Assumptions & Sequential Approach
  7. 12:26Multithreaded Ingestion
  8. 13:18Multiprocessed Ingestion
  9. 14:12Is this not going to work?
  10. 16:45Asynchronous Data Ingestion
  11. 17:28Results with Postgres 9.6
  12. 19:02Swarm64: System Architecture
  13. 21:09Processing Architecture
  14. 25:15Next level: aioprocessing & asyncpg
  15. 26:02Results with Swarm64DB 1.2
  16. 29:48End of Story
  17. 32:38Promising: asyncpg Benchmark
~/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.