• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






金天黑日

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 35 下一页

2023年1月31日

elasticsearch-head-master安装
摘要: 1 简介 elasticsearch-head是一款专门针对于elasticsearch的客户端工具,elasticsearch-head是一个基于node.js的前端工程 2 依赖 需要安装nodejs和grunt。运行elasticsearch-head会用到grunt,而grunt需要npm包 阅读全文
posted @ 2023-01-31 14:34 金天黑日 阅读(238) 评论(0) 推荐(0)
 

2023年1月30日

windows环境下安装es和kibana以及ik分词器
摘要: 1 ES安装 1.1 下载地址 https://www.elastic.co/cn/downloads/elasticsearch 1.2 版本选择 注意选择合适的版本,ES依赖于JDK,需要有对应的jdk。 es和jdk是一个强依赖的关系,在新版本的ElasticSearch压缩包中包含有自带的j 阅读全文
posted @ 2023-01-30 14:11 金天黑日 阅读(1815) 评论(0) 推荐(0)
 

2023年1月4日

Nginx配置文件
摘要: 转:https://blog.csdn.net/weixin_52813907/article/details/127262304 1 nginx常见的配置文件 1.1 启动默认配置文件nginx.conf 默认启动nginx时,使用的配置文件是:安装路径/conf/nginx.conf文件 可以在 阅读全文
posted @ 2023-01-04 14:05 金天黑日 阅读(718) 评论(0) 推荐(0)
 
Tengine01
摘要: 1 简介 Tengine是nginx的一个版本 Tengine文档:http://tengine.taobao.org/ nginx官网: http://nginx.org Nginx ("engine x") 是一个高性能的 **HTTP** 和 **反向代理** 服务器,也是一个 IMAP/PO 阅读全文
posted @ 2023-01-04 11:09 金天黑日 阅读(52) 评论(0) 推荐(0)
 

2022年12月20日

分布式id的方案
摘要: 1 简介 在分布式系统架构中,通常会涉及到分布式全局唯一ID的生成 在复杂分布式系统中,往往需要对大量的数据和消息进行唯一标识。 如在金融、电商、支付、等产品的系统中,数据日渐增长,对数据分库分表后需要有一个唯一ID来标识一条数据或消息,数据库的自增ID显然不能满足需求,此时一个能够生成全局唯一ID 阅读全文
posted @ 2022-12-20 13:27 金天黑日 阅读(59) 评论(0) 推荐(0)
 

2022年12月16日

BIO和NIO的基本用法和API讲解
摘要: 1 BIO 可以理解为Blocking IO 是同步阻塞的IO,也就是说,当有多个请求过来的时候,请求会呈现为链状结构,遵循先进先出的原则 1.1 单线程版本 1.1.1 服务端 //服务端单线程处理 public class BioServer { public static void main( 阅读全文
posted @ 2022-12-16 13:21 金天黑日 阅读(210) 评论(0) 推荐(0)
 

2022年12月14日

JMH测试工具
摘要: 参考:https://blog.csdn.net/agonie201218/article/details/122333354 1 简介 JMH即Java Microbenchmark Harness,JMH(Java Microbenchmark Harness)是用于代码微基准测试的工具套件,主 阅读全文
posted @ 2022-12-14 15:16 金天黑日 阅读(274) 评论(0) 推荐(0)
 

2022年11月30日

Nginx13 openresty使用lua-resty-template
摘要: 1 简介 https://github.com/bungle/lua-resty-template 如果学习过JavaEE中的servlet和JSP的话,应该知道JSP模板最终会被翻译成Servlet来执行; 而lua-resty-template模板引擎可以认为是JSP,其最终会被翻译成Lua代码 阅读全文
posted @ 2022-11-30 11:49 金天黑日 阅读(224) 评论(0) 推荐(0)
 
Nginx12 openresty使用lua-resty-http模块
摘要: 1 简介 https://github.com/ledgetech/lua-resty-http 在lua中操作http请求有两种方式 第一种方式:使用通过ngx.location.capture 去方式实现 第二种方式:lua-resty-http,是用于访问外部 Http 资源,外部 web 服 阅读全文
posted @ 2022-11-30 10:39 金天黑日 阅读(1723) 评论(0) 推荐(0)
 

2022年11月29日

Nginx11 openresty连接redis(lua-resty-redis)
摘要: 1 官网 http://openresty.org/cn/lua-resty-redis-library.html https://github.com/openresty/lua-resty-redis 2 示例 2.1 配置文件 /usr/local/openresty/nginx/conf/n 阅读全文
posted @ 2022-11-29 10:42 金天黑日 阅读(488) 评论(0) 推荐(0)
 
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 35 下一页