- 博客(21)
- 资源 (35)
- 收藏
- 关注
原创 阿里CEO盒马内部演讲实录:跑得久才是最关键的
摘要价值观不是用来挂在墙上的,是不知不觉融入思考和行为之中的。 好的企业文化,首先是做好人,做“好”人和做好“人”。 商业模式创新是创造生产力,组织能力创新是创造新的生产关系,最终交汇在人上点燃。文化是溶解剂和催化剂,能把所有东西融在一起。 阿里文化的内核原浆就是相信人和社会的美好。 以后谁对谁都不要叫老板,直接叫花名,花名没有叫本名。 我很不赞同“一将功成万骨枯”,我们绝对不要做...
2019-03-30 23:57:03 1727
转载 Java 最常见的 200+ 面试题:面试必备
这份面试清单是从我 2015 年做了 TeamLeader 之后开始收集的,一方面是给公司招聘用,另一方面是想用它来挖掘在 Java 技术栈中,还有那些知识点是我不知道的,我想找到这些技术盲点,然后修复它,以此来提高自己的技术水平。虽然我是从 2009 年就开始参加编程工作了,但我依旧觉得自己现在要学的东西很多,并且学习这些知识,让我很有成就感和满足感,那所以何乐而不为呢?说回面试的事,这份面...
2019-03-29 00:42:03 288
转载 MongoDB内存使用分析和优化
MongoDB内存占用点Mongod 进程启动后,除了跟普通进程一样,加载 binary、依赖的各种library 到内存,其作为一个DBMS,还需要负责客户端连接管理,请求处理,数据库元数据、存储引擎等很多工作,这些工作都涉及内存的分配与释放,默认情况下,MongoDB 使用 Google tcmalloc 作为内存分配器,内存占用的主要是「存储引擎」与 「客户端连接及请求的处理」。存储...
2019-03-26 00:26:42 3983
原创 撒花,庆祝CSDN博客专家和独立域名同时申请成功
2019.03.25 是一个小有意义的日子,同时申请CSDN博客专家和独立域名成功,进一步说是申请独立域名催生了申请博客专家,无论怎么说,这都是一个新篇章开启了!随后的时间,我将分享更多高质量、有深度的原创技术博文,为更多的编程爱好者和自己的技术以及研发管理能力的持续提升贡献一份力量!独立域名:https://feeler.blog.csdn.net/ 让零星知识的力量聚集成最灿的...
2019-03-25 23:53:33 436
转载 Spring Series---事务中JDBC是否自动提交解析
自动提交默认情况下,数据库处于自动提交模式。每一条语句处于一个单独的事务中,在这条语句执行完毕时,如果执行成功则隐式的提交事务,如果执行失败则隐式的回滚事务。对于正常的事务管理,是一组相关的操作处于一个事务之中,因此必须关闭数据库的自动提交模式。不过,这个我们不用担心,spring会将底层连接的自动提交特性设置为false。org/springframework/jdbc/dataso...
2019-03-25 01:00:09 1382
转载 MongoDB 最佳实践和场景避坑指南
Mongodb相对hbase、MySQL来说,有哪些优势?这里就简单说一下题主说的几个数据库中,mongodb优势的地方vs hbase:hbase是基于row key存储宽列的一款nosql,乍一看结构类似mongodb的_id主键和可变长的列数量。具体的原理和区别这里不展开。mongodb的优势在于轻量化部署非常简单,不用像hbase那样搭一整套hadoop集群,即开即用。...
2019-03-24 00:26:55 1661
转载 MongoDB 整合SpringBoot实践
MongoDB 简介MongoDB 是非关系型数据库中,最接近关系型数据库的,文档型数据库。它支持的查询功能非常强大。MongoDB 是为快速开发互联网Web应用而设计的数据库系统。他的数据模型是面向文档的,这种文档是一种类似于JSON的结构,准确来说是一种支持二进制的BSON(Binary JSON)结构。非关系性数据库非关系性数据库 也被称为 NoSQL(Not only sql...
2019-03-23 23:55:23 757
原创 Java深海拾遗系列(3)---JDK8中的ArrayDeque源码分析
ArrayDeque类视图简介从类视图可以看出,ArrayDeque实现了Deque接口,Deque接口继承了Queue接口,Queue接口继承自顶级接口集合类Collection。Queue 也是 Java 集合框架中定义的一种接口,直接继承自 Collection 接口。除了基本的 Collection 接口规定测操作外,Queue 接口还定义一组针对队列的特殊操作。通常来说,...
2019-03-23 21:50:09 426
原创 依赖管理利器---Spring IO Platform解决Spring组合依赖问题实战
Spring IO Platform简介Spring IO Platform,主要是解决依赖版本冲突问题,简单的可以认为是一个依赖维护平台,该平台将相关依赖汇聚到一起,针对每个依赖,都提供了一个版本号;这些版本对应的依赖都是经过测试的,可以保证一起正常使用。Spring IO Platform优势困境:例如在使用Spring的时候,经常会使用到第三方库,一般大家都是根据经验挑选一个版本...
2019-03-21 01:07:54 988
原创 Redis性能提高之批量和管道
批量的意义Redis协议采取的是客户端-服务器方式,即在一次round trip中,客户端发送一条指令,服务端解析指令并执行,然后向客户端返回结果。这是一种典型的tcp交互方式。粗略的分,客户端发起一次Redis请求主要有如下开销:socket IO导致的上下文切换开销熟悉OS/Linux的童鞋都知道,一次redis请求在客户端和服务端分别至少会存在一次read()和一次write...
2019-03-20 22:55:51 1495
原创 Redis数据操作长延迟分析
1. 长耗时命令引起延迟Redis绝大多数读写命令的时间复杂度都在O(1)到O(N)之间。O(1)的命令是安全的,O(N)命令在使用时需要注意,如果N的数量级不可预知,则应避免使用。例如对一个field数未知的Hash数据执行HGETALL/HKEYS/HVALS命令,通常来说这些命令执行的很快,但如果这个Hash中的field数量极多,耗时就会成倍增长。针对长耗时的最佳实践:不要把...
2019-03-20 22:55:25 796
原创 Redis性能分析和运维工具
目录redis-benchmark工具monitor命令slowlog命令info命令Redis高阶用法进入Redis Deepen系列redis-benchmark工具作用: 可用于redis基准信息,服务器性能检测$ redis-benchmark -h localhost -p 6379 -c 100 -n 100000100个并发连接,10000...
2019-03-20 00:40:05 767
原创 MongoDB writeConcern和readConcern原理
目录readConcernreadConcern作用readConcern原理readConcern须知readPreferencewriteConcernwriteConcern选项{w: "majority"}解析readConcernreadConcern作用MongoDB 可以利用readConcern来灵活的定制读策略,决定读取数据时,...
2019-03-20 00:19:58 2148
转载 Kata Containers新一代Docker容器技术分析介绍
当前容器运行的最大支撑平台是私有云,也就是在私有云上的虚拟机中运行容器实例。一个虚拟机上可运行多个用户的、不同应用的容器实例,不同实例之间共享同一个虚拟机操作系统内核并采用 Namespaces 来隔离。Kata 容器运行时是采用轻量级虚拟机来运行某一个用户的、一个应用的一个或多个容器实例, 这样的好处是利用不同用户、不同应用之间,都是使用独占的虚拟机来隔离容器,不会共享同一操作...
2019-03-18 01:21:49 4501
转载 MongoDB的mongo命令使用完整版
成功启动MongoDB后,再打开一个命令行窗口输入mongo,就可以进行数据库的一些操作。输入help可以看到基本操作命令:show dbs:显示数据库列表show collections:显示当前数据库中的集合(类似关系数据库中的表)show users:显示用户use <db name>:切换当前数据库,这和MS-SQL里面的意思一样db.help():显...
2019-03-13 08:19:36 525
原创 自动化测试工具分析和总结
目录JUnit简介Mockito简介RobolectricSelenium简介JUnit简介JUnit是一个Java语言的单元测试框架。它由Kent Beck和Erich Gamma建立,逐渐成为源于Kent Beck的sUnit的xUnit家族中最为成功的一个JUnit有它自己的JUnit扩展生态圈。多数Java的开发环境都已经集成了JUnit作为单元测...
2019-03-11 01:13:18 1566
原创 全链路性能压测工具分析和总结
服务端压测memtier_benchmarkmemtier_benchmark是Redis Labs推出的一款命令行工具,它能够产生各种各样的流量模式,可以对Memcached和Redis实例进行基准测试。这个工具提供了丰富的自定义选项和报表功能,通过命令行界面就能够轻松地使用。这个工具的一些优点如下所述: memtier_benchmark同时支持Redis和Memcached(二...
2019-03-10 21:30:21 3617
原创 RSocket一种新的响应式应用新协议
简介RSocket是在华盛顿特区举行的SpringOne平台会议上宣布的,是一种新的第7层语言无关的应用网络协议。它是一种基于Reactive Streams背压的双向,多路复用,基于消息的二进制协议。它由Facebook,Netifi和Pivotal等工程师开发,提供Java,JavaScript,C ++和Kotlin等实现。开源RSocket专为服务而设计。它是一种面向连接的消息...
2019-03-07 00:45:33 2356 1
原创 Redis客户端选型再分析
前言当用户读到该篇文章时,大概率都在使用或准备即将使用Redis以及Jedis,这几乎成了共识,尤其在SpringBoot 的良好支持下,采用Jedis几乎成为了顺理成章的事,尽管如此,我们还是应该把眼界放得再开些。官方推荐的有三种:Jedis、Redisson和lettuce。Jedis轻量,简洁,便于集成和改造 支持连接池 支持pipelining、事务、LUA Scrip...
2019-03-05 00:00:05 724
原创 Redis 集群到底支持不支持批处理指令MGET等
目前,这不是一个确定的答案,对于不同集群的实现方式其支持度也是不一样的原生Redis Cluster 3.* 和 4.*版本集群3.0 不支持,即使在某些客户端下返回了值,很可能仅仅只是某一个节点的值4.0 仅支持相同slot,key不能保证在相同slot还是没用参考:Redis阿里云Redis Cluster支持MGET MSET HMGET HMSET指令受限MG...
2019-03-04 00:26:20 10173
原创 Redis集群实现方案选型分析
Redis集群方案1. 客户端分片实现集群2.中间代理层实现集群3.Server层面本身支持集群4.第三方:实际是上述三中的进一步增强尽管实现方案多样,其实质都是通过底层分片突破Redis单实例内存限制和增加可靠性客户端分片客户端分片是把分片的逻辑放在Redis客户端实现,通过Redis客户端预先定义好的路由规则,把对Key的访问转发到不同的Redis实例中,最后把返...
2019-03-03 22:25:59 1373
Natural Language Processing with Deep Learning CS224N/Ling284
2024-09-09
RFC9220 - HTTP Datagrams and the Capsule Protocol
2024-08-02
RFC9297 - Bootstrapping WebSockets with HTTP/3
2024-08-02
RFC9114 - HTTP/3
2024-08-02
RFC9000 - QUIC: A UDP-Based Multiplexed and Secure Transport
2024-08-02
RFC8446 -The Transport Layer Security (TLS) Protocol Version 1.3
2024-08-02
Web3+Decentralized+去中心化+存储
2024-04-30
Chainbase+Web3+APi+Data warehouse
2024-04-30
Graph+Web3+检索
2024-04-30
Web3+Nostr+区块链+去中心化+Relay+抗审查
2024-04-30
VISION FOR A HETEROGENEOUS MULTI-CHAIN FRAMEWORK DRAFT
2023-12-24
Security audit report for imtoken wallet
2023-12-24
Decentraland is a blockchain-based virtual world
2023-12-24
力场的定位是一个以公链共建挖矿为核心的社区平台以及UGC平台
2023-12-24
A Novel Metastable Consensus Protocol Family for Cryptocurrencie
2023-12-24
Measuring Ethereum Network Peers
2023-12-24
Firework Games White Paper
2023-12-24
CS251 Final Exam 2021
2023-12-24
Generic Construction of Ring Signatures with Efficient
2023-12-24
The Gridex Protocol
2023-12-24
Efficient Zero-Knowledge Arguments for Arithmetic Circuits
2023-12-24
KishuInu Whitepaper
2023-12-24
On the Instability of Bitcoin Without the Block Reward
2023-12-24
Shorter Proofs for Privacy-Enhanced Distributed Ledger
2023-12-24
Attacking Threshold Wallets
2023-12-23
This paper provides an architectural overview of the Avalanche
2023-12-23
Avalanche Native Token ($AVAX) Dynamics
2023-12-23
ZKSwap是一个基于 ZK-Rollup 的 Layer2 代币Swap协议
2023-12-23
ZEND White Paper
2023-12-23
KZen Curv Security Audit
2023-12-23
为什么虚拟资产值得投资:元宇宙虚拟地产报告
2023-10-27
元宇宙:未来数字绿洲入口已打开
2023-10-27
Code Assessment of Liquidations 2.0 Smart Contracts
2023-10-27
Scalable and Probabilistic Leaderless BFT Consensus through Meta
2023-10-27
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人