Jamie's Blog

技术之路最公平也最残酷,没有捷径,需要日积月累,以及对技术永恒的热爱


  • Home

  • Tags11

  • Categories3

  • Archives5

  • About

  • Search

spring batch - single process & remote partitioning(multi instances)

Posted on 2019-07-21 In Microservice

Spring batch是轻量级,全面的批处理框架,旨在开发对企业系统日常运营至关重要的强大批处理应用程序。 Spring Batch负责大量记录,包括日志记录/跟踪,事务管理,作业处理统计,作业重启,跳过和资源管理。 它还提供更高级的技术服务和功能,通过优化和分区技术实现极高容量和高性能的批处理作 ...

Read more »

Spring Cloud (00) - Demo overview

Posted on 2019-07-15 Edited on 2019-07-16 In Microservice

Demo的介绍

本文主要通过一个小demo,来综合运用spring cloud系列技术,demo中主要包含如下模块/组建:

  1. Authorization service, 基于Spring Security Oauth2 + Spring Cloud Oauth2,提供集中授权服务,如Token 生成,校验等
  2. API gateway, edge service, 提供统一的对外访问接口,集成了oauth2 安全校验,Netflix Hystrix服务降级,依赖隔离,断路保护功能
  3. Service registry,基于Netflix Eureka的注册中心提供服务注册和服务发现功能
  4. Config service, 采用了 Spring cloud config + Spring Cloud Bus提供简单的配置中心
  5. Catalog service, 示例服务,模拟一个简单的商品服务目录,仅一维结构
  6. Inventory service, 示例服务, 模拟简单的商品库存服务
  7. Hystrix dashboard, 聚合hystrix的metrics监控展示
Read more »

Free CA Certs setup using Certbot + Docker + Nginx

Posted on 2019-07-14 In Infra

BackgroundLet’s Encrypt is a certificate authority that provides X.509 certificates for Transport Layer Security (TLS) encryption at no charge,The cer ...

Read more »

Linux network proxy setup for desktop and terminal

Posted on 2019-07-14 In Infra

背景介绍很多时候我们由于great firewall,我们无法访问某些网站,这时候就需要用到网络代理来应对一些比较urgent的case,本文主要会介绍如何使用Shadowsocks 和 Proxychain来 setup linux network proxy,这样在命令行下都可以起到代理和转发的 ...

Read more »

Harshicorp vault setup & Config

Posted on 2019-07-14 In Microservices

Install vault

  • Prepare docker-compose.yml, content as below (just a sample here, please don’t use it for production, there are more aspects should be considered)
Read more »
Jamie Zhang

Jamie Zhang

Jamie,Senior Software Engineer, Open source enthusiasts, PMP,Scrum master
5 posts
3 categories
11 tags
GitHub E-Mail
Creative Commons
© 2019 Jamie Zhang