/misk

Microservice Kontainer

Primary LanguageKotlinApache License 2.0Apache-2.0

Mutable.ai Auto Wiki

Overview

What is Misk

Misk (Microservice Container in Kotlin) is an open source microservice container from Cash App. It allows you to quickly create a microservice in Kotlin or Java, and provides libraries for common concerns like serving endpoints, caching, queueing, persistence, distributed leasing and clustering. It also includes the Wisp library, which is a collection of Kotlin modules providing various features and utilities, including config, logging, feature flags and more.

It has been powering hundreds of microservices within Cash App since 2018.

A Tour of Features

  • Server
    • Built on top of Jetty
    • HTTP/2 and gRPC support
    • Configurable through YAML
    • Service management through Guava
    • Web-based admin console
  • Client
    • Configurable HTTP clients built on top of OkHttp and Retrofit
    • gRPC clients built on top of Wire
  • Cloud integration
    • AWS: SQS, S3, DynamoDB
    • Google Cloud: Spanner
  • Scheduled Jobs with cron syntax
  • Persistence
  • Cache: redis client
  • Metrics:
    • Integration with prometheus
    • Built-in metrics for JVM performance, networking and connection pooling
  • Testing framework with annotations
  • Kotlin utilities with minimal dependencies: Wisp

What's Next?

Want to jump right into it? Check out our Getting Started Guide.

What to know more about each module, see Developer Guide.