从单体架构到微服务 单体架构Web应用程序发展的早期,大部分web工程师将所有的功能模块打包到一起并放在一个web容器中运行,所有功能模块使用同一个数据库,同时,它还提供API或者UI访问的web模块等。 尽管也是模块化逻辑,但是最终它还是会打包并部署为单体式应用,这种将所有功能都部署在一个web容 ...
分类:
其他好文 时间:
2020-04-25 12:44:51
阅读次数:
55
1 线程开启方式 第一种:用Thread类创建线程对象 from threading import Thread import time def task(name): print('%s is running'%name) time.sleep(1) print('%s is over'%name ...
分类:
编程语言 时间:
2020-04-25 10:35:33
阅读次数:
74
containerd.io - daemon to interface with the OS API (in this case, LXC - Linux Containers), essentially decouples Docker from the OS, also provides co ...
分类:
其他好文 时间:
2020-04-25 01:04:18
阅读次数:
1466
Homebrew、gem、npm、yarn、bundle Homebrew - macOS 系统中管理软件与环境的命令行工具 打开终端执行 Homebrew 的指令,便可以轻松安装 Python,Node.js,Java,MySQL 等执行环境,安装 Chrome,WeChat 等海量的应用程序,接 ...
分类:
其他好文 时间:
2020-04-24 21:56:11
阅读次数:
107
kibana 管理 ElasticSearch 索引 1、进入 kibana 首页,点击 "连接到您的 Elasticsearch 索引" 2、点击左上角的 ElasticSearch 下的 ,进入管理界面 Spring Boot 集成 ElasticSearch 官方文档 "Elasticsear ...
分类:
编程语言 时间:
2020-04-23 23:04:27
阅读次数:
77
1. 在要跳转页面添加<Link to={{ pathname: `/staffManagement/cardRecord`, state: {time: YYYY-MM-dd, name: staffName} }}>text </Link> 2. 在跳转到的页面使用 this.props.loc ...
分类:
Web程序 时间:
2020-04-23 10:37:12
阅读次数:
111
1. 切换源 $ gem sources -l $ gem sources --remove https://rubygems.org/ $ gem sources -a https://ruby.taobao.org/ 2. 测试是否成功 gem sources –l 3.开始安装 rvm cur ...
分类:
其他好文 时间:
2020-04-22 22:58:08
阅读次数:
120
set linesize 200col file_name for a50select c.TABLESPACE_NAME,c.SEGMENT_SPACE_MANAGEMENT,d.sum_MB,d.free_MB,d.use_precent,c.EXTENT_MANAGEMENT from dba ...
分类:
数据库 时间:
2020-04-22 16:49:14
阅读次数:
96
一、环境搭建(window) 1、NodeJs,官网:http://nodejs.cn/ 2、Python2.7.4,用来构建前端包(特殊包需要py进行编译),官网:https://www.python.org/ 3、Ruby,用来构建sass(官网:https://www.sass.hk/),没有 ...
分类:
其他好文 时间:
2020-04-22 12:53:29
阅读次数:
55
基于补集最大值思想的排列组合。 就组合数列CombList写了文档,感觉跟ruby写的代码本身差不多。 组合数添加:文档 假设为C(n, m)模式。当前列表为@list,有m个元素。 @model是1~n所有整数构成的数组 delta数组是@model减去@list的所有元素。 @list从后往前找 ...
分类:
其他好文 时间:
2020-04-21 15:00:37
阅读次数:
64