微服务与远程方法调用的引入 RPC 指的是 Remote Procedure Call,即远程方法调用(也叫远程服务调用、远程过程调用),这也是微服务架构的前导篇,因为微服务里面远程服务之间就是通过 RPC 协议进行数据传输的。 在介绍 RPC 协议之前,我们先厘清几个概念:单体应用、微服务应用、本 ...
分类:
其他好文 时间:
2020-06-01 21:00:22
阅读次数:
75
When you change the name of the computer that is running SQL Server, the new name is recognized during SQL Server startup. You do not have to run Setu ...
分类:
数据库 时间:
2020-06-01 20:53:21
阅读次数:
104
Maven的pom.xml文件头信息如下: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="htt ...
分类:
其他好文 时间:
2020-06-01 00:57:18
阅读次数:
232
一、背景 项目中用到了多个第三方的SDK,其中有些外部服务是需要在AndroidManifest中配置的,并且通过形如android:process=":remote"配置单独的进程。如百度定位,对应service配置如下: <service android:name="com.baidu.loca ...
分类:
移动开发 时间:
2020-05-31 21:46:07
阅读次数:
119
官方文档: https://wiki.mikrotik.com/wiki/Manual:PPP_AAA on-up (script; Default: ) Execute script on user login-event. These are available variables that a ...
分类:
其他好文 时间:
2020-05-31 17:41:48
阅读次数:
87
#nignx方向代理 ##proxy_pass 字符串匹配情况 ####example 1: location /name/ { proxy_pass http://127.0.0.1/remote/; } proxy指定了uri,uri将会被代替,请求http://127.0.0.1/name/则 ...
分类:
其他好文 时间:
2020-05-31 15:56:32
阅读次数:
57
RSYNC Remote Synchronization(远程同步) 开源、高速的数据同步工具。 基本语法格式:rsync [选项] 源文件 目标文件 (更新的是后面的目标文件) 常用选项: -a 包含-rtplgoD -r 递归recursive,类似cp时的-r选项-d 不递归转移目录 -v 同 ...
分类:
系统相关 时间:
2020-05-31 14:33:01
阅读次数:
81
web.xml <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee ...
分类:
编程语言 时间:
2020-05-31 13:05:07
阅读次数:
153
背景 由于gitlab地址修改后导致本地仓库的远程仓库失效 解决办法 直接修改本地的远程仓库地址 - 进入项目地址git remote -v 查看旧地址 - 更新指令 git remote set-url origin newUrl 先删除后新增 - 删除旧地址 git remote rm orig ...
分类:
其他好文 时间:
2020-05-31 11:15:02
阅读次数:
307
First_AE_Cost.append({'Iteration':epoch,'first_ae_cost':cost1}) with open(os.path.join(self.params['logdir'], 'first_ae_cost.csv'),"w",newline="") as ...
分类:
其他好文 时间:
2020-05-31 09:22:28
阅读次数:
66