最新文章列表

基于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. ...
Stark_Summer 评论(0) 有2815人浏览 2015-05-20 14:45

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 % ...
michael_roshen 评论(0) 有553人浏览 2015-05-05 13:31

asp.net性能优化

今天碰到了一个问题,asp.net应用中双机的一台间歇性的出现cpu占用率100%的情况,而另外一台基本稳定在50%以下较为稳定,初步的跟其他工程师沟通,程序中没有复杂的算法和很深的循环等。 下面记录下简单的分析过程: 1、应用做了基于F5负载均衡,另外一台cpu占用比较低而且稳定证明并发并不是很高。 2、在并发不高,没有复杂算法的前提下,初步断定不是gc时产生的压力,而且cpu占用率较高 ...
campolake 评论(0) 有773人浏览 2015-03-31 22:09

性能的一些基本概念和原则

参考:《Thinking Clearly about Performance》   两个指标 响应时间:执行一个任务所耗费的时间 吞吐量:在指定的单位时间内执行任务的个数     响应 ...
草料场 评论(0) 有713人浏览 2015-03-17 17:25

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 ...
darrenzhu 评论(0) 有1212人浏览 2015-03-17 15:57

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 ...
darrenzhu 评论(0) 有1651人浏览 2015-03-17 11:19

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 ...
zccst 评论(0) 有941人浏览 2015-03-14 16:34

测试方式

测试方法 1、按是否查看程序内部结构分为: (1)黑盒测试(black-box testing):只关心输入和输出的结果 (2)白盒测试(white-box testing):去研究里面 ...
chenjiayi302 评论(0) 有323人浏览 2015-01-19 10:49

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. 示例图 ...
mutongwu 评论(0) 有3330人浏览 2014-12-10 17:16

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 ...
飞奔的熊猫 评论(0) 有980人浏览 2014-11-10 11:13

什么时候用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 ...
zhuzhiguosnail 评论(0) 有880人浏览 2014-10-24 12:54

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 = ? ...
dearls 评论(0) 有928人浏览 2014-10-22 17:47

spring-petclinic性能调优实战

1.spring-petclinic介绍 spring-petclinic是spring官方做的一个宠物商店,结合了spring和其他一些框架的最佳实践。 架构如下: 1)前端 Thymeleaf做HTML模板引擎或纯JSP加Tag CSS采用Bootstrap webjars用来管理客户端依赖 Dandelion做表格 2)后端 Controller,用Spring MVC, Bean Val ...
xpenxpen 评论(1) 有9554人浏览 2014-10-22 14:45

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 ...
zhuzhiguosnail 评论(0) 有612人浏览 2014-10-07 10:15

JAVA并发编程学习笔记之CLH队列锁

(非原创) NUMA与SMP SMP(Symmetric Multi-Processor),即对称多处理器结构,指服务器中多个CPU对称工作,每个CPU访问内存地址所需时间相同。其主要特征是共享,包含对CPU,内存,I/O等进行共享。SMP的优点是能够保证内存一致性,缺点是这些共享的资源很可能成为性能瓶颈,随着CPU数量的增加,每个CPU都要访问相同的内存资源,可能导致内存访问冲突,可能会导致 ...
森林的天空 评论(0) 有607人浏览 2014-06-04 10:38

Android性能优化系列---Improving Layout Performance(四)

         Making ListView Scrolling Smooth           让ListView平滑滚动的关键在于将程序的主线程(UI线程)从大量的处理中解脱出来。要要保证用单独的线程来进行磁盘,网络或SQL操作。想要测试你的程序的状态, 你可以开启StrictMode。           Use a Background Thread          使 ...
xhmj12 评论(0) 有980人浏览 2014-05-09 15:41

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 ...
zha_zi 评论(0) 有1487人浏览 2014-05-09 15:03

Android性能优化系列---Improving Layout Performance(三)

Improving Layout Performance(三)   Loading Views On Demand           有时你的布局可能需要一些复杂却又很少被用到的视图。无论他们是item详情、进度指示器,或撤销的消息,你都可以在需要时加载这些视图,来减少内存使用量并加快渲染速度。             Define a ViewStub         View ...
xhmj12 评论(0) 有1206人浏览 2014-05-09 15:02

最近博客热门TAG

应用服务器(43289) Spring(40812) Hibernate(33330) Tomcat(28345) 框架(27200) 设计模式(24056) Servlet(23314) Struts(22805) Bean(22194) 企业应用(18270) thread(15826) 多线程(14801) SUN(11436) 虚拟机(11382) Cache(11314) Security(8002) SSH(7109) DAO(6880) MVC(6206) AOP(6187)

博客电子书下载排行

    >>浏览更多下载

    相关资讯

    相关讨论

    Global site tag (gtag.js) - Google Analytics