So i'm toying around with stackless python, writing a very simple webserver to teach myself programming with microthreads/tasklets. But now to my problem, when I run something like "ab -n 100000 -c 50 http://192.168.0.192/" (100k requests, 50 concurrency) in apache bench I get something like 6k req/s, the second time I run it I get 5.5k,...
Customer X has asked for ways to improve the startup time of a Java process he uses. The problem is, it is not run through a jar file, but rather 'jnlp' (which I am assuming indicates it is a java webstart application)
StartUserWorx.jnlp
Is there a way to convert this to a JAR file and then have the user invoke the application locally...
Useing VC++ VisualStudio 2003.
I'm trying to copy several image files (30kb or so per file) from another computer`s shared folder to a local file.
The problem is that there can be more than 2000 or so files in one transfer, and it seems
to take its toll, substantially taking more time to complete.
Is there any alternate method of copy...
I have a large ASP.NET website on a hosted platform. It shares the machine with a lot of other applications. We do not have access to the machine itself (only an FTP account).
Our client is complaining that it is starting to perform rather badly, particularly around peak hours. I've run some remote measurements (using a JMeter-like tool...
This is new to me. I have a new boss at work who is insisting that every query we do from now on be a sproc with XML serialized parameters and return types.
I've not run any tests yet but this strikes me as overkill and possibly a performance killer in many ways. What is your experience?
...
I have a C# web service which currently communicates with a Flex app using XML. It's not streaming data or anything, but still I'd like to lower the overhead involved. I have two questions:
1) would I see any benefit from using a technology like FluorineFX or WebORB in terms of reducing load on the server? The Flex clients won't perc...
Are there SQL commands that I could use to extract performance monitoring data from MS SQL 2005, such as:
transactions per second
page reads/writes
connections (@@CONNECTIONS gives the total, but what about current)
physical reads
locks and blocks
other counters that might be interesting?
...
For a large project, would it make sense to have one datacontext which maps out your database, which you can interact with from your classes?
Or would it make more sense to split this up into small datacontexts which are focused on the specific tasks within the database that will be required.
I'm curious as to the performance. It's my...
This is a derivative question, but I'm inquiring as to the data structures that you should at least be familiar with for their usefulness. These structures are too hard to implement without some expertise however.
I would say a good boundary between the two is a heap -- you should be able to code a heap, but it would take you a day. N...
Title says it all.
Though the manual says you're better off to avoid a function call, I've also read $array[] is much slower than array_push(). Does anyone have any clarifications or benchmarks?
Thank you!
...
Hello,
I'm sure many have noticed that when you have a large application (i.e. something requiring a few MBs of DLLs) it loads much faster the second time than the first time.
The same happens if you read a large file in your application. It's read much faster after the first time.
What affects this? I suppose this is the hard-drive c...
I have this query and I want to improve performance:
SELECT
OrarioA,
OrarioB,
IDOrario,
IDDettaglioOrarioA,
IDDettaglioOrarioB
FROM
(
SELECT
Tb_01.Orario AS OrarioA,
Tb_02.Orario AS OrarioB,
Tb_01.IDDettaglioOrariLinee AS IDDettaglioOrarioA,
Tb_02.IDDettaglioOrariLinee AS IDDet...
Hi,
I have this query:
SELECT p.id, r.status, r.title
FROM page AS p
INNER JOIN page_revision as r ON r.pageId = p.id AND (
r.id = (SELECT MAX(r2.id) from page_revision as r2 WHERE r2.pageId = r.pageId AND r2.status = 'active')
OR r.id = (SELECT MAX(r2.id) from page_revision as r2 WHERE r2.pageId = r.pageId)
)
Which...
lets assume the same environments for php5 working with MySQL5 and CSV files. MySQL is on the same host as hosted scripts.
Will the MySQL always faster than retriving/searching/changing/adding/deleting records to CSV ?
Or is there some amount of data below which php+CSV performance is better than using database server ?
...
We have a WebService with a method to upload images, this method accepts a byte array which is a TIFF.
On the client side the TIFF is loaded with Image.FromFile(path) and then saved into a MemoryStream. Then memoryStream.ToArray() is called which results in a byte array which is used in the WebService request.
Currently we have a TIFF ...
I need to do a search for people who are violating our "don't use social security numbers in your data" rule and need to know if there are performance differences (and why) between the two lines below.
Thanks.
[0-9]{3}-[0-9]{2}-[0-9]{4}
vs
\d\d\d-\d\d-\d\d\d\d
Requested Details:
engine: removed to stop confusion in tagging
...
I am in the process of building a Web Service API for my application.
Also, I am planning to expose the Service via both REST and SOAP.
I'm interested in getting some feedback from the community as to which programming language I should choose to implement the service? (I know C#, Java and Ruby - RoR well enough to create the service).
...
Should the following be shunned, or praised for its simplicity? For the record, I use it in every site I build, but I've noticed it's not present in many main-stream CSS-Reset frameworks...is there a reason they don't use it too?
* { margin:0; padding:0; }
Edit: I was curious about performance, mostly.
...
I'm developing an web application using Flex and JSP.
I am having some performance issues with displaying multiple PDF files.
I am trying to display about 50-100 PDF files. I know that is a little crazy.
Hence, I made the project to convert PDF files to JPG format and display the JPG files.
I'm wondering if there is a way to decrease t...
I'm using JMeter 2.3.2 and XP SP3. When I try a JDBC request, XP crashes. This is not very convenient.
This is the first time I've used JMeter, so I'm looking for inspiration as to where to look.
Its with a fairly simple JDBC request (simple select, without parameters, aggregated report etc).
The database is SQL server, the correct ja...