自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Ron.Zheng

最反主流的行动不是抵制潮流,而是在潮流中不丢弃自己的独立思考.

  • 博客(11)
  • 资源 (25)
  • 收藏
  • 关注

原创 3、Spring技术栈-整合Log4j2

在2、Spring技术栈-博客系统整合Mybatis中我们整合了Mybatis,这篇文章我们主要介绍如何整合Log4j2以及相关配置。1、先了解log4j在应用程序中添加日志记录总的来说基于三个目的:监视代码中变量的变化情况,周期性的记录到文件中供其他应用进行统计分析工作;跟踪代码运行时轨迹,作为日后审计的依据;担当集成开发环境中的调试器的作用,向文件或控制台打印代码的调试信息。最普通的做法

2017-08-30 17:42:51 2563

原创 2、Spring技术栈-整合Mybatis

在1、Spring技术栈-博客系统基础架构中,我们基本上已经搭建好了博客系统的基本框架,但系系统,是需要链接数据库,和数据库进行数据交换的,所以本文我们将会告诉大家,在一个模块化的项目中,我们如何整合Spring+Mybatis来连接数据库并进行数据交换。首先我们需要说明的是,我们数据库采用的MySQL。1、SSM框架必备的依赖和解释 spring-core :spring的核心包,包含spri

2017-08-29 11:07:56 1455

原创 1、Spring技术栈-博客系统基础架构

最反主流的行动不是抵制潮流,而是在潮流中不丢弃自己的独立思考.大家好,我是Ron,苦逼程序员一枚,最近这段时间,经过深深的思考(我的天,感觉好装逼),我突然间发现,做程序员(不知道是说程序员还是工程师好,好纠结)已经有三个年头多一点点了,回首过去,突然发现以前的很多东西都已经离我渐行渐远,很多以前了如指掌,信手拈来的东西都已经和我似曾陌路,所以,从今天开始,我决定好好学习,天天向上。各位IT界的同

2017-08-25 17:42:26 855 4

转载 学会思考,而不只是编程

中国人常说“授之以鱼不如授之以渔”。如果说教授编程是授之以鱼,那么教授计算机科学就是授之以渔。为什么说学习计算机科学比学会编程要重要得多?来听听 Yevgeniy Brikman 的解释。现如今,似乎每个人都在学习编程:Bill Gates、Mark Zuckerberg和 Chris Bosh 这些名人在 Code.org 网站上告诉人们每个人都拥有编程的能力;CoderDojo 项目在世界各地大

2017-08-18 15:53:40 561 1

转载 什么是架构,什么是架构师?

从内心讲我真的不想回答架构具体需要做什么,架构师应该具体负责什么。因为从实际情况看, 在不同的系统层级,不同的需求下架构师的职责也会不同;从不同的技术角度看,架构师又是个变色龙,一时是技术的大拿,一时是技术的规划者,一时是技术团队的指挥者。那么如何回答,”什么是架构,什么是架构师“这个问题呢?这或许需要搞清楚另外一个问题—一名程序员如何走上架构师之路?我从许多朋友那里了解到了很多实际案例, 程序员走

2017-08-18 11:10:52 4620 1

原创 6. Zookeeper精要-内部工作原理

分布式系统要使用Zookeeper服务,就必须使用Zookeeper的Client libraries的API,对于大多数的编程语言,Zookeeper都有绑定的Client libraries可供使用,Client libraries的作用就是集成分布式应用程序和和Zookeeper服务。下图就是一个集成了Zookeeper服务的应用程序: Zookeeper服务可以运行两种模式:即Stan

2017-08-11 16:46:45 570

原创 5. Zookeeper精要-Zookeeper Watches

