Skip to content
P

Phlocket

Phlocket was a failed attempt to make web3 lambda functions like aws that scale infinitely using socket protocol!

Created on 8th December 2024

•

P

Phlocket

Phlocket was a failed attempt to make web3 lambda functions like aws that scale infinitely using socket protocol!

The problem Phlocket solves

Currently web3 is too many chains and too complex for normal people and even developers. With pholocket I aimed to bridge that gap by making lambda functions in blockchains that autoscale based on load. The Idea was to have a friendly ui take the code from the developer inject this code into the template surrounding it by some boilerplate for metrics. Build an indexer node and metrics DB for the metric dashboard of the function.

As any sort of scaling from backend would introduce an centralization component which in a dapp does not make sense. So for better management I thought of having a master slave architecture where a master contract is responsible for scaling these contracts through a decentralized indexer network feeding data about network congesation. For capturing state synchronization across various contract we have state synchronizers which encode the eth state_diff for more important states user deploying the contracts have the option to put variables on the App Chain Gateway and enjoy the security of pre execution. Here's the architechture that I thought off (i cannot enter a picture ;-;)

Challenges I ran into

Wasn't able to find a good parser. So wrote the parser myself which took little bit longer than I anticipated also got to know. Had an amazing idea will be building it after

Tracks Applied (2)

Best Horizontally Scaled Application

The whole idea was orchestrated around horizontally scaling application in general.
Socket

Socket

Best use of pre-execution and abstracted composability

.
Socket

Socket

Technologies used

Cheer Project

Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.

Discussion

Builders also viewed

See more projects on Devfolio