Draymonder

Results 100 issues of Draymonder

# 简介 es 底层基于 Lucene 实现分布式检索, Lucene主要是做分词处理(有各种分词器) https://www.elastic.co/guide/cn/elasticsearch/guide/current/foreword_id.html ## 索引 ### 创建索引 如下创建`blog`的索引 ```js PUT blog { "settings": { "number_of_replicas": 1, "number_of_shards": 2 } } ``` 查看索引的配置 ```js GET blog/_settings...

- Google API Design, 培养一下工程素养,包括命名,向前兼容性,文档等科学做法 - CUDA是什么? https://www.youtube.com/watch?v=nRSxp5ZKwhQ - 了解一下深度学习,看一下元老级别的Alexnet - go https://golang.org/doc/effective_go.html - 了解etcd, 入门使用HDFS / HBase / MapReduce / Spark / Storm - MIT 6.824 熟悉Go使用、熟悉CSP编程模型 - Paper:...

- `kafka`依赖`zookeeper` - 所以也要部署`zookeeper`

devops

# 最简单的股票问题 只能允许一次买卖 ```c++ class Solution { public: int maxProfit(vector& prices) { int mx = 0; int mn = INT_MAX; int n = prices.size(); for (int i=0; i

coder

配置`k8s` pod 看到了`/etc/resolv.conf` 内容如下 ``` nameserver 10.96.0.10 search default.svc.cluster.local svc.cluster.local cluster.local options ndots:5 ```

network

## 环境配置 ### 系统环境 - 暂时环境为`Ubuntu 16.04 / 18.04` ### ubuntu 源配置 - 切换系统源为阿里源 https://blog.csdn.net/xiangxianghehe/article/details/80112149 ### 搜狗拼音输入法 - 搜狗拼音输入法 https://www.jianshu.com/p/c936a8a2180e ### vscode - 下载链接: https://code.visualstudio.com/ - vscode 中一个非常不错的主题 `Material Theme`,可以下载一下...

linux

# MySQL MySQL存储引擎 `InnoDB`, `MyISAM`, `Memory` ## 查看变量 - `SHOW VARIABLES LIKE 'default_storage_engine';` 默认存储引擎 - `SHOW VARIABLES LIKE 'max_connections';` 最大连接数 - `SHOW VARIABLES LIKE 'default%';` 支持模糊匹配 - `SHOW STATUS LIKE...

db

- redis集群搭建 https://github.com/bitnami/bitnami-docker-redis-cluster - redis-client lettuce: https://juejin.cn/post/6844903954778701832#heading-21

todo
middleware

# reference https://bbs.csdn.net/topics/380157924 宏速度快~没有类型限制,缺点是不灵活,不知对否- - 优点:可完成函数调用的功能,又能减少系统开销,提高运行效率。因为它是在预处理阶段即进行了宏展开,在执行时不需要转换,即在当地执行。 缺点:所占用的目标代码空间相对较大 PS:牺牲空间来换取时间

cpp