一、基于上节编写基础聊天 GroupChatServer package com.github.bjlhx15.netty.demo.groupchat; import java.io.IOException; import java.net.InetSocketAddress; import ja ...
分类:
其他好文 时间:
2021-07-29 16:18:22
阅读次数:
0
Hbase 写入流程大致分为三个步骤: 1.客户端请求 首先在meta cache 根据rowKey查找该rowKey对应的Region Server,如果有则直接发送请求到RegionServer。 如果客户端缓存中没有查到对应的rowkey信息,需要首先到ZooKeeper上/hbase-roo ...
分类:
其他好文 时间:
2021-07-28 21:35:55
阅读次数:
0
debug:am trace-ipc源码分析 一、使用 官网介绍 链接:Slow rendering 如果您有 binder 事务,则可以使用以下 adb 命令捕获其调用堆栈: $ adb shell am trace-ipc start … use the app - scroll/animate ...
分类:
其他好文 时间:
2021-07-28 21:34:30
阅读次数:
0
JAVA DP 反向: public final int maximalSquare(char[][] matrix) { int xLen = matrix.length, yLen = matrix[0].length, re = 0; int[][] cache = new int[xLen] ...
分类:
其他好文 时间:
2021-07-23 17:42:02
阅读次数:
0
yum -y install wget telnet net-tools lrzsz vim zip unzip 修改主机名 将master节点主机名修改为k8s-master01 node节点为k8s-node01 以这种命名规则命名即可 关闭防火墙 systemctl stop firewall ...
分类:
其他好文 时间:
2021-07-16 17:44:33
阅读次数:
0
性能优化-数据库篇1 首先我们要谈论什么是性能? 吞吐和延迟 没有量化就没有改进 :监控和度量指标可以指导我们从哪里入手 80/20原则:先优化性能瓶颈的地方 过早的优化是万恶之源:选择合适的优化时机 脱离场景谈性能都是耍流氓:对性能的要求要符合实际 一般来说,DB/SQL操作的消耗在一次处理中占比 ...
分类:
数据库 时间:
2021-07-14 18:43:34
阅读次数:
0
SpringBoot支持的缓存组件 在SpringBoot中,数据的缓存管理存储依赖于Spring框架中cache相关的org.springframework.cache.Cache和org.springframework.cache.CacheManager缓存管理器接口。 如果程序中没有定义类型 ...
分类:
编程语言 时间:
2021-07-12 18:18:45
阅读次数:
0
@echo off set "PATH=%~dp0bin;%path%" echo. echo 当前配置 echo. bash --login -c "echo mirror=`apt-cyg mirror`;echo cache=`apt-cyg cache`;echo;apt-cyg proxy ...
https://blog.melbadry9.xyz/fuzzing/nuclei-cache-poisoning id: cache-poisoning info: name: Cache Poisoning author: melbadry9 & xelkomy severity: lowreq ...
分类:
系统相关 时间:
2021-07-05 18:59:59
阅读次数:
0
一、多线程方法一(继承Thread类) package Demo01;//继承线程类Threadpublic class MyThread extends Thread{ //重写 run()方法 @Override public void run() { for (int i = 0; i < 2 ...
分类:
编程语言 时间:
2021-07-02 16:18:56
阅读次数:
0