Google Introduces Service Weaver Framework
Written by Kay Ewbank   
Tuesday, 14 March 2023

Google has introduced Service Weaver, an open source framework for building and deploying distributed applications. Service Weaver allows you to write your application as a modular monolith and deploy it as a set of microservices.

Service Weaver consists of a set of programming libraries and a set of deployers. The programming libraries can be used to write an application as a single modular binary, using only native data structures and method calls. The deployers can then be used to configure the runtime topology of your application and deploy it as a set of microservices, either locally or on the cloud of your choosing.

serviceweaver

Google says that by decoupling the process of writing the application from runtime considerations such as how the application is split into microservices, what data serialization formats are used, and how services are discovered, Service Weaver aims to improve distributed application development velocity and performance.

servicemod

The developers say that Google has found that the overhead of maintaining multiple different microservice binaries with separate configuration files, network endpoints, and serializable data formats significantly slowed the pace of development of microservices-based applications. The microservices also made it harder to make cross-binary changes, and made APIs so difficult to change that it was easier to squeeze all of changes into the existing APIs rather than evolve them.

This drove a desire for a single monolithic binary to work with because monolithic binaries are easy to write, using only language-native types and method calls, and are easy to update and run. Service Weaver aims to provide the monolith-like ability to develop quickly with the scalability, security, and fault-tolerance of microservices.

The v0.1 release of Service Weaver includes core Go libraries used for writing applications; deployers used for running applications locally or on GKE, and a set of APIs that allow you to write your own deployers for any other platform.

Service Weaver is available now on GitHub.

serviceweaver

More Information

ServiceWeaver On GitHub

Related Articles

Google Open Sources Fully Homomorphic Encryption Transpiler

Latest Winners of Google Open Source Peer Bonus

Fully Homomorphic Encryption Comes To Linux

IBM Releases Fully Homomorphic Encryption Toolkit  

Google Releases Open Source Cryptographic Tool

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Gender Differences In Coding Style
13/11/2024

A novel investigation into the gender gap between men and women regarding coding ability was undertaken by Dr Siân Brooke. Her conclusion? There is a difference in the Python code [ ... ]



Apollo Adds REST APIs For GraphQL
29/10/2024

Apollo has added a simpler way to integrate REST APIs into a federated GraphQL environment. Available now in public preview, can be used to map REST API endpoints to their GraphQL schema using a decla [ ... ]


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info