pending

git remote show origin|grep open|tr -s '已跟踪' ' '|xargs git push origin --delete


YMHUUID

Btree
Brin
Gin


/Users/zhaorong/log/php-fpm.log


php-fpm.log/Users/zhaorong/log/php-fpm.log

/usr/java/jdk1.8.0_20/bin/jstat -gccause pid 2000 查看gc的统计, 每隔2秒输出结果


nagios-system-*

 

sudo lsof -i :9000

分 布 式 事 务 , 对 于 重 要 的 业 务 , 需 要 通 过 分 布 式 事 务 技 术
(TCC、高可用消息服务、最大努力通知)保证数据的一致性。


rewind

What does System.exit() do?

 

javap command?

lsof -n|awk '{print $2}'| sort |uniq -c|sort -nr|more


168 / 168 not finished MaChuGaoXiao


http://www.mycat.io/


cat **.log|grep -F|awk ""| awk '{if($1>2) print $0}'

 

 

http://localhost:8080/scheduleEmail

{
"email":"haizhixing126@163.com",
"subject":"Things I wanna say to my Future self",
"body":"Dear Future me, ....",
"dateTime":"2019-11-20T11:48:29",
"timeZone":"Asia/Shanghai"
}

 

 

docker ps info version images,docker run hello-world

linux wc


Spring Cloud 中的 Eureka 能够实现高可用的注册中心, Feign 能够实现服务的调用,并且实
现负载均衡。 Hystrix 能够有效地防止雪崩 , 应对高流量的冲击。 配置中心能够实现配置信息动
态修改,更加灵活地对线上环境进行动态修改。 API 网关能够实现安全、动态配置等 , 并且能
够实现高可用,配合 Spring Cloud 的其他组件,可以架构出非常实用的高可用架构 。


在进行设计的时候,尽量从抽象类继承,而不是从具体类继承。如果从继承等级树来看,所有叶子节点应当是具体类,而所有的树枝节点应当是抽象类或者接口。当然这个只是一个一般性的指导原则,使用的时候还要具体情况具体分析。


{
"debug": true,
"experimental": false,
"registry-mirrors":["http://hub-mirror.c.163.com","http://f1361db2.m.daocloud.io"]
}


{
"debug": true,
"experimental": false,
"registry-mirrors":[]
}

-javaagent:/Applications/IntelliJ\ IDEA.app/Contents/bin/JetbrainsCrack-2.7-release-enc.jar

Carters-MacBook-Air:~ zhaorong$ vi /Users/zhaorong/Library/Preferences/IntelliJIdea2018.1/idea.vmoptions


-XX:+TraceClassLoading

import java.util.Scanner;
import java.util.TreeSet;

public class Main {

public static void main(String[] args) {


Scanner sc = new Scanner(System.in);
while(sc.hasNext()){

int num = sc.nextInt();
TreeSet<Integer> set = new TreeSet<Integer>();
for(int i = 0 ; i < num ;i++){
int curr = sc.nextInt();
set.add(curr);
}
for(Integer i : set){
System.out.println(i);
}
}
}
}

 

 

JVM 是可运行 Java 代码的假想计算机 ,包括一套字节码指令集、一组寄存器、一个栈、
一个垃圾回收,堆 和 一个存储方法域。

TLAB 分配

JVM 内存区域主要分为线程私有区域【程序计数器、虚拟机栈、本地方法区】、线程共享区
域【 JAVA 堆、方法区】、直接内存。

直接内存并不是 JVM 运行时数据区的一部分, 但也会被频繁的使用: 在 JDK 1.4 引入的 NIO 提
供了基于 Channel 与 Buffer 的 IO 方式, 它可以使用 Native 函数库直接分配堆外内存, 然后使用
DirectByteBuffer 对象作为这块内存的引用进行操作(详见: Java I/O 扩展), 这样就避免了在 Java
堆和 Native 堆中来回复制数据, 因此在一些场景中可以显著提高性能。

 

service@njzmb.com

 

java -jar site-1.0.jar --spring.profiles.active=production

 

docker-compose run --no-deps client flink run -s /tmp/flink-savepoints-directory/savepoint-f229cc-35c008af1cf0 \
-d /opt/ClickCountJob.jar \
--bootstrap.servers kafka:9092 --checkpointing --event-time


docker-compose run --no-deps client flink run -p 3 -s /tmp/flink-savepoints-directory/savepoint-f229cc-35c008af1cf0 \
-d /opt/ClickCountJob.jar \
--bootstrap.servers kafka:9092 --checkpointing --event-time

 

 

 

/** waitStatus value to indicate thread has cancelled */
static final int CANCELLED = 1;
/** waitStatus value to indicate successor's thread needs unparking */
static final int SIGNAL = -1;
/** waitStatus value to indicate thread is waiting on condition */
static final int CONDITION = -2;
/**
* waitStatus value to indicate the next acquireShared should
* unconditionally propagate
*/
static final int PROPAGATE = -3;

 

sh bin/tools.sh org.apache.rocketmq.example.quickstart.Producer SendResult [sendStatus=SEND_OK, msgId= 10000]

 

事务的原子性是通过undolog来实现的事务的持久性性是通过redolog来实现的事务的隔离性是通过(读写锁+MVCC)来实现的而事务的终极大 boss 一致性是通过原子性,持久性,隔离性来实现的!!!

 

 

简言之,Spark 为我们常见的批处理、流处理、数据分析、数据探索、机器学习等场景都提供了很好的解决方案,任何有数据处理需求的人,都可以用它来完成自己的研究与日常工作。

 

 

wget https://git.io/vpnsetup-centos -O vpnsetup-centos.sh && sudo sh vpnsetup-centos.sh

 

wget https://git.io/vpnsetup -O vpnsetup-centos && sudo sh vpnsetup.sh

 

posted @ 2024-01-04 21:53  CarterLee  阅读(5)  评论(0编辑  收藏  举报