• Stars
    star
    132
  • Rank 274,205 (Top 6 %)
  • Language
    Go
  • License
    Other
  • Created over 3 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Lightweight Go SDK used as Proxyless Service Governance

Polaris Go

codecov Go goproxy Go Reference GitHub release (latest by date)

English | 简体中文

README:

Introduction

Polaris-go is golang SDK for Polaris. Polaris is an operation centre that supports multiple programming languages, with high compatibility to different application framework.

Polaris-go provide features listed as below:

  • Service instance registration, and health check

    Provides API on/offline registration instance information, with regular report to inform caller server's healthy status.

  • Service discovery

    Provides multiple API, for users to get a full list of server instance, or get one server instance after route rule filtering and loadbalancing, which can be applied to srevice invocation soon.

  • Service circuitbreaking

    Provide API to report the invocation result, and conduct circuit breaker instance/group insolation based on collected data, eventually recover when the system allows.

  • Service ratelimiting

    Provides API for applications to conduct quota check and deduction, supports rate limit policies that are based on server level and port.

How to use

polaris-go can be referenced by go mod, user can add dependency to go.mod file

go get -u github.com/polarismesh/polaris-go

API quick start guide,can reference:QuickStart

Examples

A polaris-examples module is included in our project for you to get started with polaris-go quickly. It contains an example, and you can refer to the readme file in the example project for a quick walkthrough.

Frameworks

Developers usually use HTTP or RPC frameworks to develop distributed service. Polaris SDK is already integrated into some development frameworks. If using these frameworks, you can enable Polaris Service Governance functions without using Polaris SDK directly.

More Repositories

1

polaris

Service Discovery and Governance Platform for Microservice and Distributed Architecture
Go
2,360
star
2

femas

Cloud native multi-runtime microservice framework
Java
448
star
3

polaris-java

Lightweight Java SDK used as Proxyless Service Governance
Java
135
star
4

polaris-controller

K8s Controller for K8s Service Sync and Polaris Sidecar Injection
Go
64
star
5

polaris-console

Console for Polaris
TypeScript
44
star
6

grpc-go-polaris

gRPC-Go integrates with Polaris Service Discovery and Governance
Go
42
star
7

polaris-java-agent

Polaris Java Agent for Spring Cloud and Dubbo
Java
37
star
8

polaris-cpp

Lightweight C++ SDK used as Proxyless Service Governance
C++
33
star
9

nginx-gateway

Nginx Gateway integrates with Polaris Service Discovery and Governance
C++
31
star
10

polaris-sidecar

Enhanced DNS and Proxy Service Mesh Solution for Polaris
Go
30
star
11

website

source for the polarismesh.cn site
JavaScript
18
star
12

polaris-php

PHP SDK based on polaris-cpp
C++
15
star
13

spring-boot-polaris

Spring Boot integrates with Polaris Service Discovery and Governance
Java
14
star
14

polaris-sync

sync tools from other to polaris
Java
13
star
15

grpc-java-polaris

gRPC-Java integrates with Polaris Service Discovery and Governance
Java
10
star
16

specification

Service Governance Specification
Rust
9
star
17

examples

Examples for Polaris
Java
9
star
18

polaris-limiter

Distributed Rate Limiting Server for Polaris
Go
7
star
19

dubbo-java-polaris

Dubbo integrates with Polaris Service Discovery and Governance
Java
7
star
20

grpc-rust-polaris

Rust Framework integrates with Polaris Service Discovery and Governance
Rust
6
star
21

polaris-lua

Lua SDK based on polaris-cpp
C
5
star
22

test

Auto test polaris with Tencent/spring-cloud-tencent and Tencent/qtaf
Python
5
star
23

polaris-rust

Lightweight Rust SDK used as Proxyless Service Governance
Rust
4
star
24

polaris-security

polaris-security is polaris submodule to provide authority and authentication ability to applications
Go
3
star
25

polaris-nodejs

NodeJS Client for Polaris
2
star
26

polaris-cleanup

polaris-cleanup runs as a daemon to cleanup the useless resources registered in polaris
Go
2
star
27

grpc-nodejs-polaris

grpc-node integrates with polaris-nodejs
1
star
28

polaris-bot

polaris ci bot
JavaScript
1
star
29

thrift-go-polaris

thrift-go integrates with polaris-go
1
star
30

polaris-python

Lightweight Python SDK used as Proxyless Service Governance Solution
1
star