陈小峰(iefreer)的专栏

踏得网创始人,Stone 3D作者。

  • 博客(5)
  • 资源 (5)
  • 收藏
  • 关注

原创 cakephp session lose when moving from ssl to non-ssl

<br />When we enable ssl for login/purchase related requests. it usually lose session when moving from ssl to non-ssl which might lead to you lost login status.<br /> <br />Workaround is to disable the session transition in cake core. <br />Below workaroun

2011-01-23 22:29:00 1810

原创 网站性能提高实战经验点滴记录

DB:1.数据库可以适当设计一些冗余字段来减少联合查询2.经常查询的字段要建立索引3.查询内容尽量简洁, 比如cakephp中的查询尽量设置$this->recursive=-14.数据库用单独的服务器,有条件的常用查询数据单独分库HTTP Request:1.调节apache增大服务器并发处理连接数2.压缩js/css减少客户请求连接数3.尽量使用离线数据库,少调用远程http service(geoip service, google map...).至少要设置合理的请求超时时间。4.图片、静态资源用专

2011-01-13 20:04:00 1778 2

转载 [转]理解Linux CPU 负载-什么时候该担心

Understanding Linux CPU Load - when should you be worried?<br /><br />You might be familiar with Linux load averages already. Load averages are the three numbers shown with the uptime and top commands - they look like this: load average: 0.09, 0.05,

2011-01-11 12:28:00 2603

原创 [CakePHP]How to use Session in conjunction with Memcache

<br />Cakephp default session is saved in the configuration /etc/php.ini,<br />this was defined in app/config/core.php:<br />    Configure::write('Session.save', 'php');<br /> <br />most likely it looks as below:<br />    session.save_handler = files<br />

2011-01-09 01:35:00 3089

原创 Linux inode耗尽导致图片/文件无法上传

<br />网站后台上传文件一直没有问题,突然不能上传。且无错误提示。<br />查看磁盘空间使用情况:<br />[root@srv-jigocity-web1 iplocate]# df -m<br />Filesystem           1M-blocks      Used Available Use% Mounted on<br /><br />/dev/mapper/datavg-www<br />                          6048      3594

2011-01-08 22:24:00 4984 1

Atomikos Transactions Guide

You should read this guide if you fall into one of the following categories: • You want to use Atomikos TransactionsEssentials. • You want to add transaction support to your J2SE application. • You want to understand a bit more about JTA.

2013-03-16

Android 三维图形演示代码

关于Android开发指南一文的三维图形演示应用程序,使用OpenGL ES技术,即Tunnel3D,代码来自网络,修改了若干编译问题。在G1上测试通过。

2009-10-01

一种新的Windows Mobile软件架构

本文详细讲解了一个简洁干净的基于windows mobile平台和.Net Compact Framework框架上的移动应用程序的开源架构实现

2009-07-30

Python文件重命名工具

可遍历替换某用户指定目录下所有文件名中的关键字. 如把c:\myproject下所有文件名中的sun关键字替换成hpux,且遍历所有子目录.

2009-07-25

windows mobile 程序异常问题定位指南

本文全面深入的阐述了windows mobile平台上程序异常处理的几个关键问题:1. windows mobile平台的内存管理机制2. 如何使自己的应用程序具备结构化的异常处理能力3. 如何在客户现场发生异常且不可复现的情况下,迅速离线定位到准确的代码行和调用逻辑(本文适用于所有windows mobile 5.x 6.x平台,因为工作环境的原因,用英文撰写)

2009-03-07

空空如也

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

TA关注的人

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