Skip to content

twitter/stitch

Stitch

Stitch is a Scala library for elegantly and efficiently composing RPC calls to services. It can:

  • automatically batch multiple requests to the same data source
  • request data from multiple sources concurrently
  • support existing service interfaces

Microservices are often riddled with hand-written code for managing bulk data access. Instead of requiring you to deal with every service's idiosyncratic bulk (or single item) interface, Stitch allows you to program in terms of single items while it handles batching and concurrency for you.

Stitch will feel familiar to anyone who works with Futures or promises.

Status

This project is used in production at X.

Getting started

We are not currently publishing builds of this library, but the repository can be cloned and built locally.

Developing Stitch

First clone the repository. Then run the sbt wrapper script, which will install sbt and the appropriate Scala version.

You can now run tests with ./sbt test, or build a binary with ./sbt assembly.

Getting involved

Documentation improvements are always welcome, so please send patches our way.

Contributing

See CONTRIBUTING.md for more details about how to contribute.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages