Giter VIP home page Giter VIP logo

dapr-calculator's Introduction

dapr-calculator

rest-calculator-linkerd

This sample application is intended to help .NET developers has been developed to show case the differences between Dapr and Service Meshes. An equivalent calculator has been designed for Linkerd with both REST and gRPC (explore my repos to find them). The app is a calculator where each service is a single mathematical operation:

  • Division: this one throws from time to time a division by zero to let LinkerD catch and report them
  • Multiplication
  • Addition
  • Substraction
  • Percentage: this one calls Multiplication followed by Division

The MathFanBoy console generates traffic so as to randomly call one of these mathematical operations.

This app supports my blog post Decoding the Dynamics: Dapr vs. Service Meshes where I depict the major differences between Dapr and Service Meshes.

Prerequisites

To get this demo app up & running, you need the following:

  • A K8s cluster.
  • Install Dapr: read their documentation to get started.

Deploy to AKS (or any other K8s cluster)

All the container images are hosted on my personal Docker Hub repos, so you don't need to build anything yourself if you just want to see this in action. Just make sure to comply with the prerequisites.

curl -sL https://github.com/stephaneey/dapr-calculator-linkerd/blob/master/dapr-calculator.yaml \
  | kubectl apply -f -  

dapr-calculator's People

Contributors

stephaneey 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.