Blog

6 hours ago

How DoorDash Optimized Item Availability at Scale Using Elasticsearch

DoorDash's homepage item carousels needed to filter millions of items by availability in under 300ms. We couldn't call the menu service at request time (too much fan-out, too slow), so we indexed availability directly in Elasticsearch. We went through three schema iterations: nested documents (600ms), Gojek-style encoded time slots as terms (350ms but 6x storage), and finally range fields backed by BKD trees (250ms, baseline storage). The range approach won on both latency and storage.

Source: HackerNoon →


Share

BTCBTC
$72,172.00
1.55%
ETHETH
$2,214.37
1.59%
USDTUSDT
$1.00
0.01%
XRPXRP
$1.34
0.79%
BNBBNB
$601.58
0.02%
USDCUSDC
$1.000
0.01%
SOLSOL
$83.60
1.74%
TRXTRX
$0.319
0.56%
FIGR_HELOCFIGR_HELOC
$1.03
0.15%
DOGEDOGE
$0.0925
0.81%
USDSUSDS
$1.000
0.03%
WBTWBT
$52.70
0.15%
HYPEHYPE
$41.07
5.78%
LEOLEO
$10.13
0.07%
ADAADA
$0.251
0.11%
BCHBCH
$441.93
0.29%
LINKLINK
$8.99
2.7%
XMRXMR
$349.52
4.79%
ZECZEC
$381.73
21.21%
USDEUSDE
$1.000
0.02%