Home page
Question and answer
column
The lecture hall
More and more

  • position
  • activity
  • The label
  • The badge

SegmentFault

  • Home page
  • Question and answer
  • column
  • course
  • circle
  • found
    • activity
    • The label
    • Cool job
    • list
    • The badge
    • notes
    • Development manual
    • advertising

  • Login immediatelyFree registration

Build microservices based on GO

Go based microservice architecture (7) – Service discovery and load balancing

  • The Skinny Duck was released on May 18, 2018
  • 5 the collection

This article will focus on two important parts of the microservice architecture: service discovery and load balancing. And how do they help us with the horizontal expansion capacity we often ask for in 2017

Go based micro-service construction (6) – Health check

  • The Skinny Duck was released on May 18, 2018
  • 3 collection

As our microservices became more and more complex, it was important for Docker Swarm to know if our services were working well or not. Let’s take a look at how to view service health. For example, our AccountService service would be useless if it could not serve HTTP or linked databases. The best thing to do is to provide a…

Docker Swarm is used to build microservices based on Go

  • The Skinny Duck was released on May 18, 2018
  • 5 the collection

For this part, we start our AccountService, which runs in a local Docker Swarm cluster. While discussing several important concepts of container deployment, this blog post focuses on the following:

Go microservices Build (IV) – test and mock with GoConvey

  • The Skinny Duck was released on May 18, 2018
  • 2 the collection

Chapter 4: Testing and Mocking with GoConvey How should we test microservices? What are the special challenges? Unit Tests Unit Tests using Goconey to write behavior patterns mocking techniques Are introduced here. There is no base test because this chapter will not change core service code, mocking techniques are not included in this chapter.

Practice course of Building micro-services based on GO (III)

  • Thin And Thin Duck was released on May 07, 2018
  • 4 collection

In section 3, we want our AccountService to do something useful. Declare an Account structure to embed a store of key-value pairs, used to store the Account structure serialized as JSON, and used in our accounts/{a…

Practice Tutorial of Building microservices based on GO (II)

  • The Skinny Duck was released on May 06, 2018
  • 5 the collection

In the second part, we will: build the Go project to write our first microservice using Gorilla component to provide JSON response to HTTP requests. We will start with the microservice foundation, and then build on our Docker Swarm to introduce internal requests as well.

Practical Tutorial on Building Microservices based on GO (Overview)

  • The Skinny Duck was released on May 5, 2018
  • 29 collection

The company turned to a whole new payment system, which it plans to do with Golang’s microservices. So on the Internet to find a tutorial, found that the Chinese tutorial is not very systematic, so found this one, their practice down, feel moderate depth, clear explanation, step by step can follow down, the…

Practice Tutorial of Building microservices based on GO (I)

  • The Skinny Duck was released on May 5, 2018
  • 33 collection

The diagram below is an overview of the project we will be building. We’re going to start writing our first microservice and then we’re going to work our way through this diagram.

Article 8



  • golang
  • Micro service
  • Architecture design
  • microservice
  • restful
  • rest
One author

Thin duck

Bo view and about to take, thick and thin hair

Subscribe to this page’s RSS feed

product
Popular answers
Popular column
Most popular courses,
The latest activity
Technology circle
Cool job
Mobile client
course
Java Development Courses
PHP Development Course
Python Development Courses
Front-end development course
Mobile Development Courses
resources
Weekly well-chosen
User leaderboard
The badge
Help center
Reputation and Authority
Community Service Center
cooperation
About us
advertising
job
The lecturer to recruit
Contact us
Focus on
Product Technical log
Community Operation Log
Market operation log
The team log
Community interview
  • WeChat
  • Sina weibo
  • Github
  • Twitter
The terms of
The terms of service
Privacy policy

Scan to download the App



Zhejiang ICP 15005796-2
Zhejiang Public security 33010602002000

CDN storage service is sponsored by Youpaiyun

Mobile version Desktop version

Back to the top