Browse by Tags

All Tags » performance (RSS)

Caching WCF javascript proxy on browser by Omar AL Zabir on things you don't find easily

When you use WCF services from Javascript, you have to generate the Javascript proxies by hitting the Service.svc/js. If you have five WCF services, then it means five javascripts to download. As browsers download javascripts synchronously, one after...

Memory Stream Multiplexer–write and read from many threads simultaneously by Omar AL Zabir on things you don't find easily

Here’s an implementation of MemoryStream like buffer manager where one thread can write and many threads can read simultaneously. Each reading thread gets its own reader and can read from the shared stream on its own without blocking write operation or...
Filed under: , ,

Scaling ASP.NET websites from thousands to millions–LIDNUG by Omar AL Zabir on things you don't find easily

Here’s the recent presentation made on LIDNUG on scaling ASP.NET websites from thousands to millions of users. Scaling ASP.NET websites from thousands to millions of users by Omar AL Zabir Here’re the slides. Scaling asp.net websites to millions of users...

Browse internet faster and save power using a smart HOSTS file by Omar AL Zabir on things you don't find easily

Internet is full of flash ads nowadays that make page load slower, render slower and consumes more CPU, thus power. If you can browse without having any flash ads or in fact any ads loaded and without any of the tracking scripts – you can browse...

MVP Open Day 2011 at Cambridge by Omar AL Zabir on things you don't find easily

Microsoft Research arranged MVP Open Day 2011 at Cambridge on Oct 24, 2011. Beautiful university, made me feel like giving up my job and going back to study. Amazing research work going there, very thought provoking. The session on DNA programming was...

Prevent ASP.NET cookies from being sent on every css, js, image request by Omar AL Zabir on things you don't find easily

ASP.NET generates some large cookies if you are using ASP.NET membership provider. Especially if you are using the Anonymous provider, then a typical site will send the following cookies to every request when a user is logged in, whether the request is...

Tweaking WCF to build highly scalable async REST API by Omar AL Zabir on things you don't find easily

At 9 AM in the morning, during the peak traffic for your business, you get an emergency call that the website you built is no more. It’s not responding to any request. Some people can see some page after waiting for long time but most can’t. So, you think...

Automatic Javascript, CSS versioning to refresh browser cache by Omar AL Zabir on things you don't find easily

When you update javascript or css files that are already cached in users’ browsers, most likely many users won’t get that for some time because of the caching at the browser or intermediate proxy(s). You need some way to force browser and proxy...

WCF does not support compression out of the box, so fix it by Omar AL Zabir on things you don't find easily

WCF service and client do not support HTTP Compression out of the box in .NET 3.5 even if you turn on Dynamic Compression in IIS 6 or 7. It has been fixed in .NET 4 but those who are stuck with .NET 3.5 for foreseeable future, you are out of luck. ...
Filed under: , , ,

Quick ways to boost performance and scalability of ASP.NET, WCF and Desktop Clients by Omar AL Zabir on things you don't find easily

There are some simple configuration changes that you can make on machine.config and IIS to give your web applications significant performance boost. These are simple harmless changes but makes a lot of difference in terms of scalability. By tweaking system...

Ten Caching Mistakes that Break your App by Omar AL Zabir on things you don't find easily

Caching frequently used objects, that are expensive to fetch from the source, makes application perform faster under high load. It helps scale an application under concurrent requests. But some hard to notice mistakes can lead the application to suffer...

Production Challenges of ASP.NET Website – recording of my talk by Omar AL Zabir on things you don't find easily

“It works in my PC”, the common dialog from Developers. But on production CPU burns out, disks go crazy, your site stops responding every now and then, you have to frequently recycle application pool, or even restart windows to bring things back to normal...

Building High Performance Queue in Database for storing Orders, Notifications, Tasks by Omar AL Zabir on things you don't find easily

We have Queues everywhere. There are queues for asynchronously sending notifications like email and SMS in most websites. E-Commerce sites have queues for storing orders, processing and dispatching them. Factory Assembly line automation systems have queues...

Munq is for web, Unity is for Enterprise by Omar AL Zabir on things you don't find easily

The Unity Application Block (Unity) is a lightweight extensible dependency injection container with support for constructor, property, and method call injection. It’s a great library for facilitating Inversion of Control and the recent version supports...

Keep website and webservices warm with zero coding by Omar AL Zabir on things you don't find easily

If you want to keep your websites or webservices warm and save user from seeing the long warm up time after an application pool recycle, or IIS restart or new code deployment or even windows restart, you can use the tinyget command line tool, that comes...
More Posts Next page »
Powered by Community Server (Non-Commercial Edition), by Telligent Systems