码迷,mamicode.com
首页 >  
搜索关键字:apache nginx    ( 57724个结果
webService-cxf
官网必备包,自己研究api:http://cxf.apache.org/download.html然后就是一个简单的例子了: 先服务端: package com.cxf;import javax.jws.WebParam;import javax.jws.WebService;@WebSer...
分类:Web程序   时间:2014-05-21 23:26:17    阅读次数:479
ECOS高可用集群
此架构由8台PC 、2台防火墙、2台24口三层交换机组成,注意点:1)Load Balance:Haprxoy+keepalived 实现高可用。2)web:Nginx+php-fpm3)DB:mysql5主从+Mongodb副本+Memcached4)IMG:Varnish+Nginx+NFS网卡...
分类:其他好文   时间:2014-05-21 22:50:12    阅读次数:305
2C01-View-Layout-Animation-Grid-Fade
介绍一个grid layout 顺序显示的代码 LayoutAnimation1.java /* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use th...
分类:其他好文   时间:2014-05-21 16:58:47    阅读次数:214
java操作excel2010
首先需要下载poi,我建议使用我使用的,以免出现其他问题!以下代码测试正常! package com.ijustyce.xlsx; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import org.apache.poi.ss.usermodel.Cell; import o...
分类:编程语言   时间:2014-05-21 11:34:02    阅读次数:346
Apache优化与提供并发数量
问题: 我们用lvs做了负载均衡,使用了两台服务器做login的服务,以及二次资源下载服务。但是在推广过程中,陆续有人反映服务器登录困难。 解决过程: 1、首先我们查看流量日志以及服务器cpu与内存使用情况,发现每隔一段时间流量以及cpu使用情况都会急剧下降一次。而且两台登录服务器会循环出现连接不上的情况。查看lvs  message日志    /var/log/message l...
分类:其他好文   时间:2014-05-21 11:27:18    阅读次数:303
2C02-View-Layout-Animation-list-Cascade
描述list layout item有上倒下依次显示的代码实现形式 LayoutAnimation2.java /* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may no...
分类:其他好文   时间:2014-05-21 09:02:15    阅读次数:250
懒人用 php + nginx + mysql + redis
懒人用 php + nginx + mysql + redis...
分类:数据库   时间:2014-05-21 08:43:16    阅读次数:479
2C03-View-Layout-Animation-list-Reverse-Order
介绍list  item倒序显示 LayoutAnimation3.java /* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file e...
分类:其他好文   时间:2014-05-21 08:25:44    阅读次数:278
Nginx担当WebSockets代理
Nginx担当WebSockets代理英文原文:http://nginx.com/blog/websocket-nginx/作者:chszs,转载需注明。博客主页:http://blog.csdn.net/chszsWebSocket 协议提供了一种创建支持客户端和服务端实时双向通信Web应用程序的方法。作为HTML5规范的一部分,WebSockets简化了开发Web实时通信程序的难度。目前主流的...
分类:Web程序   时间:2014-05-21 07:54:34    阅读次数:457
网页性能智能优化——Apache扩展mod_pagespeed
本文主要介绍出自谷歌公司的Apache扩展模块mod_pagespeed。该模块的目标是提高网页的加载速度。具体的实现方法主要是通过优化html代码、css代码、js代码、缩放图片来减少请求数量、请求流量,从而提高网页的加载速度。 ? 我们首先展示一下插件的效果。下图是还没有开启mod_pagespeed模块的情况。 在这种情况下,页面中充斥着大量空格,以及很长的...
分类:Web程序   时间:2014-05-21 07:51:47    阅读次数:460
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!