Zookeeper是为大型分布式应用程序所设计的可拓展、强中心化的一个服务,客户端访问此类的服务通常情况下都是通过轮训和拉取模式,但是在大型且复杂的分布式系统之中,拉取模式在拓展性方面都会有一定的局限性。为了解决这个问题,Zookeeper的设计者实现了一种客户端从Zookeeper服务端获取通知的一种机制代替了事件的轮训。这种机制类似于推送模式,通知被推送给已经在Zookeeper服务端注册的客户

2017-08-09 17:18:20 656

原创 4. Zookeeper精要-数据模型

1、znodes数据模型 Zookeeper允许分布式的进程通过数据寄存器的命名空间共享机制相互协调,命名空间看起来很像Unix的文件系统,在Zookeeper的命名规则中,数据寄存器就是所谓的znode,如图: 我们可以看到znode就类似于一个树形结构,通过给出的事例我们需要着重注意以下几点:根节点只有一个子节点/zoo,/zoo几点有三个子节点在Zookeeper树中,每个

2017-08-08 19:07:05 565

原创 3. Zookeeper精要-集群部署

在2. Zookeeper精要-单机多节点这篇文章中,我们已经阐述了单例模式下的Zookeeper的优缺点,也通过实例的方法介绍了在开发过程中,我们如何在一台机器上部署伪集群,今天我们来谈谈如何部署Zookeeper集群。 当然,在我们的学习过程中,集群的部署并不需要去购买几台机器,我们在自己的电脑上安装几个虚拟机,模拟集群即可,本实例我们在自己的电脑上安装3台虚拟机,模拟Zookeeper集群的

2017-08-05 14:04:58 602

原创 2. Zookeeper精要-单机多节点

在Zookeeper精要-standalone模式文章中我们有说到,如何安装Zookeeper,如何启动单例模式的Zookeeper实例,今天我们说一下如何部署Zookeeper的单机多节点。 1. 单例模式(Standalone)的缺陷 Zookeeper的单例模式的实例存在一个潜在的单点失效的风险,如果Zookeeper服务失败,整个使用该服务进行分布式调度的应用程序将会全面雪崩且停止运行

2017-08-04 16:58:17 1191

原创 1、Zookeeper精要-standalone模式

1. Zookeeper介绍 Apache ZooKeeper 是Apache 软件基金会的一个软件项目,他所解决的是在大型分布式系统中的调度问题,Zookeeper原先是由Yahoo开发的。 Zookeeper作为一个分布式和高可用的中心化的调度服务,运行在一个我们称之为Zookeeper集群的一个服务集群之中。分布式一致,组管理,Leader选举都通过这个服务所实现,因此在我们自...

2017-08-03 18:38:56 3872

cryptix.rar

cryptix的jar包,PGP加解密的时候可能会用到,因此共享与此。

2019-10-15

pgp加解密方法.rar

pgp加密工具类,供大家使用参考,如有问题,请留言评论。

2019-10-15

redis_distribute_lock.rar

Spring Boot整合Redis实现分布式锁实现Demo,模拟多线程库存扣减实例。

2019-05-31

@Conditional注解应用.rar

如何根据不同的条件来判定到底注入那个Bean,即@Conditional注解的用法实例代码

2019-05-16

PGP加解密工具类

PGP加密工具类,包含PGP文件加密解密,文本加密解密,PGP文件加密加签,文本加密加签。

2019-04-09

gpg4win-3.1.7

gpg4win是一款基于 GPG 的非对称加密软件。非对称加密方式,简单理解就是用公钥加密文件,用私钥解密文件。如果你需要发送加密信息,首先获取接收者的公钥,然后利用该公钥加密后传递,对方利用对应的私钥就可解密。也就是说,公钥是锁,私钥是钥匙。非对称加密方式很好地解决了传递机密信息的问题。

2019-04-09

Spring Boot整合Mybatis

Spring Boot整合MyBatis实现Restfull API实例,具体原理请参考笔者专栏Spring Boot从入门到精通

2018-04-12

京东区块链技术实践白皮书 pdf带标签

