mohit | Shared With: Everyone - Feb 21 2008 | books, todo, toread, faves, performance, development, web development
mohit | Shared With: Everyone - Oct 12 2007 | mysql, sql, performance, databases, development, replicationYou have to assume that there will be replication lag. Having said that, chopping up long queries into smaller ones (if using replication) is a good rule of thumb.
Quoted: And the final advice - do not assume very short lag time when planning your application. Having application which can adapt to lag time rather than break is very good idea. Especially it will be handy when you will be reaching replication capacity and will need to buy time to fix things, during which replication lag can be higher than normally.
mohit | Shared With: Everyone - Sep 24 2007 | development, .net, c#, performance
mohit | Shared With: Everyone - Aug 15 2007 | development, mysql, databases, performanceQuoted: Today I would like to share practical example when you may use long primary key with value distribution far from sequential.
...
This table is getting much more reads than writes so transactional overhead of for writes is small price to pay for number of benefits - caching data and index in memory -so cached lookups are very fast, clustering by primary key
mohit | Shared With: Everyone - Jul 24 2007 | development, c#, asp.net, performance, caching, .net
mohit | Shared With: Everyone - Jul 24 2007 | development, asp.net, performance, c#, .net
Some great tips in here.
Quoted: Web App Follies: Keep Sites Running Smoothly By Avoiding These 10 Common ASP.NET Pitfalls -- MSDN Magazine, July 2006
...
LoadControl and Output Caching
Sessions and Output Caching
Forms Authentication Ticket Lifetime
View State: The Silent Perf Killer
SQL Server Session State: Another Perf Killer
Uncached Roles
...
mohit | Shared With: Everyone - Jul 21 2007 | development, mysql, performance, connector, .net
We're using 1.0.7 -- making these changes has helped our performance in our test environment.
Quoted: The 2 I'm mainly interested in are CacheServerConfig and ResetPooledConnections, as in 1.0.7 these made such a difference that (for our application) the connector went from unusable to very efficient. Now, with the 1.0.9 source, it looks like the 3 accepted options for connection reset ("reset pooled connections", "resetpooledconnections", "reset connections") have been replaced with 1: "connection reset". As for CacheServerConfig, it simply doesn't exist any more. The code where it came into play has been changed (if my quick interpretation is correct) to always behave as if it were set to TRUE in 1.0.7. What's the logic of *removing* configurability?
mohit | Shared With: Everyone - Apr 11 2007 | development, mysql, performance, databasesQuoted: Looking at how people are using COUNT(*) and COUNT(col) it looks like most of them think they are synonyms and just using what they happen to like, while there is substantial difference in performance and even query result.
mohit | Shared With: Everyone - Jan 12 2007 | development, mysql, performance, falconQuoted: Now as new MySQL Storage engine - Falcon is public I can write down my thought about its design, which I previously should have kept private as I partially got them while working for MySQL.
mohit | Shared With: Everyone - Oct 03 2005 | development, performanceQuoted: In this article, I'm going to present 10 tips for writing high-performance Web apps. I'm not limiting my comments to ASP.NET applications because they are just one subset of Web applications. This article won't be the definitive guide for performance-tuning Web applications—an entire book could easily be devoted to that. Instead, think of this as a good place to start.
Related Content from Around Faves
performance
-
1 FaverViewed: 13 TimesQuoted: When you install your Windows XP system, the installation process adds some default configuration settings in the registry. These registry settings control the way your ...
- seregine - 19 days ago1 FaverViewed: 9 Times
- ChargedAudio2 - 12 days ago3 FaversViewed: 6 Times
developer
-
You need to use an ASP:Button and not just an input if you want client-side validation in ASP.Net.
1 FaverViewed: 10 TimesQuoted: The onclick attribute, along with the script, is added inside the AddAttributesToRender method of the Button control. The WebForm_DoPostBackWithOptions function can be examined in the rendered web resource JavaScript file within Visual Studio 2005, as explained in the above section. This function is in the resource file named WebForms.js. The function takes an argument of type WebForm_PostBackOptions. This function is also responsible for invoking the Page_ClientValidate function, which sets the value of the Page_IsValid member. The complete validation process triggered by the click of a button process can be summarized in the workflow below.
- talios - 4 days ago2 Favers
- mohit - 5 days ago1 FaverViewed: 4 Times



