自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 资源 (279)
  • 问答 (4)
  • 收藏
  • 关注

转载 MongoDB命令行模式下,格式化find()的返回结果,pretty()

使用 db.demo.find() 返回数据,每一条占一整行,不便于阅读,寻找能格式化输出结果的方法,其实MongoDB本身提供了该方法,在find()方法后直接追加pretty()方法即可,如下:补充个一劳永逸的方法,在 shell 里执行下列代码:echo "DBQuery.prototype._prettyShell = true" >> ~/.mongorc.js这样随时随地都是 pretty() 了。转载自:https://my.oschina.net.

2020-05-25 11:12:01 1127

转载 一次 Young GC 的优化实践

这个 GC 案例比较有意思,排查问题有点像侦探断案,先分析各种可能性,再按照获得的一个个证据,去排除各种可能性、然后定位原因,最终解决问题。问题某同学在微信上问我,有没有办法排查 YoungGC 效率低的问题?听到这话,我也是不知从何说起,就让他说下具体情况。 具体情况是: 有个服务在没有 RPC 调用时,YoungGC 时间大约在 4-5ms,但是有 RPC 调用时,YoungGC 的耗时在 40ms 以上,几乎没有什么对象晋升,频率 4-5 秒一次。GC 日志截图如下。后来他为了排查问题.

2020-05-19 00:06:39 685

转载 什么是JIT

一些其他解释的网站:http://www.sohu.com/a/169704040_4640841、动态编译(dynamic compilation)指的是“在运行时进行编译”;与之相对的是事前编译(ahead-of-time compilation,简称AOT),也叫静态编译(static compilation)。2、JIT编译(just-in-timecompilation)狭义来说是当某段代码即将第一次被执行时进行编译,因而叫“即时编译”。JIT编译是动态编译的一种特例。JIT编译一词后..

2020-05-09 20:33:55 610

转载 JVM 默认参数

uintx AdaptiveSizeDecrementScaleFactor = 4 {product} uintx AdaptiveSizeMajorGCDecayTimeScale = 10 {product} ...

2020-05-07 16:21:09 647

转载 垃圾优先型垃圾回收器调优

了解如何针对评估、分析和性能来调整和调优 G1 GC。2013 年 8 月发布垃圾优先型垃圾回收器 (G1 GC)是适用于 Java HotSpot VM 的低暂停、服务器风格的分代式垃圾回收器。G1 GC 使用并发和并行阶段实现其目标暂停时间,并保持良好的吞吐量。当 G1 GC 确定有必要进行垃圾回收时,它会先收集存活数据最少的区域(垃圾优先)。垃圾回收器 (GC) 是一个内存管理...

2020-05-06 16:48:31 322

转载 jvm:优化-栈上分配

转载请注明博客来处:https://blog.csdn.net/qq_42709262/article/details/84800251几乎所有的对象实例,都是在堆上分配的,但存在部分例外,栈上分配就是这种除了堆上分配的例外。1.栈上分配指的是什么?①将线程中的私有对象打散(即图中user),让它在栈上分配,而不是在堆上分配比如方法中的user引用,就是方法的局部变量,n...

2020-05-06 13:58:54 465

转载 关于栈上分配和TLAB的理解

引言我们知道,一般在java程序中,new的对象是分配在堆空间中的,但是实际的情况是,大部分的new对象会进入堆空间中,而并非是全部的对象,还有另外两个地方可以存储new的对象,我们称之为栈上分配以及TLAB栈上分配为什么需要栈上分配在我们的应用程序中,其实有很多的对象的作用域都不会逃逸出方法外,也就是说该对象的生命周期会随着方法的调用开始而开始,方法的调用结束而结束,对于这种对象...

2020-05-06 13:44:52 880

mariadb-5.5.34-winx64.zip

MariaDB数据库管理系统是MySQL的一个分支,主要由开源社区在维护,采用GPL授权许可 MariaDB的目的是完全兼容MySQL,包括API和命令行,使之能轻松成为MySQL的代替品。在存储引擎方面,使用XtraDB(英语:XtraDB)来代替MySQL的InnoDB。 MariaDB由MySQL的创始人Michael Widenius(英语:Michael Widenius)主导开发,他早前曾以10亿美元的价格,将自己创建的公司MySQL AB卖给了SUN,此后,随着SUN被甲骨文收购,MySQL的所有权也落入Oracle的手中。MariaDB名称来自Michael Widenius的女儿Maria的名字。