京东区块链技术实践白皮书,pdf带标签;文档描述区块链基础以及相关应用场景以及在京东的实践。

2018-03-30

dubbo微服务实战-博客系统源码

实现Spring整合Redis Sentinel实现缓存高可用,整合dubbo、zookeeper实现微服务高可用源码。

2017-11-17

分布式博客系统源码-Redis读写分离

整合Redis,使用Redis Master Slave Replication模式实现缓存数据读写分离。

2017-11-13

分布式博客系统源码

分布式博客系统源码,整合Dubbo、Zookeeper实现分布式,整合Redis实现数据缓存

2017-11-07

架构解密从分布式到微服务高清带书签.pdf

架构解密,从分布式到微服务高清带书签版本,了解分布式系统的研发流程以及所用到的中间件,学习分布式系统到微服务架构的演化过程。

2017-10-18

Deep Learning with Python.pdf

The field of Artificial Intelligence (AI), which can definitely be considered to be the parent field of deep learning, has a rich history going back to 1950. While we will not cover this history in much detail, we will go over some of the key turning points in the field, which will lead us to deep learning.

2017-09-13

模块化博客系统(Spring整合Mybatis)

模块化开发博客系统第二步,整合Mybatis

2017-08-23

博客系统基础结构

自我学习项目,博客系统基础结构搭建源码

2017-08-23

Spring Cloud 中文参考手册

Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智能路由,微代理,控制总线)。分布式系统的协调导致了样板模式, 使用Spring Cloud开发人员可以快速地支持实现这些模式的服务和应用程序。他们将在任何分布式环境中运行良好,包括开发人员自己的笔记本电脑,裸机数据中心,以及Cloud Foundry等托管平台。

2017-08-21

Spring Cloud 参考手册英文版

Spring Cloud provides tools for developers to quickly build some of the common patterns in distributed systems (e.g. configuration management, service discovery, circuit breakers, intelligent routing, microproxy, control bus). Coordination of distributed systems leads to boiler plate patterns, and using Spring Cloud developers can quickly stand up services and applications that implement those patterns. They will work well in any distributed environment, including the developer’s own laptop, bare metal data centres, and managed platforms such as Cloud Foundry.

2017-08-21

软件系统架构实战

Modern-day projects require software and systems engineers to work together in realizing architectures of large and complex software-intensive systems. To date, the two have been using their own concepts, techniques, methods, and tools when it comes to requirements, design, testing, maintenance, and evolution of these architectures. This book looks at synergies between the disciplines of software and systems engineering and explores practices that can help software and systems engineers work together more effectively as a unifed team.

2017-08-17

The Art of Scalability Scalable Web Architecture 2nd

Perhaps your company began as a brick-and-mortar retailer, or an airline, or a financial services company. A retailer creates (or buys) technology to coordinate and manage inventory, distribution, billing, and point of sale systems. An airline creates technology to manage the logistics involved in flights, crews, reservations, payment, and fleet maintenance. A financial services company creates technology to manage its customers’ assets and investments.

2017-08-12

[奥莱理] High Performance Browser Networking

The web browser is the most widespread deployment platform available to developers today: it is installed on every smartphone, tablet, laptop, desktop, and every other form factor in between. In fact, current cumulative industry growth projections put us on track for 20 billion connected devices by 2020—each with a browser, and at the very least, WiFi or a cellular connection. The type of platform, manufacturer of the device, or the version of the operating system do not matter—each and every device will have a web browser, which by itself is getting more feature rich each day.

2017-08-10

Spring Redis缓存实例

Spring集成Redis实现数据缓存

2017-01-13

spring.ws webservice

基于spring.ws的webservice实例

2017-01-09

环境监测系统演示文稿

基于环境监测系统的演示文稿,通过该演示文稿,可以明白环境监测系统的使用方法,仅供菜鸟使用

2013-04-02

嵌入式环境监测系统报告

基于STM32的嵌入式环境监测系统的报告

2013-04-02

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除