performance

Is there a specific performance issue with Entity Framework + GUID PKs?

My company has a basic SOA, using Entity Framework for database access. One of our services must interface with a legacy database which uses uniqueidentifier primary keys in the database. Performance is good during unit and integration testing. However, under load, the affected service starts to produce a backlog of queued requests. Thi...

Is SharedCache ready for production?

I've been comparing distributed caching solutions for an ASP.NET environment and would like to use something FOSS if possible. I've come across SharedCache and seen it recommended by a few people on StackOverflow. Has anyone actually used this in a production environment? I can't find much online about the maturity of this project and...

Fastest way to identify differences between two tables?

Hey all, I have a need to check a live table against a transactional archive table and I'm unsure of the fastest way to do this... For instance, let's say my live table is made up of these columns: Term CRN Fee Level Code My archive table would have the same columns, but also have an archive date so I can see what values the live t...

how to select and configure a JasperReports virtualizer?

We're using virtualizers with JasperReports 3.7.0 to avoid running out of memory with some large queries. Found one helpful article on this topic, and there's a brief description of virtualizers in The Ultimate Guide to JasperReports, but that's just a start. I'm trying to figure out which virtualizer is ideal, and having chosen one, how...

Does Linux Time Division Processes Or Threads

A prof once told us in class that Windows, Linux, OS X and UNIX scale on threads and not processes, so threads would likely benefit your application even on a single processor because your application would be getting more time on the CPU. I tried with the following code on my machine (which only has one CPU). #include <stdio.h> #inclu...

Fastest synchronisation

I have the following scenario: The program has a reader and a writer thread to a socket which is an external application. The reader and writer need to work in coordinated cycles. The writer sends a dynamic number of messages (x) to the socket and the reader needs to read the responses from the socket. The number of messages is over 5 to...

Good Websites/Blogs/Books to know about Memory Efficient C# Programming

Based on a Memory Efficient Programming question on StackOverflow ..... I want to know about Memory Efficient C# Programming.... Any good Websites/Blogs/Books to know about Memory Efficient C# Programming..... EDIT: Some tips how to write Memory Efficient C# Programming.... ...

What is the fastest way to unzip textfiles in Matlab during a function?

Hello all, I would like to scan text of textfiles in Matlab with the textscan function. Before I can open the textfile with fid = fopen('C:\path'), I need to unzip the files first. The files have the extension: *.gz There are thousands of files which I need to analyze and high performance is important. I have two ideas: (1) Use an ex...

For a typical team of 20 .net developers how many sql developers and DBA's should be allocated ?

For a typical team of 20 .net developers how many sql developers and DBA's should be allocated ? ...

performance: sorting 'm' vectors with N/m elems Vs sorting single vector with N elements

Operation A I have N vectors, each containing certain number of unique 3D points. For Example : std::vector<double*> vec1; and like that I am performing sort operation on each of the vector like: std::sort(vec1.begin(), vec1.end(), sortCriteria()); std::sort(vec2.begin(), vec2.end(), sortCriteria()); std::sort(vec3.begin(), vec3.en...

Why doesn't RoR take advantage of native extensions/code inlining techniques?

Those outside of the ruby community (and some inside) oft reference ruby applications as being slow. For many of us this is an irrelevance, IO bound operations etc. However, when it does become a problem there is little to hold us back from taking advantage of native code to speed things up. To this end I am wondering why RoR (itself the...

testing performance of a website

We have made a .net C# applications and want to test the performance. What are good tools to test performance ? Something to record the flow through the application and can play it later again something like a stress tool And what are the best options to debug the application for performance ? So that we can see how long a class/method...

Recommendations for TimeSeries db

preferably open source for storing tick info. ...

what is the easiest way for opcode caching with PHP/Apache ?

I was thinking to use opcode caching for performance profit what is the easiest way for opcode caching with PHP/Apache ? and what are the performance improvements ? I have read about xDebug but I was wondering if there are more options ? ...

MySQL Sorting Results takes a long time

Lately I've been getting MySQL to hang on specific queries. I have a table with 500,000+ records. Here is the query being run: SELECT * FROM items WHERE (itemlist_id = 115626) ORDER BY tableOrder DESC LIMIT 1 Here is the explain: | 1 | SIMPLE | items | ALL | NULL | NULL | NULL | NULL | 587113 | Using where; ...

SQL Server Performance with Key/Pair Table vs XML Field and XPath

I've seen a few questions on this topic already but I'm looking for some insight on the performance differences between these two techniques. For example, lets say I am recording a log of events which will come into the system with a dictionary set of key/value pairs for the specific event. I will record an entry in an Events table with...

PHP include(): File size & performance

An inexperienced PHP question: I've got a PHP script file that I need to include on different pages lots of times in lots of places. I have the option of either breaking the included file down into several smaller files and include these on a as-needed basis... OR ... I could just keep it all together in a single PHP file. I'm wonderi...

Is it worth having static resources in a separate domain/server?

I am currently in the process of improving my grails website performance and following many best practices I found on the internet, I currently need to make a decision between two solutions before refactoring my code Solution 1 : Export all of my static resources (js, css, images) to a separate domain and server (as already done by SO ...

PNG Sprites with "wasted" empty pixels VS new http requests

Hi! I am merging all my site icons in sprites, but, for some reasons, sometimes I have to add a little white space between some. http://img8.imageshack.us/img8/9793/16spritetest4.png In this image, the icons on left are the ones that need space around them. I wonder what is better for server/user: to split the icons on left from...

How to load Javascript Files in client system once and reuse them ?

I have a large scale application which uses javascript for many reasons. these javascript files included in some JS files and JS files imported to Asp.net Masterpage files. this JS files contents (javascript functions) will add to page when page display to user, so a Bunch of waste Javascript functions will include in Asp.net pages. I'...