`
k1280000
  • 浏览: 195274 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论
文章列表
什么是枚举? 为什么要用枚举? 枚举可以怎么用? Pros VS Cons   1.什么是枚举 首先我们从一个枚举类的反编译文件来认识一下枚举类 Compiled from "ColorEnum.java" public final class com.james.learning.j2se.enums.ColorEnum extends java.lang.Enum<com.james.learning.j2se.enums.ColorEnum> { public static final com.james.learning.j2s ...
    https://cwiki.apache.org/confluence/display/KAFKA/FAQ#FAQ-HowdoIgetexactly-oncemessagingfromKafka?   How do I get exactly-once messaging from Kafka? Exactly once semantics has two parts: avoiding duplication during data production and avoiding duplicates during data consumption.There are t ...
  起因 Mercury:唯品会全链路应用监控系统解决方案详解(含PPT) 在里面看到这个好东西 Google Dapper Dapper, a Large-Scale Distributed Systems Tracing Infrastructure  那么我们来翻译一下Dapper到底是个啥。    首先是论文的概括:  
学习NIO就必然会遇到几个概念:        BIO        NIO        AIO 想必说各个代表的含义大家都能说出来,但是有没有细想过BIO block了到底是什么,NIO N在哪里, AIO是怎么通过底层系统实现的?   说到这里,我想理一些概念,作为一个严谨的、相信科学的程序员我们如果要说术语那么就要说得精准。(PS:看了很多网上的定义,说明也有同道中人,但是有一些也是看得云里雾里,所以得自己 好好整理一下)       看起来这两个概念大家都知道,但是由于大家在各个场景下都用同步和异步这两个词,导致很模糊。     从linux的IO模型来看,一 ...

spring 新特性

https://spring.io/blog/2012/05/23/transactions-caching-and-aop-understanding-proxy-usage-in-spring  https://spring.io/blog/2007/07/19/debunking-myths-proxies-impact-performance/  
正版官方 下载地址 http://share.weiyun.com/9bee718fcaac437c0b09726bc8fa9958     不谢自取
  从logback官方网站上来,immediateFlush设置成false以后有5 quintuple倍吞吐量的提升,但是,会有部分缓存的日志不会输出到日志文件里,如果这时,appender遇到错误会导致缓存的部分丢失,但是,丢失到底是多少呢? 官方没有说 ...
3.X http://hc.apache.org/httpclient-3.x/performance.html   public class MultiThreadedExample { /** * Constructor for MultiThreadedExample. */ public MultiThreadedExample() { super(); } public static void main(String[] args) { // Cre ...
http://blog.csdn.net/wsscy2004/article/details/24723905
附件是全文件,现在根据文件来做笔记。   系统调优就是找出系统瓶颈,降低并消除瓶颈。 操作系统调优从以下几方面出发: CPU Memory IO Network 而且几方面相互依赖,一荣俱荣,一损俱损。   1.定性系统类型 1.1 强IO型        例:数据库   1.2 强CPU型       例: web server,mail server,rendering server    工具                        

Mysql refresh

    博客分类:
  • DBMS
 
Mysql Refresh 1. KEY,INDEX,UNIQUE,PRIMARY,FULL-TEXT区别   Differences KEY or INDEX refers to a normal non-unique index. Non-distinct values for the index are allowed, so the index may contain rows with identical values in all columns of the index. These indexes don't enforce any restraints on ...

NIO learning

    博客分类:
  • NIO
NIO Learning 1.Selector api 解释 http://tutorials.jenkov.com/java-nio/selectors.html

spring boot

1.微服务框架Spring Boot 2.用起来非常方便,配置文件不用了,tomcat内置了http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#boot-documentation 3.mvn spring-boot:run 就可以奔跑了 4.加入以下maven plugin就可以直接打出可运行的jar包 <!--前提是使用了spring-boot-starter-parent POM --> <build> <plugins> ...

spring xsd load

1. http://stackoverflow.com/questions/20894695/spring-configuration-xml-schema-with-or-without-version 2. http://blog.csdn.net/bluishglc/article/details/7596118  

springmvc

DispatcherServlet  RequestContextUtils  can get WebApplicationContext HandlerMapping HandlerMapping是把一个URL指定到一个Controller上 
Global site tag (gtag.js) - Google Analytics