• bitcoinBitcoin(BTC)$83,895.00-0.15%
  • ethereumEthereum(ETH)$2,694.09-0.65%
  • tetherTether(USDT)$1.000.00%
  • binancecoinBNB(BNB)$768.970.74%
  • rippleXRP(XRP)$1.510.37%
  • usd-coinUSDC(USDC)$1.000.00%
  • solanaSolana(SOL)$119.800.30%
  • tronTRON(TRX)$0.3386710.99%
  • zcashZcash(ZEC)$1,424.030.24%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.030.00%
  • HyperliquidHyperliquid(HYPE)$86.60-1.87%
  • dogecoinDogecoin(DOGE)$0.0951760.14%
  • chainlinkChainlink(LINK)$14.40-6.02%
  • moneroMonero(XMR)$540.97-0.06%
  • USDSUSDS(USDS)$1.000.06%
  • whitebitWhiteBIT Coin(WBT)$83.87-0.15%
  • cardanoCardano(ADA)$0.248423-1.09%
  • RainRain(RAIN)$0.012418-0.28%
  • leo-tokenLEO Token(LEO)$9.03-0.30%
  • stellarStellar(XLM)$0.227294-1.06%
  • nearNEAR Protocol(NEAR)$5.3211.61%
  • bitcoin-cashBitcoin Cash(BCH)$311.52-0.21%
  • uniswapUniswap(UNI)$8.91-1.55%
  • litecoinLitecoin(LTC)$67.42-1.84%
  • CantonCanton(CC)$0.125561-4.27%
  • avalanche-2Avalanche(AVAX)$11.19-3.22%
  • Ethena USDeEthena USDe(USDE)$1.00-0.01%
  • suiSui(SUI)$1.16-0.86%
  • hedera-hashgraphHedera(HBAR)$0.106515-9.37%
  • daiDai(DAI)$1.00-0.02%
  • USD1USD1(USD1)$1.00-0.02%
  • quant-networkQuant(QNT)$292.6413.10%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.50-4.80%
  • BittensorBittensor(TAO)$305.45-2.61%
  • shiba-inuShiba Inu(SHIB)$0.0000060.64%
  • tether-goldTether Gold(XAUT)$4,184.090.71%
  • crypto-com-chainCronos(CRO)$0.067622-4.25%
  • Global DollarGlobal Dollar(USDG)$1.000.00%
  • BitwayBitway(BTW)$1.07-18.09%
  • paypal-usdPayPal USD(PYUSD)$1.000.02%
  • Pump.funPump.fun(PUMP)$0.00577214.20%
  • EthenaEthena(ENA)$0.2570692.84%
  • okbOKB(OKB)$120.98-0.07%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • aaveAave(AAVE)$160.58-4.29%
  • OndoOndo(ONDO)$0.51-2.90%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • MemeCoreMemeCore(M)$1.04-2.53%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.15-0.06%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

Perplexity Introduces Photon: A Rust-Based Retrieval Engine That Cuts p99 Latency From 800 ms to 65 ms

September 30, 2026
in AI & Technology
Reading Time: 21 mins read
A A
Perplexity Introduces Photon: A Rust-Based Retrieval Engine That Cuts p99 Latency From 800 ms to 65 ms
ShareShareShareShareShare




Perplexity has released Photon, an in-house retrieval and ranking engine written in Rust. It replaces an open-source engine Perplexity had forked for its AI-native search stack. Photon now handles retrieval and ranking for all production traffic. It also powers a new Fast Search mode in the Perplexity Search API. Perplexity reports single-call latency of 160 ms at p50 and 230 ms at p95.

Is it deployable? Yes, as a hosted API. Set search_type: "fast" on POST /search and pay $1 per 1,000 requests. Photon itself is not open source, so the engine cannot be self-hosted.

YOU MAY ALSO LIKE

Sony Implements A Lottery System To Deal With The PS5 Pro Shortage In Japan

