I have a list with 100 million domain names like www.microsoft.com and would like to resolve the IP-number to www.microsoft.com
Running a local pdns server and query localhost using Python adns?
...
I am using MySQL database. When I execute a query which the main table(20 thousands of rows) is joined with the other 5 tables, it takes 90 seconds to return me the result. I then added indices into each of the criteria(where clause). Then the execution time drops from 90 seconds to 45 seconds and then I tried to select only necessary fi...
I have a phone application and I use multipart POST to upload multiple files. Is there a way to increase the uploading speed ? e.g. can multithreading the upload process increase the upload speed, is there any other strategy? can anyone refer me to any networks research regarding this area?
If I switch from multipart POST to opening a d...
Hi guys,
I'm looking for a string conversion method that will receive an input of KB/s and converts it to the easiest readable format possible.
e.g. 1500 b/s = 1.46 Kb/s
e.g. 1500 Kb/s = 1.46 Mb/s
e.g. 1500 Mb/s = 1.46 Gb/s
Thanks
...
I built a (set of) program(s) that communicates with another database server. The program both reads and writes large amounts of data.
I would like to be able to test which hardware specifications are needed to keep the program running smoothly.
Other applications that make use of the other database server must respond smoothly as well...
Hi All,
PageSpeed and Yslow suggest that to combine javascripts file to reduce HTTPRequest. But this is becuase (I think) pre ie8 browser has no more than 2 serverhost connection.
But nowaday, browser has 6 serverhost connections, which means it has download javascripts in parrallel. So let say we have 1MB of javascript, should we brea...
I have a JTable with a custom TableModel that extends AbstractTableModel. I have also used the built in table sorting by calling:
table.setAutoCreateRowSorter(true);
The model also return the right class of the data for each column from the getColumnClass() call, which from what I read should ensure the fastest sorting being done.
W...
Hi:
My db is running on mysql v5.x. I have a table T1 with 5 columns and column C1 is the primary key. C1 is of type varchar(20). It contains about 2000 rows with values like:
fxg
axt3
tru56
and so on..
Now my application's job is to read input data and find if the input data has a starting pattern similar to that found in column C1...
I am trying to optimize our gettimeofday() system call on Redhat Linux.
By their documentation it can be speed by running the call in the user land using virtual dynamic shared object (VDSO). I was curious how can I mesure the speed of the call in the first place? I would like to make the change and then compare it against my previous r...
Regarding web optimization, load-time, speed performance and assuming data size to be equal:
Is it faster to have more cookies but smaller, or less cookies but bigger?
For the technically inclined: would it be more efficient to concat values separated by a known delimiter resulting in a larger cookie size, or to have smaller cookies co...
I created a Java game application in Eclipse yesterday. I transferred the files over to my school Unix account with Filezilla. Today, I'm in the school lab testing the game inside my unix account.
Here's the problem: everything ran fast and fine when I was on my laptop and in Eclipse.
Now:
1) The frame rate is about 1 per second. Even ...
Roy Osherove, author of The Art Of Unit Testing, has commented on a blog that of the many things NUnit supposedly does better, it being much faster is one of them.
My question is how much faster though, if at all? Are we talking an order of magnitude? 10%? 50%?
I'm asking this because for the moment I can't compare the two. I am tryin...
Hi Experts,
I'm interested in any conventional wisdom how to approach the following problem. Note that I'm a hardware guy, so be careful using industry knowledge/terminology/acronyms.
I'm providing an online application that includes very complex math computations, such as fast-Fourier transforms, that involve nested for-loops and very...
Hello,
I'm doing an Information Retrieval task. I built a simple searchengine. The InvertedIndex is a python dictionary object which is serialized (pickled in python terminology) to a file. Size of this file is InvertedIndex is just 6.5MB.
So, my Code just unpickles it and searches it for query & ranks the matching documents according ...
Hey Guys,
I was bent on improving my page speed factors and yesterday I got some cloud space on rackspacecloud. Now before this i was serving static content from a cookieless domain with proper cache control through htaccess.
Now after I moved on to cloud my htaccess does not control the cloud files. There is a TTL parameter on rackspa...
I've tried using a couple of tools (apache bench, html_load) but they only request a single file.
I'm testing out bundling strategies and so I need the tool to also download any stylesheets, scripts etc. included in the original html file.
I.e. exactly what a browser would load.
...
Michael Feathers, in Working Effectively With Legacy Code, on pages 13-14 mentions:
A unit test that takes 1/10th of a
second to run is a slow unit test...
If [unit tests] don't run fast, they
aren't unit tests.
I can understand why 1/10th a second is too slow if one has 30,000 tests, as it would take close to an hour to run....
Hey all,
I am designing a program that will accept from input a series of tokens and feed them to a finite state machine which I have designed. I have designed a test finite state machine in object-oriented style, with structs for the machine itself and transitions, etc. but the application I am writing is one where speed is very importa...
Hi, i did a text rendering program using UIView and UITableViewController. What i did is before going drawRect method, i just calculate all of the cells height as well as each text start & height,width. So that, i can estimate the cell height approximately and then i draw the text.
I did this for both portrait & landscape mode. My progr...
I have a strange problem with transferring files between 2 computers connected to each other through an ethernet cable. Both PCs have on-board gigabit ethernet ports. Aside from the different hardwares, the softwares (especially network settings) are configured almost the same, with Windows 7 x64 etc. Tests have been taken with and witho...