当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言: source:http://msdn.microsoft.com
 

 

    摘要:中国软件行业的出路在哪里?看看一对网友的对白吧,也许你可以得到一些答案 夏日的风 11:23:16 最近忙什么呀? 知己 11:03:13 人事考勤的最后阶段和进销存的总体规划夏日的风 11:24:24 是吧.就你自己一个人做的吗? 知己 11:03:57 另外在绍兴的分部招聘了一些人,下个月要进行培训知己 11:04:23 软件就我一个人做,其他人做销售和实施工作夏日的风 11:25:03 是......
 ·用jbuilderx开发web应用程序    »显示摘要«
    摘要:borland公司的jbuilder是世界领先的java开发环境。目前最新版本jbuilderx是一个开发企业级java应用的综合性跨平台环境,它在使jbuilder屡获殊荣的性能上,增加了很多新的特性,从而成为目前最强大的 java可视化开发环境。本文将通过一个简单的web项目,使您快速进入jbuilderx的殿堂。全文阅读:用jbuilderx开发web应用程序 ......


Use Cache, Save Cash
source:

http://msdn.microsoft.com/library/default.asp 【程序编程相关:X86汇编语言学习手记(2)

【推荐阅读:Do All in Cmd Shell

【扩展信息:Java 建模:UML 工作簿,第 1

begin:

rob howard

telligent systems, inc.

october 24, 2004

summay: learn how to use database cache invalidation in asp.net 1.1 with a similar technique as the one used by asp.net 2.0. (8 printed pages)

ok, the title is a little tongue-in-cheek, but it got your attention right? the asp.net cache is by far one of my favorite asp.net features. why? because by using the cache you can gain some fantastic performance and scalability results, which can be easily measured and translated to real dollar savings for your application. this makes you the favorite code-monkey of your cto because you impacted the all-important return on investment (roi) of the application. in other words, the cache does save cash!

at a high-level, in asp.net 1.1, the cache is implemented as a hashtable supporting the concepts of a least recently used (lru) algorithm to ensure that if memory is needed, items can be removed from the cache—a set of programming interfaces for inserts and removing items from the cache—and finally the notion of dependencies, supporting time, file, and key dependencies.

the dependency model is one of the more important features of the cache because it allows statements such as: at this point in time, this item in the cache will no longer be valid (time based dependency). if this cache entry changes, this other cache entry is also invalid (key based dependency). if this file changes, this item in cache is no longer valid (file based dependency).

when programming with the cache, you always check to see if the item exists before using it. thus, when working with the cache it´s a good idea to follow the pattern below:


...   下一页
 ·试用qemu,安装个freebsd 5.3    »显示摘要«
    摘要: 相信大家都听说过qemu吧.qemu是和bochs一样有名的虚拟机.只不过性能以及功能相对来说会比bochs好一点.比如支持iso安装以及网置的dhcp网关以及兼容bochs的img映象,为什么不运行qemu呢?呵呵,当然也有缺点了,只是有时候运行得不稳定,而且切换鼠标的快捷键设计得不合理,用的是ctrl+shift这两个键. 先将就吧. 嗯.考虑到大家都是用windows的.我就写一个在......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE