[{"data":1,"prerenderedAt":209},["ShallowReactive",2],{"compare:/compare/pubnub":3},{"id":4,"title":5,"body":6,"description":201,"extension":202,"meta":203,"navigation":204,"path":205,"seo":206,"stem":207,"__hash__":208},"compare/compare/pubnub.md","NoLag vs PubNub",{"type":7,"value":8,"toc":192},"minimark",[9,13,17,20,25,113,117,139,143,154,158,169,173],[10,11,5],"h1",{"id":12},"nolag-vs-pubnub",[14,15,16],"p",{},"PubNub is a realtime messaging platform known for pub/sub at scale, presence, and serverless Functions for handling events. NoLag shares the realtime pub/sub foundation and adds two things: blueprint SDKs for common app patterns, and a coordination layer built for AI agents.",[14,18,19],{},"Short version: if you want large-scale messaging with serverless event handlers, PubNub is a strong fit. If your focus is shipping realtime features quickly, or coordinating AI agents, NoLag is built for that.",[21,22,24],"h2",{"id":23},"at-a-glance","At a glance",[26,27,28,43],"table",{},[29,30,31],"thead",{},[32,33,34,37,40],"tr",{},[35,36],"th",{},[35,38,39],{},"NoLag",[35,41,42],{},"PubNub",[44,45,46,58,69,80,91,102],"tbody",{},[32,47,48,52,55],{},[49,50,51],"td",{},"Core model",[49,53,54],{},"Realtime pub/sub over WebSocket",[49,56,57],{},"Realtime pub/sub messaging",[32,59,60,63,66],{},[49,61,62],{},"High-level SDKs",[49,64,65],{},"Blueprints for chat, notify, feed, dashboards, tracking, sync, and more",[49,67,68],{},"Pub/sub, presence, Functions",[32,70,71,74,77],{},[49,72,73],{},"AI-agent coordination",[49,75,76],{},"Built in: dispatch, share state, observe, approve",[49,78,79],{},"Not a focus",[32,81,82,85,88],{},[49,83,84],{},"Server-side logic",[49,86,87],{},"Webhooks and topic configs",[49,89,90],{},"Serverless Functions",[32,92,93,96,99],{},[49,94,95],{},"Authentication",[49,97,98],{},"Actor tokens with per-topic ACL; short-lived browser JWTs minted offline",[49,100,101],{},"Access Manager grants",[32,103,104,107,110],{},[49,105,106],{},"SDKs",[49,108,109],{},"JavaScript/TypeScript, Go, Python",[49,111,112],{},"Client and server libraries across many languages",[21,114,116],{"id":115},"where-nolag-is-different","Where NoLag is different",[118,119,120,128,134],"ul",{},[121,122,123,127],"li",{},[124,125,126],"strong",{},"Blueprint SDKs."," Ship chat, notifications, dashboards, and tracking with a domain-specific API instead of assembling primitives.",[121,129,130,133],{},[124,131,132],{},"A coordination layer for AI agents."," Dispatch work, share state, observe decisions, and gate actions with human approval, on the same infrastructure as your app.",[121,135,136],{},[124,137,138],{},"One platform for agents and humans.",[21,140,142],{"id":141},"where-pubnub-is-a-strong-fit","Where PubNub is a strong fit",[118,144,145,148,151],{},[121,146,147],{},"Proven at very large messaging scale.",[121,149,150],{},"Serverless Functions for in-stream event processing.",[121,152,153],{},"Broad official SDK coverage.",[21,155,157],{"id":156},"when-to-choose-nolag","When to choose NoLag",[118,159,160,163,166],{},[121,161,162],{},"You are building AI-agent features and want coordination primitives.",[121,164,165],{},"You want higher-level SDKs to move faster on common patterns.",[121,167,168],{},"You want a single realtime platform for both humans and agents.",[21,170,172],{"id":171},"try-it","Try it",[14,174,175,176,181,182,186,187,191],{},"Follow the ",[177,178,180],"a",{"href":179},"/docs/getting-started","5-minute quick start",", then explore the ",[177,183,185],{"href":184},"/docs/high-level-sdks","high-level SDKs"," and the ",[177,188,190],{"href":189},"/docs/agents","AI agents"," guide.",{"title":193,"searchDepth":194,"depth":194,"links":195},"",2,[196,197,198,199,200],{"id":23,"depth":194,"text":24},{"id":115,"depth":194,"text":116},{"id":141,"depth":194,"text":142},{"id":156,"depth":194,"text":157},{"id":171,"depth":194,"text":172},"NoLag vs PubNub: both deliver realtime messaging at scale. NoLag adds a coordination layer for AI agents and blueprint SDKs for chat, notifications, and dashboards.","md",{},true,"/compare/pubnub",{"title":5,"description":201},"compare/pubnub","lp4qzIBXNE2a7x4qAbZ_IxnwaMK0W_WsiWg7EWoguSY",1788160342000]