Error - no supported modules(DPDK driver) are loaded [ 45.422045] VFIO - User Level meta-driver version: 0.3 Y Error - no supported modules(DPDK drive ...
分类:
Web程序 时间:
2020-11-18 13:28:47
阅读次数:
29
应网友要求,写一写连接池实现细节。一、如何通过连接访问下游工程架构中有很多访问下游的需求,下游包括但不限于服务/数据库/缓存,其通讯步骤是为:(1)与下游建立一个连接(2)通过这个连接,收发请求(3)交互结束,关闭连接,释放资源这个连接是什么呢,通过连接怎么调用下游接口?服务/数据库/缓存,官方会提供不同语言的Driver、Document、DemoCode来教使用方建立连接与调用接口,以Mong
分类:
其他好文 时间:
2020-11-18 13:05:10
阅读次数:
12
《“ID串行化”保证群消息顺序性》提到,可以通过连接池的改造,实现ID串行化,本篇讲讲连接池的原理,以及实现细节。通常如何通过连接访问下游?工程架构中有很多访问下游的需求,下游包括但不限于服务/数据库/缓存,其通讯步骤是为:(1)与下游建立一个连接;(2)通过这个连接,收发请求;(3)交互结束,关闭连接,释放资源;不管是服务/数据库/缓存,官方会提供不同语言的Driver、Document、Dem
分类:
其他好文 时间:
2020-11-16 13:57:11
阅读次数:
7
一、JDBC六个步骤 1.加载驱动 Class.forName(driver_class); 2.创建数据库连接 DriverManager.getConnection(url,user,password); 3.创建PreparedStatement PreparedStatement ps=co ...
分类:
数据库 时间:
2020-11-16 13:44:24
阅读次数:
52
1.加载驱动 Class.forName(driver_class); 2.创建数据库连接 DriverManager.getConnection(url,user,password); 3.创建PreparedStatement PreparedStatement ps=connection.pr ...
分类:
数据库 时间:
2020-11-16 13:44:12
阅读次数:
24
mongodb 官方的go驱动包 go.mongodb.org/mongo-driver 使用起来比较繁琐,最近对其进行了二次封装 github地址:https://github.com/w3liu/go-common/tree/master/store/mongo测试用例如下: func Test ...
分类:
数据库 时间:
2020-11-13 13:16:09
阅读次数:
40
https://blog.csdn.net/zhuyong006/article/details/89513526 ...
分类:
其他好文 时间:
2020-11-10 11:06:39
阅读次数:
64
Linux 从3.7.0 开始支持vxlan,到3.9.0 3.10.0 基本趋于稳定。 一下是一些配置命令关于如何在kernel配置vxlan 实例: ip link add vxlan1 type vxlan id 1 local 172.31.0.106 remote 172.31.0.107 ...
分类:
系统相关 时间:
2020-11-07 16:18:22
阅读次数:
25
using System.Runtime.InteropServices; #region/// <summary> /// 取exe文件绝对路径 /// </summary> /// <param name="hModule"></param> /// <param name="lpFileNam ...
一、webdriver常用API 01 获取类 - 包名: current_package- 启动:current_activity- 上下文环境:contexts 返回列表 driver.属性名 02 安装卸载 - 安装: install_app(安装包路径)- 卸载: remove_app(安包 ...
分类:
移动开发 时间:
2020-11-04 18:27:07
阅读次数:
21