一、Apollo调用过程 二、功能模块 ConfigService: 配置获取接口,配置推送接口,服务Apollo客户端(/services/admin...) AdminService:配置管理,修改发布接口,服务管理界面Portal Client:应用获取配置(支持实时更新,通过MetaServ ...
分类:
其他好文 时间:
2020-09-24 21:12:08
阅读次数:
48
今天好未来笔试的一个题:给定一个字符串,将其按组倒序。 - 输入:`hello world xyz` - 输出:`xyz world hello` ```js // log /** * 元素倒序 * @param str string字符串 输入字符串 * @return string{string... ...
分类:
编程语言 时间:
2020-09-24 20:59:45
阅读次数:
41
概述 定义 锁是计算机协调多个进程或线程并发访问某一资源的机制。 在数据库中,传统的计算机资源(CPU、IO、RAM)的争用外,数据也是一种供许多用户共享的资源。如何保证数据并发的访问的一致性、有效性是所有的数据库必须解决的一个问题,锁冲突也是数据库并发访问的性能的一个重要因素。从这个角度来说,锁是 ...
分类:
其他好文 时间:
2020-09-23 23:25:36
阅读次数:
38
.net里面的迭代器模式 yield return的使用以及执行规则 ...
切换到frame的三种方式: 1、id 2、name 3、标签名 # coding:utf-8 from selenium import webdriver # 实例化 driver = webdriver.Chrome() # 发起请求 driver.get("http://mail.163.co ...
分类:
其他好文 时间:
2020-09-21 11:55:13
阅读次数:
42
MySQL高级学习之表锁 参考文章: MySQL高级知识(十三)——表锁 1.概述 锁是计算机协调多个进程或线程并发访问某一资源的机制(避免争抢)。 在数据库中,除传统的计算资源(如 CPU、RAM、I/O 等)的争用以外,数据也是一种供许多用户共享的资源。如何保证数据并发访问的一致性、有效性是所有 ...
分类:
数据库 时间:
2020-09-18 17:11:17
阅读次数:
65
#include <cstdio> #include <vector> #include <iostream> #include <opencv2/core/core.hpp> using namespace std; using namespace cv; const double DELTAX ...
分类:
其他好文 时间:
2020-09-18 03:24:04
阅读次数:
26
get/psot 请求promise封装(common.js) //post请求 url:请求路径,请求header,params请求参数,app全局变量function networkpost(url, headers, params, app) { let promise = new Promi ...
分类:
微信 时间:
2020-09-18 02:04:47
阅读次数:
71
首先需要一个公共的返回响应类 package com.wd.common.response; import com.wd.common.exception.CodeMsg; import io.swagger.annotations.ApiModel; import io.swagger.annot ...
分类:
其他好文 时间:
2020-09-18 02:03:36
阅读次数:
32
问题: roroot@data-server /m/o/tengine [2]# ll 总用量 420K -rw-rw-r-- 1 root root 889 9月 5 2019 AUTHORS.te drwxrwxr-x 6 root root 4.0K 9月 5 2019 auto/ -rw-r ...
分类:
其他好文 时间:
2020-09-18 01:07:32
阅读次数:
86