Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Sample service using Node.js + gRPC + nact

NotificationsYou must be signed in to change notification settings

cuchi/kittens

Repository files navigation

Kittens Microservice

What

This is an example of a microservice application that implements a simple CRUD,built using Node.js + nact + gRPC.

Why

The sole purpose of this project is to use bleeding-edge technologies to build ascaffold of a microservice, which should be by default:

  • Safe
  • Performatic
  • Scalable
  • Resilient
  • Easy to build
  • Easy to understand
  • Easy to maintain
  • Flexible

How

Every piece of technology used in this repository can help the developer (you!)to achieve the goals above, let's see how:

  • Node.js provides a very powerful event-driven javascript runtime with agreat balance between performance and memory footprint.
  • Babel is used to compile the source code to run inside Node.js. The codeused in this project is the modern JavaScript (ES7) with custom operatorsthat enable easier and more idiomatic functional programming style.
  • nact implements the actor model of the good ol' Erlang. This is a veryefficient approach to handle concurrency of applications that are eitherstateful or stateless. Also, code decoupling comes for absolutely free.
  • gRPC is a minimalist high-performance RPC framework. It uses protocolbuffers, which are a great way to definetype-safe requisitions andresponses of microservices.

DISCLAIMER

The text above ismostly opinionated and this example is not meant to be ansilver bullet for everything. If some of this doesn't work for you, open anissue! Maybe we both can improve our knowledge :)

Checklist

  • .proto definitions
  • Initial CRUD
  • Tests
  • Docker
  • Travis CI

About

Sample service using Node.js + gRPC + nact

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp