Python and pandas as back end to real-time data driven applications
summary
Built a web app using Python and pandas with a Flask + AngularJS front end, Hadoop for raw storage and postgress for serving. Logs shrink from 40 terabytes to 0.5 terabyte by hourly aggregation; a first iteration loads 3 GB into memory. Geospatial filtering uses vectorized NumPy operations and temporary tables to avoid giant IN lists. Query latency drops from ~20 minutes to 5–6 seconds (often milliseconds) and the system works for low-concurrency real‑time use.
AI-written summary · about
chapters (14)
- 0:00Real-time data applications
- 3:25Client project overview
- 7:23Big Data challenges
- 10:17Real-time retrieval with pandas
- 11:45Architecture: Flask and AngularJS
- 14:35Pandas operations
- 18:33Prototype with pandas
- 20:00Advantages and limitations of pandas approach
- 22:30Switching to PostgreSQL
- 23:12Geographical data handling
- 27:37Alternative databases
- 29:26PostgreSQL optimizations
- 31:56Data compression
- 33:01Q&A
related talks
34mSmall Big Data: using NumPy and Pandas when your data...
44mUsing Python with Hadoop to create production ready big data applications
34mPython as a Framework for Analytics and Growth Hacking
40mScaling Python - Bank Edition
14mKeynote: Scalable Python We Can Afford
47mBuilding Scalable Web Apps
01h 16mIntro to Data Analysis with Python Data-table
40mBeyond Pandas: The Great Python Dataframe Showdown
