Project:1. Automatically discover the Nginx scheduler and the backend Apache built Web services cluster;2. Use custom parameters to monitor the data and rate of Nginx service on the scheduler;3. Use custom parameters to monitor the relevant statistics and rate data of the back-end Apache Service (optional)4. Develop a monitoring template for the Nginx Scheduler and the backend Apache
Spring Cloud official documentation Chinese version-service discovery: Eureka server, cloudeureka
Official documentation: http://cloud.spring.io/spring-cloud-static/Dalston.SR3/#spring-cloud-eureka-server
In this article, I did some tests in: http://git.oschina.net/dreamingodd/spring-cloud-preparation
Service Discovery
What does Spring cloud produce?According to this introduction of the official website, we can know that Spring cloud is a tool for developers, and the use of this tool is to help developers quickly develop a more general distributed system .(while tools include: Configuration management, service discovery, circuit breakers, routing, Micro Proxies, control bus, one-time tokens, global locks, leading election
I'm lazy. Directly on the diagram of the configuration fileWhere servicename is the service name,LoadBalancer is a load balancing strategy. For the flow control I write a 1s limit of 5 requests to do the test.The rest of the names will be OK.A prerequisite to using service discovery is consul. I this is for the test demo, the
1 What is Eureka?Eureka is a sub-module of Netflix that only needs to use the service's designator to access the service without modifying the configuration file of the service invocation. Functions similar to Dubbo's registry, such as zookeeper.Eureka adopts the CS design architecture, server-side Supervisor Service registration and
TML documents do not contain web service discovery information.Metadata contains reference that cannot be parsed: "http: // localhost: 6158/WCF-service/service. SVC ".Service http: // localhost: 6158/WCF-service/
"The hottest discovery" free cloud service Platform, AP pass through, Web Pass, esp8266,hex format data, Android One-click ConfigurationToday, leisure, release a free cloud server for everyone to test, first, see how to use it.1. Download the Esp8266 firmware and its download tools from the attachment first, asLink: Http://pan.baidu.com/s/1jI8iIwA Password: q6yz2. Open the Burn-write tool, select 0x0000 and
convenient than using curl.Https://www.consul.io/downloads_tools.htmlCalls can be made using many clients. The API is actually the same.
6, summary
The text of this text connection is: http://blog.csdn.net/freewebsys/article/details/56296013 not allowed to reprint without the Bo master.Bo main address is: Http://blog.csdn.net/freewebsys
Summed up, experience the next stand-alone version of the consul service.Just looked under the UI interface and added a Kev,value store.Download a Java or G
: Create Project EngineeringNew ProjectChoose Gradle HereDirect NextContinue NextFinally click FinishSecond: Create Eureka Service CenterSelect the project that you created in the first step, and right-click the new--->moduleSelect Spring Initializr, then nextEnter group, Artifact, and select Gradle Project, then nextSelect Eureka Server, then click NextEnter module name and finishI've got a couple of hooks in here, and then OK.Three: CodeThe code is
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.