stargeek
PHP news website logo.
home    PHP scripts    articles    seo tools    links    search    contact    shop    realtors


MSDN: The Quest for ASP.NET Scalability







MSDN: The Quest for ASP.NET Scalability

MSDN: The Quest for ASP.NET Scalability 05/26/2004 01:49 PM

A little bit of cross-pollenization never hurt anyone. There's a lot to be learnt from .NET:

At the height of the dot-com boom in the mid-1990's, many companies burst onto the scene as Application Services Providers (ASPs) hoping to capitalize on the wave of Internet success stories, and rake in some loot. Aside from the unfortunate market collapse that followed, ASPs had other issues to deal with such as training staff to effectively build and manage a secure, reliable and highly available operation.

Today, Web-enabling architecture is prevalent, particularly since Web services have become a staple for most applications, and the growing pains of ASPs past are feeding businesses everywhere with a hunger for successful implementations for 24x7 applications. As Service-Oriented Architectures (SOA) themes spread across organizations, applications are now reaching wider audiences than ever before. Gone are the days where you can sling some code, ship product, and cross your fingers.

The key points that i see addressed in this article:

  1. You need to be able to handle long-running jobs, and you can do that by storing the job in a queue to be handled later by a background process. In the PHP world, this can be implemented by storing a queue of jobs in a database table or shared memory. Then you have a background process monitoring this table for new jobs to run.

  2. Distributed processing to spread the load. COM+ is discussed. In PHP, we could use XML-RPC or SOAP to work with a set of distributed servers.

  3. And when you have distributed processing, you might need to synchronize distributed transactions. This is something that's difficult to implement in PHP, and it is probably best to structure your design to allow only a single master software to perform data synchronization, instead of allowing multiple masters.

    For example, in the typical PHP-distributed MySQL scenario, you would have one single master database which you write to, and multiple read-only slave databases to which the changes are replicated to.




This is a GrokNews Entry: (what is grok?)





Similar Items

MSDN: The Quest for ASP.NET Scalability

Grok Headline matches for MSDN: The Quest for ASP.NET Scalability

The Quest for ASP.NET Scalability


The Quest for ASP.NET Scalability 05/31/2004 11:39 PM
At the height of the dot-com boom in the mid-1990's, many companies burst onto the scene as Application Services Providers (ASPs) hoping to capitalize on the wave of Internet success stories, and rake in some loot. Aside from the unfortunate market collapse that followed, ASPs had other issues to deal with such as training staff to effectively build and manage a secure, reliable and highly available operation. Today, Web-enabling architecture is prevalent, particularly since Web services have become a staple for most applications, and the growing pains of ASPs past are feeding businesses everywhere with a hunger for successful implementations for 24x7 applications. As Service-Oriented Architectures (SOA) themes spread across organizations, applications are now reaching wider audiences than ever before. Gone are the days where you can sling some code, ship product, and cross your fingers.

MOM FAQ: DCAM Scalability


MOM FAQ: DCAM Scalability 07/21/2004 05:59 PM

Webl0g scalability


Webl0g scalability 03/12/2003 11:33 AM

Chris Anderson How many people should I expect to host on a 512MB machine?

Mark Pilgrim's and my blogs are hosted on the same machine, and combined get a fair amount of traffic.  This currently is a 1Ghz AMD Duron processor w/512MB.

CPU and memory usage was not a problem even when my blog was dynamically generated via CGI for every request.

I'm very curious about your XML formats both for interchange and persistence.  Is this documented somewhere?


The scalability myth


The scalability myth 08/19/2004 12:45 AM
At one time or another, nearly every kind of information technology has been judged and found wanting. The failures are often summed up in that most damning of epithets: "It doesn't scale." The reason, of course, is that at one time or another, for one reason or another, every kind of information technology has failed to scale.

Unfortunately for the victims tarred with that brush, scalability is a wildly imprecise term. Applications may be expected to scale up to massive server farms or scale down to handsets. And size is only one axis of scalability. Others include bandwidth, transactional intensity, service availability, transitivity of trust, query performance, and the human comprehensibility of source code or end-user information display.

...