One Bad Prompt Took Down a Company’s Salesforce: RSA’s Jim Taylor on Agent ID and Taming the 4,000 Shadow AI Agents Hiding in Your Enterprise

Why Perplexity Replaced its Old Engine

The old engine hit 3 limits as the index grew:

  • Tail latency: Production p99 sat near 800 ms. The dataset exceeded RAM, so mlock was not an option. Cold reads triggered major page faults that stalled queries.
  • Merge spikes: During disk index fusion, p99 climbed to about 1.2 s for 10 to 15 minutes.
  • Slow recovery: Deploying and syncing an extra cluster could take more than a week. Recovery also raised the share of partial responses.

Perplexity team concluded that building from scratch was simpler and cheaper than maintaining its fork.

How Photon Works

A load balancer routes each request to a Photon broker. The broker fans out to a shard group and watches for timeouts. Each shard runs retrieval, initial ranking, and second-stage ranking. The broker then merges candidates and fetches key document fields.

  • Adaptive posting lists: Short lists sit inline within a single page. Longer lists split into blocks of fixed document ID ranges. Sparse blocks store sorted offset arrays and use galloping search. Dense blocks use bitmaps, so membership becomes a single bit lookup.
  • Budgeted traversal: A WAND-like algorithm splits lists into driving lists and probe lists. Cheap presence checks bound each candidate’s maximum score first. Exact term frequencies are read only when a candidate can clear the threshold.
  • Docblob records: Each document gets a compact record of frequencies, field masks, and positions. Terms use Elias-Fano encoding, so ranking decodes only the matched terms. Ranking a candidate needs just 1 lookup per document.
  • Batched async reads: Record offsets are known upfront, so disk reads go out in batches through io_uring. The cache checks the whole batch first. Readers take no locks, and eviction uses CLOCK instead of a shared LRU list.
  • Separate build and serve: Indexers build versioned shard indexes from YTsaurus tables on dedicated nodes. A controller rotates serving groups one at a time and warms caches with replayed search-log queries.

A full web index now builds in a single-digit number of hours.

Interactive Explainer: Inside Photon

‘;
resize();return;
}
var nb=Math.min(12,Math.max(3,Math.round(Math.log10(n)*2)));
var g=document.createElement(‘div’);g.className=”plist”;
for(var b=0;b=.5;
var el=document.createElement(‘div’);el.className=”blk “+(dense?’dense’:’sparse’);el.style.animationDelay=(b*45)+’ms’;
var h=”

Block “+(b+1)+’: ‘+(dense?’bitmap’:’offset array’)+’

‘;
if(dense){h+=’

‘;for(var k=0;k’;h+=’

‘;}
else{var c=Math.max(2,Math.round(bd*12)),o=0,arr=[];for(var k3=0;k3[‘+arr.join(‘,’)+’]

‘;}
h+=’

density ‘+Math.round(bd*100)+’%

‘;
el.innerHTML=h;g.appendChild(el);
}
box.appendChild(g);resize();
}
$(‘px-len’).addEventListener(‘input’,drawPL);$(‘px-den’).addEventListener(‘input’,drawPL);drawPL();

/* PANE 2: bounded traversal */
var C=[{id:’D1′,ub:.72,ex:.61},{id:’D2′,ub:.55,ex:.40},{id:’D3′,ub:.90,ex:.82},{id:’D4′,ub:.38,ex:.30},{id:’D5′,ub:.70,ex:.66},{id:’D6′,ub:.58,ex:.52}];
var idx,kept,reads;
function build2(){
idx=0;kept=[];reads=0;var h=””;
C.forEach(function(c){h+=”;});
$(‘px-cands’).innerHTML=h;$(‘px-st2′).innerHTML=’Exact frequency reads: 0 of 6. Press the button to start.’;$(‘px-step2’).disabled=false;resize();
}
function thr(){if(kept.length=C.length)return;var c=C[idx];var row=$(‘px-c’+c.id);var tag=row.querySelector(‘.tag’);
row.querySelector(‘.ub’).style.width=(c.ub*100)+’%’;var t=thr();var msg;
if(c.ub’+c.id+’: upper bound ‘+c.ub.toFixed(2)+’ cannot beat threshold ‘+t.toFixed(2)+’. Skipped without reading probe lists or exact frequencies.’;}
else{reads++;row.querySelector(‘.ex’).style.width=(c.ex*100)+’%’;kept.push(c);kept.sort(function(a,b){return b.ex-a.ex;});var out=null;
if(kept.length>3){out=kept.pop();var orow=$(‘px-c’+out.id).querySelector(‘.tag’);orow.className=”tag drop”;orow.textContent=”evicted”;}
if(!out||out.id!==c.id){tag.className=”tag keep”;tag.textContent=”retained (“+c.ex.toFixed(2)+’)’;}
msg=’‘+c.id+’: bound ‘+c.ub.toFixed(2)+’ clears threshold ‘+t.toFixed(2)+’, so Photon reads exact frequencies: score ‘+c.ex.toFixed(2)+’.’+(out?’ ‘+out.id+’ is evicted from the bounded set.’:”);}
idx++;setThr();
msg+=’
Exact frequency reads: ‘+reads+’ of ‘+idx+’ visited. New threshold: ‘+thr().toFixed(2)+’.’;
if(idx>=C.length){msg+=’ Traversal done: ‘+(C.length-reads)+’ of 6 candidates were pruned cheaply.’;this.disabled=true;}
$(‘px-st2’).innerHTML=msg;resize();
});
$(‘px-reset2’).addEventListener(‘click’,build2);build2();

