MapReduce study
MapReduce is a programming model and an associated implementation for processing and generating big data sets with a parallel, distributed algorithm o[……]
SpringCloud Tutorial 2, producer, Eureka Client;SpringCloud系列教程2,生产者暨Eureka客户端
Spring Cloud项目需要服务注册到注册中心,然后可以被作为生产者被其他业务(消费者)调用。本文介绍如何将生产者注册到Eureka Server上。
Services should be registered to the registry center in Spring Clou[……]
SpringCloud Tutorial 3, the usage of Feign;SpringCloud系列教程3,Feign的使用
显然,Spring Cloud项目除了生产者,还需要有消费者,Spring CLoud提供了两种方式的消费者,Ribbon和Feign。本文介绍Feign的使用。
Obviously, there are not only producers but also consumers in Spr[……]
Obviously, there are not only producers but also consumers in Spr[……]
SpringCloud Tutorial 7, the usage of Spring Boot Admin;SpringCloud系列教程7,Spring Boot Admin的使用
显然,在微服务架构中,我们需要一个监控中心用于监控所有服务的状态,以及服务器资源占用,Spring社区提供了一个解决方案,Spring Boot Admin。
Obviously, we need a monitoring center to monitor the statuses of all[……]
Obviously, we need a monitoring center to monitor the statuses of all[……]
SpringCloud Tutorial 6, the usage of Spring Cloud Sleuth & Zipkin;SpringCloud系列教程6,Spring Cloud Sleuth 和 Zipkin的使用
显然,在分布式系统中,我们需要一个追踪系统,Spring Cloud提供了一个解决方案—— Spring Cloud Sleuth,它可以和Dapper,Zipkin或者HTrace一起使用。本文使用的是Zipkin,这是一个基于Google Dapper论文开发的一个开源分布式追踪系统,它被用[……]
SpringCloud Tutorial 4, the usage of Spring Cloud Config;SpringCloud系列教程4,Spring Cloud Config的使用
显然,在分布式系统中,为了方便修改程序的属性,我们需要一个配置中心,Spring Cloud提供了一个解决方案——Spring Cloud Config.
Obviously, in distributed systems, we need a config center to change th[……]
Obviously, in distributed systems, we need a config center to change th[……]
SpringCloud Tutorial 1,Eureka Server;SpringCloud系列教程1,Eureka Server
Spring Cloud是一个基于Springboot项目开发的,它为开发者快速开发分布式系统提供了一系列通用的工具。
Spring Cloud is built on Springboot, and it provides tools for the common patterns in[……]
SpringCloud Tutorial 5, the usage of Spring Cloud Gateway;SpringCloud系列教程5,Spring Cloud Gateway的使用
显然,在分布式系统中,为了将业务暴露给终端用户,同时平衡服务器压力,我们需要一个服务网关,Spring Cloud提供了一个解决方案—— Spring Cloud Gateway.
Obviously, in distributed systems, we need a gateway to ex[……]
Obviously, in distributed systems, we need a gateway to ex[……]
通过SMTP发送e-mail–Use SMTP to send emails
经常,我们需要在代码中实现发送邮件功能,我们可以通过SMTP连接邮件服务器,然后发送邮件,具体工具类如下:
Usually, we need to send e-mails in projects, we can use SMTP to connect to the mail server to[……]
Usually, we need to send e-mails in projects, we can use SMTP to connect to the mail server to[……]