JULY 18, 2023

STATEFUL WEB SERVICE: A DISTRIBUTED LAMBDA FUNCTION FOR CLIENT-SERVER INTERACTIONS

Stateless PHP web services are widely used at Meta and they provide great developer experience. However, the stateless nature avoids the services to serve any real-time product experience since they cannot keep a persistent client-server connection or subscribe to server-side events and the constantly-changing data in the social graph. At Meta, we have built a stateful engine with a rich capability set, called BladeRunner, that can be leveraged by PHP developers to build interactive products between client and server where the server-side business logic resides in PHP. In practice, BladeRunner emulates a stateful PHP service such that product developers do not deal with complexities of maintaining long-lived connections and stateful services.

To help personalize content, tailor and measure ads, and provide a safer experience, we use cookies. By clicking or navigating the site, you agree to allow our collection of information on and off Facebook through cookies. Learn more, including about available controls: Cookies Policy