It's tempting to conclude that the decentralized, loosely coupled Web architecture is intrinsically scalable. Not so. We've simply learned -- and are still learning -- how to mix those ingredients properly. Formats and protocols that people can read and write enhance scalability along the human axis. Caching and load-balancing techniques help us with bandwidth and availability. But some kinds of problems will always require a different mix of ingredients. Microsoft has consolidated its internal business applications, for example, onto a single instance of SAP. In this case, the successful architecture is centralized and tightly coupled.

For any technology, the statement "X doesn't scale" is a myth. The reality is that there are ways X can be made to scale and ways to screw up trying. Understanding the possibilities and avoiding the pitfalls requires experience that doesn't (yet) come in a box. [Full story at InfoWorld.com]
Based on the reaction so far, it seems like this piece went over well. It's so nice to be able to track reactions that way. ...

PHP Scalability Critique


PHP Scalability Critique 07/17/2004 04:11 PM

Experiences of Using PHP in Large Websites: This is a well-written, well-researched, but ultimately damning indictment of PHP's use in "large Web sites."

The conclusion arrived at is that, in some circumstances at least, PHP's tendency to create more problems than it solves makes it an inappropriate choice. However, we also recognise that there are some situations in which PHP is to be used.

I agree with a lot of what's written here, but they're not roadblocks that have ever really hindered me. If you abstract your code well, and you're not working on a site with a lot of other people (I usually work alone), most of these problems are non-events.

Yes, function naming is goofy. Yes, there are no namespaces. Yes, the whole magic quotes concept is a pain. But I still write better stuff faster with PHP than with any other langauge.

They talk about templating and code separation early on, and the perfectly describe what has become my de facto templating method:

Divide every PHP page up into two parts: the former performs database queries and does whatever else is needed to calculate the content for the page, before storing the calculated content into a series of variables which — and this is crucial — contain no markup. Then the latter part of the page can simply embed variable values into HTML markup, using loops where appropriate to traverse potentially-complex data structures containing the actual content.

I actually have two files — the actual code, then a ".tpl" file that's included at the bottom of the code. That way, two vastly different sets of code can use the same template. I know this isn't perfect, and Joe never hesitates to tell me that I should be using Smarty instead, but it works well for me without the (1) need to learn another language syntax, and (2) the additional overhead required for template processing.

Thank to Jo nathon Hollin for this link.

Click here to comment on this entry


Syndication Scalability Problem


Syndication Scalability Problem 09/08/2004 07:44 PM

Scoble writes:

RSS is broken, is what happened. It's not scalable when 10s of thousands of people start subscribing to thousands of separate RSS feeds and start pulling down those feeds every few minutes (default aggregator behavior is to pull down a feed every hour).

Bandwidth usage was growing faster than MSDN's ability to pay for, or keep up with, the bandwidth. Terrabytes of bandwidth were being used up by RSS.

So, they are trying to attack the problem by making the feeds lighter weight. I don't like the solution (I've unsubscribed from almost all weblogs.asp.net feeds because they no longer provide full text) but I understand the issues.

I know of a major broadcaster that refuses to turn on RSS feeds because of this issue too. We need smarter aggregators and better defaults.

I think it's high time we addressed this problem and I think the upcoming BloggerCon is the right place to do it.

We need to 'teach' syndication clients to speak with servers and other clients at more intelligent level than that of a spoiled child screaming GIVE ME GIVE ME endlessly.  We need more than just technical solutions.  We need to introduce ways to reward clients that improves scalability and punish bad clients that hog resources selfishly.


Linux Scalability Effort


Linux Scalability Effort 12/04/2003 07:17 PM
Using OSDL machines for testing code

Toilet Paper Scalability


Toilet Paper Scalability 03/14/2005 06:06 PM

Here's a fun example of why scalability is hard: What problems do you run into by going parallel on your toilet paper dispenser?

Although most homes have only single roll holders, most commercial establishments have long ago switched to devices that hold multiple rolls. We decided to install one, so we purchased holder of two rolls, side by side.

We discovered that although we now had two rolls instead of one, the problem was not solved. Both rolls ran out at the same time. Sure, it took twice as long before the rolls emptied, but we were still stuck with the same problem: no more paper. We had discovered that the switch to two rolls meant we had to use more sophisticated behavior: the algorithm for tearing of paper mattered.

A fun article with a good look into how computer nerds look at the world, but it also hints at actual issues with scalability: More does not automatically equal better.


High Performance PHP: Scalability


High Performance PHP: Scalability 07/02/2004 06:35 AM

