GithubHelp home page GithubHelp logo

zhaozw / polaris Goto Github PK

View Code? Open in Web Editor NEW

This project forked from polarismesh/polaris

0.0 0.0 0.0 43.99 MB

Service Governance Center for Distributed and Microservice Architecture

Home Page: https://polarismesh.cn

License: Other

Shell 0.94% Go 98.43% PowerShell 0.35% Smarty 0.06% Batchfile 0.19% Dockerfile 0.03%

polaris's Introduction

Polaris: Service Discovery and Governance

Build Status

English | 简体中文


README:

Principle or user manual can visit website to learn more

Introduction

Polaris is a cloud-native service discovery and governance center. It can be used to solve the problem of service connection, fault tolerance, traffic control and secure in distributed and microservice architecture.

Functions:

  • basic: service discover, service register and health check
  • fault tolerance: circuit break and rate limit
  • traffic control: request route and load balance
  • secure: authenticate

Features:

  • It provides SDK for high-performance business scenario and sidecar for non-invasive development mode.
  • It provides multiple clients for different development languages, such as Java, Go, C++ and Nodejs.
  • It can integrate with different service frameworks and gateways, such as Spring Cloud, gRPC and Nginx.
  • It is compatible with Kubernetes and supports automatic injection of K8s service and Polaris sidecar.

Components

server:

client:

ecosystem:

others:

  • website: Source for the polarismesh.cn site
  • samples: Samples for Learning PolarisMesh

Getting started

Preconditions

Prepare database

Please download and install MySQL, version requirement >=5.7, download available here: https://dev.mysql.com/downloads/mysql/5.7.html

Import SQL script

Point Script: ./store/sqldb/scripts/polaris_server.sql, one can import through mysql admin or console.

Prepare golang compile environment

Polaris server end needs golang compile environment, version number needs >=1.12, download available here: https://golang.org/dl/#featured.

Build

chmod +x build.sh
./build.sh

After built, one can see 'polaris-server-release_${version}.tar.gz' package from the list.

Installation

Unzip package

Obtain polaris-server-release_${version}.tar.gz, and unzip.

Change polaris configuration

After unzipped, vi polaris-server.yaml, replace DB configuration's variable to real database information : ##DB_USER## (database username), ##DB_PWD##(database password), ##DB_ADDR##(database address), ##DB_NAME##(database name)

Execute Installation Script

chmod +x ./tool/*.sh
# install
./tool/start.sh
# test whether the process is successful 
./tool/p.sh

After all, run ./p.sh, prompt Polaris Server, proof the installation is successful

Verify installation

curl http://127.0.0.1:8090

Return text is 'Polaris Server', proof features run smoothly

How to access

Polaris supports microservices built with multi-language, multi-framework, multi-mode (proxyless / proxy) to access。

(1) multi-language access guide:

(2) multi-framework access guide:

(3) proxy mode access guide:

More access guide:Doc

User manual

Polaris function guide can refer:Manual

Chat group

Please scan the QR code to join the chat group.

Contribution

If you have good comments or suggestions, please give us Issues or Pull Requests to contribute to improve the development experience of Polaris Mesh.
see details:CONTRIBUTING.md

Tencent Open Source Incentive Plan encourages developers to participate and contribute. Look forward to your participation.

Stargazers over time

If you are interested in Polaris, please star and follow our project, thank you very much.

Stargazers over time

polaris's People

Contributors

andrewshan avatar chenhengqi avatar chenyukang avatar chuntaojun avatar daheige avatar dhbin avatar duc-cnzj avatar hitzhangjie avatar horizonzy avatar houseme avatar huyuanxin avatar lepdou avatar liu-song avatar liuxiaodong-colin avatar loadfly avatar magederek avatar mibc avatar nengjie avatar pemako avatar polaris-admin avatar quicksandznzn avatar ranchowang avatar samshan08 avatar shichaoyuan avatar skyebefreeman avatar xiaohongxiedaima avatar zhangzerui20 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.