/* PANE 3: batched reads */
var batch=[];var U=26;
function newBatch(){batch=[];for(var i=0;ithread

‘;segsOld.forEach(function(s){o+=”;});o+=’

Credit: Source link

ShareTweetSendSharePin

Related Posts

Sony Implements A Lottery System To Deal With The PS5 Pro Shortage In Japan
AI & Technology

Sony Implements A Lottery System To Deal With The PS5 Pro Shortage In Japan

September 30, 2026
One Bad Prompt Took Down a Company’s Salesforce: RSA’s Jim Taylor on Agent ID and Taming the 4,000 Shadow AI Agents Hiding in Your Enterprise
AI & Technology

One Bad Prompt Took Down a Company’s Salesforce: RSA’s Jim Taylor on Agent ID and Taming the 4,000 Shadow AI Agents Hiding in Your Enterprise

September 30, 2026
Don’t Throw Away Your Old Router — Do This Instead
AI & Technology

Don’t Throw Away Your Old Router — Do This Instead

September 30, 2026
The AI Industry Wants Models To Assist In Legal Battles, But Will They Help?
AI & Technology

The AI Industry Wants Models To Assist In Legal Battles, But Will They Help?

September 29, 2026
Next Post
SkiStar AB (publ) 2026 Q4 – Results – Earnings Call Presentation (OTCMKTS:SSKRF) 2026-09-30

SkiStar AB (publ) 2026 Q4 - Results - Earnings Call Presentation (OTCMKTS:SSKRF) 2026-09-30

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
Deterra Royalties Limited (DETRF) Discusses Acquisition of Royalty Interest in Santa Cruz Copper Project as Part of Growth Strategy Transcript

Deterra Royalties Limited (DETRF) Discusses Acquisition of Royalty Interest in Santa Cruz Copper Project as Part of Growth Strategy Transcript

September 29, 2026
How Powerful Of A Power Bank Do You Need To Safely Charge A Laptop?

How Powerful Of A Power Bank Do You Need To Safely Charge A Laptop?

September 27, 2026
U.K. fruit farm stands by its Titanic-themed slide for kids

U.K. fruit farm stands by its Titanic-themed slide for kids

September 27, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!