We need barking dogs to fix "The PHP
Scalability Myth"


We need barking dogs to fix "The PHP
Scalability Myth"
10/29/2003 12:11 AM
This above link is a great article, but you must be an asphyxiating ostrich burrowed in the sand to say that PHP doesn't scale. It's not that slow a programming language, it has few bottlenecks, and perhaps most important - there are many case studies of large web sites using it for mission critical work (eg. Lufthansa's online booking and Yaho o).

However I do feel something is still missing from PHP. Not in the language per se, but in the conceptual overview. What we really need are dogs barking and cats meowing in our very own virtual Pet Shop. For people who don't understand this reference, the Pet Shop is famous web application created to demonstrate best practices in scalability and software design for J2EE and .NET.

In contrast, there is no reference PHP Pet Shop, and no accepted and well-documented methodology on how to create scalable web-sites with PHP. So you need to be very smart, or get the advice of technical gurus to keep everything scalable and running smoothly. It's no accident that Yahoo, perhaps the biggest web-site that has invested heavily in PHP, employs so many cool cats who have a deep knowledge of PHP such as Rasmus and Andrei.

Update: Slashdot discusses this article. I liked this comment best:

The sad reality is that so few developers know enough to fully exploit J2EE that they wind up doing little more than what PHP does better in the first place.

True wisdom is knowing your limitations (18 Oct 2003).

Mid-Sized Firms Should Consider
Scalability and Availability


Mid-Sized Firms Should Consider
Scalability and Availability
04/23/2004 01:48 PM
theWHIR Apr 23 2004 5:08PM GMT

.NET and J2EE Performance and
Scalability Benchmarks


.NET and J2EE Performance and
Scalability Benchmarks
06/10/2004 05:51 PM
This webcast covers .NET and J2EE Performance and Scalability Benchmarks.

ApacheCon 2004: Real World Scalability


ApacheCon 2004: Real World Scalability 12/19/2004 03:43 PM
If you are at ApacheCon, then come see my talk on Wednesday at 1.30pm in Parthenon 4; it'll be fun. It's quite language agnostic, so it'll be worthwhile wether you do PHP, Perl, Ruby or something entirely different. Here's the blurp from the program: YOU can play with the Big Boys and do thousands of dynamic requests per second. Some extra thought into the overall architecture beats the pants off any amount of micro-optimizations. You'll learn exactly how to do...

Clearing Some Haze from the
x86-with-Extensions Scalability Daze.


Clearing Some Haze from the
x86-with-Extensions Scalability Daze.
07/28/2004 12:45 AM
Shannon Knows HPC: Clearing Some Haze from the x86-with-Extensions Scalability Daze. If Itanium is restricted to the 32-way-and-above market, it has already lost.

Navtel's VoIP Performance & Scalability
Test Platform Now Combined with an SIP
Expert Analysis Tool!


Navtel's VoIP Performance & Scalability
Test Platform Now Combined with an SIP
Expert Analysis Tool!
02/05/2005 09:23 PM
Navtel has announced the immediate availability of "SIP Discovery". It sets new standards of excellence for users who require the most complete, automated, easy to use SIP testing solution available on the market today. Providing extensive statistics on the status of a network, or any entity that composes this network, as well as all the necessary troubleshooting information in a very intuitive graphical user interface, SIP Discovery is the only SIP expert analysis tool that significantly reduces fault identification/resolution cycles, ultimately saving costs to both carriers and equipment manufacturers. [PRWEB Feb 3, 2005]

Pronexus Continues to Innovate, Delivers
VBVoice 5.3 - Unparalleled Performance &
Scalability for IVR & Telephony
Development in High Density Environments


Pronexus Continues to Innovate, Delivers
VBVoice 5.3 - Unparalleled Performance &
Scalability for IVR & Telephony
Development in High Density Environments
01/06/2005 04:36 AM
Computer Telephony and Speech Developers Benefit From Advanced Resource Management, Broad Support for Dialogic Hardware and a Management Console with Optional Source Code [PRWEB Jan 6, 2005]

"Peasant's Quest"


"Peasant's Quest" 08/06/2004 10:15 PM

The Quest for Interoperability


The Quest for Interoperability 03/14/2003 01:28 AM
For years, enterprise software firms have used the promise of interoperability to sell their wares and the lack of it to chastise their competition. But now that Web services have arrived, and products such as the UAN are becoming a reality, interoperability is no longer such a weighty issue. Or is it?

The quest for KISS


The quest for KISS 08/09/2004 05:37 AM
Adam Bosworth's latest call to "keep it really simple, really lightweight, and really fast" resonated instantly with ...

Stats Quest


Stats Quest 03/11/2003 02:00 PM
On Paul’s recommendation, I checked out Re_Invigorate. I also found HotStats in my referrers, so I’m running them both on...

The Quest for the Nonkiller App.


The Quest for the Nonkiller App. 07/24/2004 09:49 PM
The Pentagon is developing a new class of sci-fi-like "nonlethal" weapons. But will they make war any safer or easier?

Quest for the Crown


Quest for the Crown 01/28/2004 07:02 AM
the best flash based adventure game EVER .. The Quest For The Crown .. jogo online

lanceandeskimo.com/flash/quest.html
track this site | 5 links


Peasant's Quest


Peasant's Quest 08/03/2004 04:30 PM
Monday Flash Wonderment .. Peasant's Quest

homestarrunner.com/disk4of12.html
track this site | 4 links


New claim in quest to buy MCI


New claim in quest to buy MCI 04/04/2005 07:03 PM
International Herald Tribune Apr 4 2005 10:58PM GMT

"Quest for the Crown"


"Quest for the Crown" 01/29/2004 03:49 AM

Snake Quest 1.1


Snake Quest 1.1 05/03/2004 03:12 PM
This is an addictive game that follows in the line of classic snake games.

Quest for meaning at arcade


Quest for meaning at arcade 01/25/2004 06:21 AM
Los Angeles Times Jan 25 2004 9:38AM GMT

Cyberchase: The Quest Debuts On The Web


Cyberchase: The Quest Debuts On The Web 12/22/2004 01:07 AM
The new character-driven adventure game is based on the popular PBS KIDS GO! cartoon. Cyberchase: The Quest is a cutting edge interactive Web game that lets kids create their own cyber characters, and go on action-packed quests throughout Cyberspace, all while developing money-management skills to help defeat the bad guys.

The quest for the IT Holy Grail


The quest for the IT Holy Grail 09/16/2004 05:17 AM
Opinion What's its secret? Productivity

Quest to pay CA $16M to settle lawsuit


Quest to pay CA $16M to settle lawsuit 03/24/2005 07:44 PM
Quest Software will pay $16 million plus royalties to Computer Associates to settle a 2002 lawsuit in which CA had accused Quest of illegally using its source code.

Inherit the Earth: Quest for the Orb 1.0


Inherit the Earth: Quest for the Orb 1.0 06/01/2004 11:14 PM
Your goal is to guide Rif on his adventure, find clues to locate a thief, and solve challenges along the way.

Bringer of Light: The Quest


Bringer of Light: The Quest 11/03/2003 04:21 AM
Slow progress in the project.

PC Quest seminars for SMEs


PC Quest seminars for SMEs 08/04/2004 06:55 PM
The Hindu Business Line Aug 4 2004 11:20PM GMT

Metamath! The Quest for Omega


Metamath! The Quest for Omega 06/11/2004 02:34 PM

Google's quest for gold


Google's quest for gold 08/19/2004 09:06 PM
CNET News.com Aug 19 2004 11:55PM GMT

Genentech's Cancer Quest


Genentech's Cancer Quest 04/12/2005 11:43 AM
The company's achievements in lung cancer further strengthen its reputation as a cancer fighter.

Quest for 6 - Lance and the Le Tour


Quest for 6 - Lance and the Le Tour 07/03/2004 02:10 AM
Lance Armstrong - Le Tour de France It is that time of the year again T-Minus 8 Hours until the kick off of the Greatest Cycling Event in the World.....2004 Le Tour De France. Lance Armstrong is the Favored again to Win his 6TH Title in a row! In order to watch, listen and follow the race check out: Lance's official Fan club website or Le Tour's Official Daily Posting and Standing, lastly those of you who will need their daily fix without a computer Daily Results can be sent to your wireless phone via text messages. This will be a very exciting time from July 3 to July 25, one prologue and 20 stages and will cover a total distance of 3,390 kilometers or 2,106.5 miles. Go Lance.....Wear Yellow Live Strong!

MSDN TV: First Look at ADO.NET 2.0


MSDN TV: First Look at ADO.NET 2.0 04/15/2004 06:30 PM
ADO.NET 2.0 extends and enhances ADO.NET in multiple directions. A faster disconnected stack, a cleaned-up programming model, including support for provider-independent applications, and support for the latest SQL Server 2005 features are a few of the new cool stuff we’re adding in the next release. This quick peek at ADO.NET covers some of the disconnected stack enhancements, shows what the new provider-independent model looks like and briefly covers the new batching support in the connected stack.

PeopleAnswers Breaks New Ground in
Employment Testing with Geographic
Mapping - First of its Kind Release
Allows for Greater Ease of Use and
Scalability of Behavioral Assessment
Technology to Decentralized Human
Resource Departments


PeopleAnswers Breaks New Ground in
Employment Testing with Geographic
Mapping - First of its Kind Release
Allows for Greater Ease of Use and
Scalability of Behavioral Assessment
Technology to Decentralized Human
Resource Departments
07/07/2004 06:24 AM
PeopleAnswers releases Geographic Mapping feature which allows decentralized Human Resource departments easier management of multiple locations and user rights, allowing for a truly scalable employment testing solution to even the largest, most widespread organization. The Geographic Mapping feature allows for more efficiency and consistency in the hiring and development process, saving human resource departments time and money. [PRWEB Jul 7, 2004]
Grok Description matches for MSDN: The Quest for ASP.NET Scalability
GrokA matches for MSDN: The Quest for ASP.NET Scalability

MSDN: The Quest for ASP.NET Scalability

The following phrases have been identified by the grok system as matching this entry:

















Also check out:


Grok

Ipod Porn on the
Rise

Brief Abstract of
Wikipedia's
Mesothelioma Cancer
page

Get first aid
instructions in your
cell phone

IE is crap
JSPWiki gains
podcasting support

A 3G data card for
your Mac?

Dell and EMC team up
on low-end storage

Double Vision: Two
Telescopes for
Hunting Earth-like
Planets

'Slap and ship' OK
for RFID says
analyst

PeopleSoft: Thumbs
Down to Reduced
Offer

Microsoft extends
Windows support to a
decade

Fully Arabized
Internet has some
way to go

Comcast to offer
phone service in
2006

Google me: Youth
embrace chastity
(well, some of them)

Airespace joins
WiMax Forum

Ongoing evolution
separates new media
from old

Round Up: Rock and a
hard place

Minn. City to Become
Internet 'Hot Spot'
(AP)

Microsoft Masters
the Art of the
Cutback
(washingtonpost.com)

Yahoo! News - Ark.
Family Marks Birth
of 15th Child

info-battleground04
Asian Man
[security bulletin]
SSRT4749 HP-UX Java
Runtime Environment
(JRE) remote DoS

FreeBSD Security
Advisory
FreeBSD-SA-04:11.msy
nc

SUSE Security
Announcement:
kdelibs
(SuSE-SA:2004:014)

[security bulletin]
SSRT4719 hp OpenView
Select Access remote
unauthorized access

IEBUG: Archives of
Internet Explorer

Worthless Opinions
UWB videocams
Mobile IP Telephone
Calls

Kanguru offers 4GB
flash drive

Apple Hot Deals
updated with CDW,
OWC info

Napoleon Dynamite
Sexy Androids,
Electric Sheep

Report: Russia
Guards Told to Smile
More (AP)

Italy Announces
Pizza-Making
Guidelines (AP)

Hoax Package Gets by
Sweden Post Office
(AP)

W.Va. Town to Have
Empty Election
Ballot (AP)

Hit the beach with
Hippo sweat
(Reuters)

A Little Piece Of
Home

New Dark Horse
Covers Revealed

BEA Wants to Turn
'Liquid' Into Gold

Borland Joins eBay's
Web Services
Platform

CA Backs Open Source
CMS With Zope

Anti-Gmail Bill Now
Allows Gmail

Beyond TiVo: The
Next Generation (Of
Ads)

EyesRay
Video Retransmission
System

ASTK
Face transplants in
the offing

UN debates plan for
Iraq's future

India set to
strengthen data
protection laws

Appeals Court Blocks
Ashcroft on Assisted
Suicide (Reuters)

Swedes Examine Cells
for Key to Aging
(AP)

Court Backs Oregon's
Assisted Suicide Law
(AP)

what is grok?