Caching Zones定义缓存空间proxy_cache_path /var/nginx/cache #缓存空间路径keys_zone=CACHE:60mlevels=1:2inactive=3h #缓存时长,3小时内没有被再次请求就会被释放max_size=20g;proxy_cache CA ...
分类:
其他好文 时间:
2020-05-21 19:12:36
阅读次数:
55
word2vec简介 word2vec工具主要包含两个模型:跳字模型(skip gram)和连续词袋模型(CBOW),以及两种高效训练的方法:负采样(negative sampling)和层序softmax(hierarchical softmax)。word2vec词向量可以较好地表达不同词之间的 ...
分类:
编程语言 时间:
2020-05-19 18:20:51
阅读次数:
58
作者:ramostear https://www.jianshu.com/p/f4126ee58df1 本次内容主要介绍基于Ehcache 3.0来快速实现Spring Boot应用程序的数据缓存功能。在Spring Boot应用程序中,我们可以通过Spring Caching来快速搞定数据缓存。 ...
分类:
编程语言 时间:
2020-05-19 10:34:50
阅读次数:
64
以oe2.8 为例,剖析一下画等高线的过程, 在新版本的OE中, 替换为一个visibleLayer. 先看初始化过程 void ContourMap::init() { // negative means unset: _unit = -1; // uniforms we'll need: _xf ...
分类:
其他好文 时间:
2020-05-15 11:58:12
阅读次数:
99
Description: Given a non-negative integer num represented as a string, remove k digits from the number so that the new number is the smallest possible ...
分类:
其他好文 时间:
2020-05-15 00:34:42
阅读次数:
86
近日 Redis 6.0.0 GA 版本发布,这是 Redis 历史上最大的一次版本更新,包括了客户端缓存 (Client side caching)、ACL、Threaded I/O 和 Redis Cluster Proxy 等诸多更新。
我们今天就依次聊一下客户端缓存的必要性、具体使用、原理分... ...
分类:
其他好文 时间:
2020-05-11 21:53:34
阅读次数:
76
题目 You are given a positive integer N(1≦N≦1e18). Find the number of the pairs of integers u and v(0≦u,v≦N) such that there exist two non-negative inte ...
分类:
其他好文 时间:
2020-05-11 13:07:17
阅读次数:
68
介绍 dns域名信息收集工具 帮助文件 root@kali:~# dnsenum --help dnsenum VERSION:1.2.6 Usage: dnsenum [Options] <domain> [Options]: Note: If no -f tag supplied will de ...
分类:
编程语言 时间:
2020-05-09 16:50:04
阅读次数:
92
传输层 [TOC] 可靠传输层模型 信赖底层协议,认为底层协议是可靠的,但是实际上底层协议IP层是不可靠协议 在1.0的基础上加上了 ACK :positive acknowledgments NCK :negative acknowledgments ARQ包括: 错误校验( Error dete ...
分类:
其他好文 时间:
2020-05-09 15:31:14
阅读次数:
144
查询慢,通过增加缓存进行https://my.oschina.net/sdlvzg/blog/1608871 @CacheConfig:主要用于配置该类中会用到的一些共用的缓存配置。 @Cacheable:主要方法返回值将被加入缓存。同时在查询时,会先从缓存中获取,若不存在才再发起对数据库的访问。 ...
分类:
其他好文 时间:
2020-05-07 19:31:24
阅读次数:
67