2018-05-12

canal.deployer-1.0.25.tar.gz

阿里巴巴mysql数据库binlog的增量订阅&消费组件 基于日志增量订阅&消费支持的业务: 数据库镜像 数据库实时备份 多级索引 (卖家和买家各自分库索引) search build 业务cache刷新 价格变化等重要业务消息

2018-05-12

mariadb-10.3.6-winx64.zip

MariaDB is free and open source software The MariaDB database server is published as free and open source software under the General Public License version 2. You can download and use it as much as you want free of charge. All use of the binaries from mariadb.org is at your own risk as stated in the GPLv2. While we do our best to make the world’s best database software, the MariaDB Foundation does not provide any guarantees and cannot be hold liable for any issues you may encounter. The MariaDB Foundation does not provide any help or support services if you run into troubles while using MariaDB. Support and guarantees are available on commercial terms from multiple MariaDB vendors. There are alse many resources you can use to learn MariaDB and support yourself or get peer support online.

2018-05-09

canal--mysql数据库binlog的增量订阅&消费组件

名称:canal [kə'næl] 译意: 水道/管道/沟渠 语言: 纯java开发 定位: 基于数据库增量日志解析,提供增量数据订阅&消费,目前主要支持了mysql 关键词: mysql binlog parser / real-time / queue&topic;

2018-05-08

redis2.8 windows 64

redis2.8 windows 64位版本的,在本地测试使用 Redis是一个开源的使用ANSI C语言编写、支持网络、可基于内存亦可持久化的日志型、Key-Value数据库,并提供多种语言的API。从2010年3月15日起,Redis的开发工作由VMware主持。从2013年5月开始,Redis的开发由Pivotal赞助。

2018-04-16

DevCenter--Cassandra

DataStax for Developers Learn and build with your favorite language and a friendly GUI.

2018-01-17

指令集时钟周期

ASM为Assembly的简写,ASM指令的含义为汇编指令(泛指Intel 80X86 CPU中的指令集)。 ASM指令是为编程人员编写程序准备的,编译器将会把ASM指令真正的翻译成机器代码(能控制CPU做出操作的代码)。 ASM至今运用广泛,2015年所有的个人电脑,大型服务器绝大多数使用ASM指令集。 ASM的优点在于指令广泛和丰富,处理大型数据游刃有余,但是缺点也是显而易见的,由于指令的长度不等与指令的复杂,其耗能大,CPU体积也大。

2017-12-21

JAVA面试资料

JAVA面试资料,包含了Java的知识的各个方面的基本概括和原理

2017-11-21

rabbitmq-server-windows-3.6.12.zip

RabbitMQ 3.6.12 is a maintenance release. Upgrades and Compatibility See the "Upgrading clusters" section of the documentation for general documentation on upgrades. This release has no other known incompatibilities with versions 3.6.7 through 3.6.11. See the upgrade and compatibility sections in the 3.6.7 release notes if upgrading from an earlier release. Core Server Bug Fixes Process responsible for running the autoheal partition handling strategy could run into a deadlock with its peers, preventing autoheal from completing. GitHub issue: rabbitmq-server#1346 Garbage collection of mirrored queue metrics on nodes that did not host a master or mirror for a queue affected delivery and acknowledgement rates. This could result in rates being 0 or negative when they should not be. GitHub issue: rabbitmq-server#1340 Stats emission could prevent queue mirrors from performing garbage collection and consume memory even when they were empty. GitHub issue: rabbitmq-common#220 (continuation to rabbitmq-common#196) RABBITMQ_SCHEDULER_BIND_TYPE and RABBITMQ_DISTRIBUTION_BUFFER_SIZE now can be set via rabbitmq-env.conf. GitHub issue: rabbitmq-server#1338 Shovel Management Plugin Bug Fixes Passwords in source and destination URIs are now redacted out. GitHub issue: rabbitmq-federation-management#15 Federation Management Plugin Bug Fixes Passwords in upstream URIs are now redacted out. GitHub issue: rabbitmq-federation-management#15 Upgrading To upgrade a non-clustered RabbitMQ simply install the new version. All configuration and persistent message data are retained. When upgrading using definitions export/import from versions earlier than 3.6.0, see http://rabbitmq.com/passwords.html. To upgrade a RabbitMQ cluster, follow the instructions in RabbitMQ documentation.

2017-10-30

R-3.4.1(R语言sdk)

R is a free software environment for statistical computing and graphics. It compiles and runs on a wide variety of UNIX platforms, Windows and MacOS.

2017-08-23

RStudio-1.0.153

RStudio is a set of integrated tools designed to help you be more productive with R. It includes a console, syntax-highlighting editor that supports direct code execution, and a variety of robust tools for plotting, viewing history, debugging and managing your workspace. Learn More about RStudio features.

2017-08-23

LuaForWindows

Installation of Lua for the Windows operating systems including many lua libraries. NOTICE Development move to GitHub https://github.com/rjpcomputing/luaforwindows Overview Lua for Windows is a 'batteries included environment' for the Lua scripting language on Windows. Lua for Windows (LfW) combines Lua binaries, Lua libraries with a Lua-capable editor in a single install package for the Microsoft Windows operating system. LfW contains everything you need to write, run and debug Lua scripts on Windows. A wide variety of libraries and examples are included that are ready to use with Microsoft Windows. LfW runs on Windows 2000 and newer versions of Windows. Lua and its associated libraries are also available for other operating systems, so most scripts will be automatically cross-platform.

2017-06-21

SwitchHosts

SwitchHost! 这是一个用于快速切换 hosts 文件的小程序,基于 Python 和 wxPython 开发。 功能特性: •快速切换 hosts •跨平台(基于 wxPython) •hosts 文件语法高亮 •可为不同的 hosts 方案设置不同的图标 •切换 hosts 方案时浮出窗口提示 更新历史: •2011-12-14 允许输入超长的 hosts 方案。 •2011-10-09 发布 0.1.6 版,修复若干 bug,增加自动检查最新版本的功能。 •2011-09-29 发布 0.1.5 版,新增 hosts 内容语法高亮。 •2011-09-28 发布 0.1.4 版,新增“添加”、“删除”按钮;hosts 内容修改后自动保存;修改若干 bug。 •2011-09-19 发布 0.1.3 版,修复若干 bug。 •2011-09-15 发布 0.1.2 版,添加主面板,可以主面板上对 hosts 进行增加、删除、编辑、重命名等操作。 •2011-09-02 发布 0.1.0 版,完成基本功能。 不起作用的话,请运行管理员权限运行

2017-02-22

erlang19安装包

Erlang/OTP 19.1 is a service release containing mostly bug fixes, as well as a number of new features and characteristics improvements. Some highlights of the release are: erts: Improved dirty scheduler support. A purge of a module will not have to wait for completion of all ongoing dirty NIF calls. erts: Improved accuracy of timeouts on MacOS X. kernel: Add net_kernel:setopts/2 and net_kernel:getopts/2 to control options for distribution sockets in runtime. asn1: Compiling multiple ASN.1 modules in the same directory with parallel make (make -j) should now be safe. httpd: support for PUT and DELETE in mod_esi ~30 contributions since 19.0

2016-12-02

xml 格式化工具

xml 格式化工具,可以进行格式化优雅的显示形式.

2016-11-17

alibaba-otter

项目背景 阿里巴巴B2B公司,因为业务的特性,卖家主要集中在国内,买家主要集中在国外,所以衍生出了杭州和美国异地机房的需求,同时为了提升用户体验,整个机房的架构为双A,两边均可写,由此诞生了otter这样一个产品。 otter第一版本可追溯到04~05年,此次外部开源的版本为第4版,开发时间从2011年7月份一直持续到现在,目前阿里巴巴B2B内部的本地/异地机房的同步需求基本全上了otter。 目前同步规模: 同步数据量6亿 文件同步1.5TB(2000w张图片) 涉及200+个数据库实例之间的同步 80+台机器的集群规模 项目介绍 名称:otter ['ɒtə(r)] 译意: 水獭,数据搬运工 语言: 纯java开发 定位: 基于数据库增量日志解析,准实时同步到本机房或异地机房的mysql/oracle数据库. 一个分布式数据库同步系统

2016-09-30

protobuf3.0-windows

protobuf3.0,在windows下面的安装说明文档,以及proto.exe,以及如何编译成java的jar包得说明

2016-04-21

eclipse-jee-mars-2-win32-x86_64.zip 工具

eclipse-jee-mars-2-win32-x86_64.zip eclipse 火星版本

2016-04-08

svn 命令行安装包

svn 命令行安装包,直接直接通过 svn checkout svn://172.30.11.11/my_dev

2016-04-08

MongoVUE-1.6.9以及破解文件

将破解文件夹下的MongoVUE.exe覆盖安装目录下MongoVUE即可。

2016-04-06

12306订票助手.NET_10.5.1.0

12306订票助手.NET_10.5.1.0,抢票速度很快的,用过大家都知道

2016-02-01

NIO trick and trap

NIO trick and trap, 从io的产生,如何产生,分类,区别,应用。做了区分

2016-01-29

erlang 18-release

Some highlights of the release are: ssl: Add possibility to downgrade an SSL/TLS connection to a tcp connection, and give back the socket control to a user process. ssh: The following new key exchange algorithms are implemented:'ecdh-sha2-nistp256', 'ecdh-sha2-nistp384', 'ecdh-sha2-nistp521','diffie-hellman-group14-sha1', 'diffie-hellman-group-exchange-sha1' and 'diffie-hellman-group-exchange-sha256'. This raises the security level considerably. kernel,stdlib,sasl: A mechanism for limiting the amount of text that the built-in error logger events will produce has been introduced. It is useful for limiting both the size of log files and the CPU time used to produce them. This mechanism is experimental in the sense that it may be changed based on feedback. See config parameter error_logger_format_depth in the Kernel application.

2015-11-19

haproxy-1.5.12

haproxy,提供四层,七层负载均衡以及healthcheck心跳监测功能。 详细配置文件,都已经设置好了,里面还有ReadMe.txt里面有启动方式,还有监控页面。然后亲测可用。

2015-08-29

nginx虚拟主机

自己配置好的nginx虚拟主机配置。里面有基本配置和虚拟主机配置

2015-08-29

redis-2.6 windows版本

redis2.6 windows版本,提供redis主从和sentinel的自动无缝切换服务,以及,主从监控,以及failover

2015-08-23

深入理解Java7-技术与最佳实践

深入理解Java7-技术与最佳实践

2014-12-29

Sun JVM原理与内存管理

Sun JVM原理与内存管理

2014-12-29

[深入理解Java虚拟机:JVM高级特性与最佳实践(有书签)

[深入理解Java虚拟机:JVM高级特性与最佳实践(有书签) PDF有书签,可以翻阅

2014-12-20

redis-2.4.5-win32-win64.zip

redis-2.4.5-win32-win64.zip redis_2.6.12-win32-win64.zip 总共两个redis

2014-11-25

java.bug模式详解

java bug模式详解

2014-11-21

Java问题定位技术

Java问题定位技术

2014-11-20

SOA系统中的分布式事务处理

SOA系统中的分布式事务处理

2014-11-20

eclipse-jee-kepler-SR2-win32.zip

eclipse-jee-kepler-SR2-win32.zip

2014-11-17

Understanding_Java_Garbage_Collection_v3

Understanding_Java_Garbage_Collection_v3

2014-11-16

重构-改善既有代码的设计

重构-改善既有代码的设计

2014-11-16

Java程序性能优化 让你的Java程序更快、更稳定

Java程序性能优化 让你的Java程序更快、更稳定

2014-11-16

设计模式:可复用面向对象软件的基础

设计模式:可复用面向对象软件的基础

2014-11-16

算法导论 第三版 中文

算法导论 第三版 中文 不是影印版本

2014-11-16

mariadb-10.0.7-winx64.zip

MariaDB is free and open source software The MariaDB database server is published as free and open source software under the General Public License version 2. You can download and use it as much as you want free of charge. All use of the binaries from mariadb.org is at your own risk as stated in the GPLv2. While we do our best to make the world’s best database software, the MariaDB Foundation does not provide any guarantees and cannot be hold liable for any issues you may encounter.

2018-05-09

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除