01 - Real Estate Platform Architecture at Scale
How to separate property, listing and source, let a RESO feed in without trusting it, and paginate a long list at constant cost, with code that was run.
PropTech with executed code: listing data, valuation, BIM, sensors, mortgages, pipelines, agents, PostGIS, virtual tours, compliance, full-text search, H3 cells, vector tiles, time series, events and dynamic pricing.
This series collects 16 articles (approximately 238 minutes of total reading time), designed for a level Intermediate. The main topics covered are PropTech, real estate, IoT, BIM.
How to separate property, listing and source, let a RESO feed in without trusting it, and paginate a long list at constant cost, with code that was run.
How to build a property valuation model and measure its error with a time split, median ratio, COD and PRD from the IAAO standard, with executed code.
What an IFC file looks like and how to find clashes between BIM model elements without comparing every pair, with Python listings that were run.
How to make a building talk: MQTT topic schema, Modbus registers read without order or sign errors, and a thermostat with hysteresis. Listings were run.
How to model a mortgage case: a state machine with domain rules, amortisation in cents and statutory deadlines treated as data. Listings were run.
How to compute a real-time property market indicator: event time, watermark, duplicates and late events, with windows in TypeScript and in SQL.
How to build a property management agent that does not trust the model, and a wear detector that catches slow drift. Listings were run.
How to search properties by radius, proximity and neighbourhood with PostGIS: geometry or geography, GiST index, ST_DWithin, ST_Covers and swapped coordinates.
How a virtual property tour works: projecting 360-degree panoramas, placing hotspots and counting GPU memory, with listings that were run.
Dropping ethnicity from the model does not avoid discrimination in PropTech: a proxy experiment, the rules to know and a tamper-evident decision log.
Italian full-text search in PostgreSQL: unaccent, stemming, a GIN index, typos with pg_trgm and ranking, measured on 200,000 declared synthetic listings.
H3 cells to aggregate zone prices with a GROUP BY: resolutions, neighbours versus ST_DWithin, minimum sample size and pentagons, on synthetic data.
How to serve the listing map: vector tiles with ST_AsMVT, grid aggregation by zoom and a byte-for-byte comparison with GeoJSON, on synthetic data.
Monthly partitions, a BRIN index and a rollup are enough to keep a hundred sensors in PostgreSQL: the experiment measures sizes, query plans and retention.
A consumer killed halfway loses or duplicates alerts depending on the order of effect and offset: the experiment counts them and shows how to reach zero.
A naive regression estimates an elasticity ten times too small: a simulator shows the error, the guardrails and what the competition rules say.
Have you read all the articles? Check how much you've learned by taking this series' quizzes.