scaling

Reality Question : Do you tune the IIS Max thread pool ??

By default, the IIS 6.0 process creates as many as four threads per processor. We can adjust the maximum number of threads in the IIS 6.0 service process by adding the MaxPoolThreads entry to the following registry path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Inetinfo\Parameters and give the value between 2 - 20. I would...

Don't scale the child movieClip?

I have a question of how to transform the parent movieclip and not the child movieclip...I have a movieclip holding an image loader and some handles as a movieclip. The handles movieclips are used to listen the mouse event to do such function scaling rotation and translation of the parent movieclip. The problem here when I scale or rotat...

Dynamic / auto scaling

Hi, I was curious if anyone has experimented with auto-scaling web or db tier in ec2 or other cloud computing infrastructure? It seems theoretically possible but I am curious what the practical limitations are/maybe. Thanks, manish ...

How to disable scaling on Images loaded in Flash Movie AS3

I have Flash, in which i load some images dynamically. But when I am viewing this flash on a large screen monitor, the flash is auto scaling (I can't disable stage auto scaling). And similarly size of images is also increasing. Here the problem arises, On large screen monitors the images are getting blur. How can I make it good on al...

Why are some websites spread across www2, www3 sub-domains whilst others manage scaling without it?

I know it's to do with having a variety of load balancing servers, but why do some sites make use of differently named "www" sub domains (www2.somesite.com, www3.somesite.com etc) where as other can be perfectly massive without doing this - ie all traffic is to www.hugesite.com. Does it indicate certain architectural decisions / have a ...

Cost of scaling Rails vs cost of scaling PHP vs Python frameworks

I guess this question has been asked a lot around. I know Rails can scale because I have worked on it and it's awesome. And there is not much doubt about that as far as PHP frameworks are concerned. I don't want to know which frameworks are better. How much is difference in cost of scaling Rails vs other frameworks (PHP, Python) assum...

UIImageView scaling/interpolation

I have a small IPhone app that I am working on and I am displaying an image with a UIImageView. I am scaling it up using the Aspect Fit mode. I would like to have the image scale up with no interpolation/smoothing (I want it to look pixellated). Is there any way I can change this behavior? A little more general question would be ca...

Deploying to more than one application server

We have reached that point where one application server is not enough. Apart from performance benefits we want to have a somewhat failover scenario as we cannot afford a 30 minute downtime just because the server needs a reboot for the new kernel. The first issue that has to be resolved is where to store the shared files so that both ...

Is Using URL Rewritting Pivotal for Scaling a Larger App

I am currently working on a site which resembles a forum in its essential structure. I have decided not to opt for using one of the established PHP frameworks (I have played with Rails before), partially to learn, and also partially because I believe they hinder development in the long term. I wanted to know how important URL rewriting ...

Scaling on Amazon EC2

Hi, I have several newbie questions about EC2, thanks for your attention, 1) why EC2 instances come with specific memory/storage quotas? In the cloud environment, can't we just request the amount of memory/storage as we require, and the amazon infrastructure take care of the allocation? I understand an pre-determined allocation of mem...

Multiple Datacenters

I am finding a lack of information regarding handling multiple datacenters. What tools and techniques are available for taking advantage of multiple datacenters? A requirement is that the databases become consistent very quickly. ...

How wmic enable horizontal scaling on command prompt window

When open command prompt window. I found black fixed size windows that can scaling only vertical direction, but when i type wmic command it seem horizontal scaling also available. I just suspect what method that wmic force command prompt windows like that. Does one can explain? ...

Need help scaling in o3d

I have been having trouble find much documentation on o3d (not too surprisingly). Does anyone know how to scale my x in o3d? ...

Performance problems when scaling MSVC 2005's operator<< accross threads.

When looking at some of our logging I've noticed in the profiler that we were spending a lot of time in the operator<< formatting ints and such. It looks like there is a shared lock that is used whenever ostream::operator<< is called when formatting an int(and presumably doubles). Upon further investigation I've narrowed it down to this ...

jquery ui is not scaling text properly!

I'm trying use jquery ui to scale a div that I'm dragging around to make it easier to see what's behind it, but any text inside it is scaling strangely. The text itself becomes smaller, but it seems to have a bunch of padding around it and is floating now. The text extends past the bottom of the div even though it should be contained pro...

FLV gets scaled down to 320 x 240 without me asking it to.

i'm simply playing a video file the normal way: var nc = new NetConnection(); nc.connect(null); ns = new NetStream(nc); var vid = new Video(); this.addChild(vid); vid.attachNetStream(ns); ns.play(videofile); My flv file is actually 600x678, but shows up scaled down on the stage, and tracing the width and height I get 320x240. I'm not...

How do I scale one rectangle to the maximum size possible within another rectangle?

I have a source rectangle and a destination rectangle. I need to find the maximum scale to which the source can be scaled while fitting within the destination rectangle and maintaining its original aspect ratio. Google found one way to do it but I'm not sure if it works in all cases. Here is my home-brewed solution: Calculate Height/W...

Testing How Code Scales

I am currently working on some Ajax heavy code and I am wondering how my server will scale as more and more users (hopefully) start to use my web app. It is only on my internal test server for the moment and I was wondering how I would go about simulating a few hundred or thousand users so that I can see how it handles a heavier load. ...

Silverlight - polygon scaling and clipping

I have a Canvas, to which I've added several thousand polygons. I would like to be able to zoom in (which I'm doing via a ScaleTransform. However I've been trying to use a Canvas.Clip as well to only draw a portion of the Canvas, but as soon as the ScaleTransform values are changed, the clipping stops working... <Canvas Grid.Row="...

How to determine the size in bytes of the ASP.NET Cache?

I'm in active development of an ASP.NET web application that is using server side caching and I'm trying to understand how I can monitor the size this cache during some scale testing. The cache stores XML documents of various sizes, some of which are multi-megabyte. On the System.Web.Caching.Cache object of System.Web.Caching namespace...