本月博客排行
-
第1名
青否云后端云 -
第2名
vipbooks -
第3名
e_e - kingwell.leng
- lemonhandsome
- silverend
- jveqi
- xiangjie88
年度博客排行
-
第1名
青否云后端云 -
第2名
zw7534313 -
第3名
大家都说我很棒 - liyihz2008
- wy_19921005
- gengyun12
- hbxflihua
- e_e
- luxurioust
- dbagirl
- zysnba
- robotmen
- Alsmile
- gaozzsoft
- jywhltj
- cpongo1
- leslie26
- qepwqnp
- zhangdaiscott
- 解宜然
- cuityang
- sichunli_030
- gashero
- fantaxy025025
- gdpglc
- ssydxa219
- vipbooks
- wallimn
- ranbuijj
- 淡看人生
- hanbaohong
- jickcai
- javashop
- johnsmith9th
- appalese
- gaojingsong
- weiyides
- zhangyi0618
- java-007
- AVI
- laiyangdeli
- xpenxpen
- liunancun
- 龙哥IT
- conkeyn
- nychen2000
- lyndon.lin
- silverend
- ouanui
- panshunchang
最新文章列表
基于spark1.3.1的spark-sql实战-02
Hive Tables
将HIVE_HOME/conf/hive-site.xml 文件copy到SPARK_HOME/conf/下
When not configured by the hive-site.xml, the context automatically creates metastore_db and warehouse in the current directory.
...
Ruby vs Scala
1. no ; at the end of lines
2. base operate
scala: val list = Array(1,2,3,4) list.filter( _ % 2 == 0) list.filter{e: Int => (e % 2 == 0)}ruby: list = [1,2,3,4] list.select{|x| x % ...
asp.net性能优化
今天碰到了一个问题,asp.net应用中双机的一台间歇性的出现cpu占用率100%的情况,而另外一台基本稳定在50%以下较为稳定,初步的跟其他工程师沟通,程序中没有复杂的算法和很深的循环等。
下面记录下简单的分析过程:
1、应用做了基于F5负载均衡,另外一台cpu占用比较低而且稳定证明并发并不是很高。
2、在并发不高,没有复杂算法的前提下,初步断定不是gc时产生的压力,而且cpu占用率较高 ...
Sybase性能调优建议清单
http://stackoverflow.com/questions/18783/favourite-performance-tuning-tricks
Here is the handy-dandy list of things I always give to someone asking me about optimisation.
We mainly use Sybase, but most ...
Sybase SQL性能诊断
Performance and Tuning Series: Query Processing and Abstract Plans
http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc00743.1570/html/queryprocessing/title.htm
Query plan/show ...
good performance is good design
zccst整理
good performance List:
more connections are not always a good idea. 减少连接数
Avoid landing page redirects. 避开重定向
HTTP Pipelining(流水线技术) is most useful in high latency environment
Elimin ...
performance的资源计时统计
以下内容原文来自:
http://www.stevesouders.com/blog/2014/08/21/resource-timing-practical-tips/
http://www.stevesouders.com/blog/2014/11/25/serious-confusion-with-resource-timing/
按照自己的理解,做了整理。
一、基本定义:
1. 示例图 ...
nagios pnp - nagios结合pnp实现图表功能
【基本介绍】
Pnp 是一个基于 php 和 perl,用 rrdtool将 nagios 采集的数据绘制图表的工具。
【安装流程】
1.安装php - 省略
2.安装perl - 省略
3.安装pnp
tar xf pnp4nagios-0.6.6.tar.gz
cd pnp4nagios-0.6.6
./configure --with-nagios-user=nagios ...
什么时候用MongoDB?
NoSQL products (and among them MongoDB) should be used to meet challenges. If you have one of the following challenges, you should consider MongoDB:
You Expect a High Write Load MongoDB by default ...
JDBC PreparedStatement的Performance问题,setString 和 varchar/nvarchar的关系
近期为了解决一些security的问题,把DAO层JDBC的Statement全部替换为PreparedStatement,然后遇到一个非常奇怪的问题是,一个简单的SQL, 比如
SELECT * FROM MDC_DATA_TYPE WHERE name = 'A' AND number = 1;
改成使用SELECT * FROM MDC_DATA_TYPE WHERE name = ? ...
spring-petclinic性能调优实战
1.spring-petclinic介绍
spring-petclinic是spring官方做的一个宠物商店,结合了spring和其他一些框架的最佳实践。
架构如下:
1)前端
Thymeleaf做HTML模板引擎或纯JSP加Tag
CSS采用Bootstrap
webjars用来管理客户端依赖
Dandelion做表格
2)后端
Controller,用Spring MVC, Bean Val ...
What Factors Justify the Use of Apache Hadoop?
Relational database authors and advocates have two criticisms of Hadoop. First, that most users have little need for Big Data. Second, that MapReduce is more complex than traditional SQL queries.
Bo ...
JAVA并发编程学习笔记之CLH队列锁
(非原创)
NUMA与SMP
SMP(Symmetric Multi-Processor),即对称多处理器结构,指服务器中多个CPU对称工作,每个CPU访问内存地址所需时间相同。其主要特征是共享,包含对CPU,内存,I/O等进行共享。SMP的优点是能够保证内存一致性,缺点是这些共享的资源很可能成为性能瓶颈,随着CPU数量的增加,每个CPU都要访问相同的内存资源,可能导致内存访问冲突,可能会导致 ...
Android性能优化系列---Improving Layout Performance(四)
Making ListView Scrolling Smooth
让ListView平滑滚动的关键在于将程序的主线程(UI线程)从大量的处理中解脱出来。要要保证用单独的线程来进行磁盘,网络或SQL操作。想要测试你的程序的状态, 你可以开启StrictMode。
Use a Background Thread
使 ...
Improving Web App Performance With the Chrome DevTools Timeline and Profiles
We all want to create high performance web applications. As our apps get more complex, we may want to support rich animations and that ideal 60 frames a second that keep our apps responsive and snappy ...
Android性能优化系列---Improving Layout Performance(三)
Improving Layout Performance(三)
Loading Views On Demand
有时你的布局可能需要一些复杂却又很少被用到的视图。无论他们是item详情、进度指示器,或撤销的消息,你都可以在需要时加载这些视图,来减少内存使用量并加快渲染速度。
Define a ViewStub
View ...