GithubHelp home page GithubHelp logo

drruisseau / zio-microservice Goto Github PK

View Code? Open in Web Editor NEW

This project forked from antonyshchenko/zio-http

0.0 1.0 0.0 1.25 MB

ZIO-powered microservices via HTTP and other protocols.

License: Apache License 2.0

Scala 91.63% JavaScript 6.91% CSS 1.46%

zio-microservice's Introduction

ZIO Microservice

Project Stage CI Release Issues Discord
Project stage Build Status Release Artifacts Average time to resolve an issue badge-discord

ZIO Microservice supports the features you need to be productive:

  • Endpoints. Define reliable and scalable endpoints concisely, type-safely, and composably.
  • Protocol-Agnostic. Deploy endpoints to any supported protocol, including HTTP and gRPC.
  • Stream-friendly. Handle requests and responses that are too big to fit in memory at once.
    • WebSockets
  • Introspection-friendly
    • Documentation. Generate documentation that is automatically in-sync with the endpoints.
    • Client. Interact with an endpoint type-safely from Scala without writing any code.
  • Middleware-friendly. Middleware is type-safe and compositional and can include built-in middleware or third-party middleware, or combinations.
    • Metrics/Monitoring. Built-in integration with ZIO Metrics.
    • Rate-limiting. Customizable rate-limiting with DDOS protection.
    • Logging. Request/response logging in Common Log format.
    • Via third-party libraries, pluggable authentication, authorization, persistence, caching, session management.
  • High-performance. Fastest functional Scala library.

Compared to the competition, ZIO Microservice features:

  • ZIO native
  • Beginner-friendly
    • Minimal / no type classes, implicits, or higher-kinded types
    • Highly discoverable API
    • Good type inference
    • Minimal jargon
  • Expert-friendly
    • Type-safe
    • No magic, edge cases, or surprises
  • GraalVM-ready
  • Fast performance
  • Composable

Protocols

ZIO Microservice supports the following protocols out-of-the-box:

  • HTTP
  • WebSockets
  • gRPC
  • Avro

Installation

Add in your build.sbt:

libraryDependencies += "dev.zio" %% "zio-web-core" % "<version>"

zio-microservice's People

Contributors

jdegoes avatar scala-steward avatar ioleo avatar zagyi avatar jaliss avatar vitaly-pushkar avatar isthatcentered avatar mgenereu avatar dependabot[bot] avatar adamgfraser avatar aesakamar avatar anovakovic01 avatar cyb3rn3t1c1an avatar saeltz avatar bmarinovic avatar brbrown25 avatar virusdave avatar mijicd avatar steinybot avatar landlockedsurfer avatar sideeffffect avatar ghostdogpr avatar saraiva132 avatar xplosunn avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.