Proposal Approved for Regulation on Commission's Initiative
In a significant move towards modernising blockchain development, Sui has adopted the Google Remote Procedure Call (gRPC) protocol for its APIs. This shift away from the traditional JSON-RPC format offers numerous advantages, particularly in terms of speed, scalability, and developer productivity.
Performance Boost with gRPC
GRCP's use of compact, efficient binary serialization makes it up to six times faster and less bandwidth-intensive than JSON-RPC's text-based JSON format. This performance boost is evident in Sui's beta version, where it offers advantages of speed, reliability, and instantaneity.
Real-time Streaming and Typed APIs
Unlike JSON-RPC, gRPC supports real-time bidirectional streaming, allowing immediate and continuous blockchain data updates. This feature is crucial for scalable Web3 applications. Furthermore, gRPC's use of Protocol Buffers enforces strong typing and automatic schema/code generation, decreasing developer errors and saving development time.
Load Balancing, Scalability, and Language Support
GRCP's architecture provides better load-balancing for high-traffic blockchain environments, enhancing robustness during large-scale transaction processing. It also offers multi-language support, enabling developers to build cross-platform blockchain apps more efficiently.
Sui's SubscriptionService Model and Industry Leadership
Sui's SubscriptionService model ensures secure and reliable data streams, further enhancing its appeal. The shift from JSON-RPC to gRPC is being led by Sui, and its use of gRPC is becoming an industry standard. Sui has established itself as a leader among several layer 1 rivals.
While JSON-RPC remains widespread for its simplicity, gRPC offers modern, production-ready features that better meet the demands of real-time blockchain data access and developer productivity. As Sui continues to innovate, it is clear that the future of blockchain development lies in more performant, developer-friendly APIs.
[1] Source: Sui Whitepaper (https://sui.io/whitepaper) [4] Source: gRPC vs JSON-RPC: A Comprehensive Comparison (https://medium.com/@bittorrent_chains/grpc-vs-json-rpc-a-comprehensive-comparison-72c0b89e584c)
- Sui's adoption of the gRPC protocol for its APIs offers significant advantages in both performance and scalability, as evidenced by its speed, reliability, and instantaneity during large-scale transaction processing, thanks to the use of compact binary serialization and bidirectional streaming features.
- The integration of gRPC in Sui's development provides numerous benefits over conventional data-and-cloud-computing technologies, including real-time blockchain data updates, strong typing, automatic schema/code generation, better load balancing, multi-language support, and a subscription service model that ensures secure and continuous data streams, thus positioning Sui as a leader in blockchain technology.