If my wordpress site generates thousands(perhaps millions) of posts a day, what is the best way to keep the site from taking a performance hit with posts that only need to be seen if someone searches old posts or for legal purposes?
My first thought was to run a cron job during a lull and move the out-of-date posts to an archive databas...
We have an compiled silverlight application which is a pack of control that are used in different parts of web site. Does it make sense splitting this big application into several pieces, so as to reduce, let's say, initialization time of a single control from the pack, or maybe performance will benefit in some other way?
If it does, wha...
Background
I've got an NSOutlineView that shows TrainingGroup entities.
Each TrainingGroup represents a folder on the local machine.
The NSOutlineView is bound to an NSTreeController with a fetch predicate of IsTrained == 0
Each TrainingGroup can be assigned to a project.
Each TrainingGroup has many TrainingEntries that show a time wor...
For a little practise fun project I did this:
I added a grid of UIView instances to an view controllers view which work pretty much like an number segment LCD (but those LCD screens that have squares and can show pretty much anything, not just numbers...with low resolution though).
There are 8 * 8 views on the screen (so 64 views, in ...
We have a build machine running in our development department, which we've set up to build continuously throughout the working day.
What this does is:
Deletes the source code previously checked out (5 minutes)
Does a clean checkout from subversion (15 minutes)
Builds a whole bunch of C++ and .NET code (35 minutes)
Builds installers and...
hey guys can anyone tell me how to read data from cache saved in microsoft velocity from classic asp?
if above is not possible, then what if i use memcache instead. then is it possible and worth it to read memcache from classic asp
thanks in advance
...
I have the following object:
public partial class Game
{
public bool Finished { get; set; }
public Guid GameGUID { get; set; }
public long GameID { get; set; }
public bool GameSetup { get; set; }
public Nullable<int> MaximumCardsInDeck { get; set; }
public Player Player { get; set; }
public Player Playe...
I built a Spring MVC web app with TilesViewResolver, but the performance is poor, very slow.
In a benchmark Tiles is sevent times slower than JSP.
Is there any way to improve this?
...
When analyzing my various websites pages with Google Page Speed, I always have the following recommendations:
leverage browser caching
serve static content from a cookie-less domain
I have no idea on how to eliminate or implement these messages. Can this be done:
through .htaccess
through php code
Apache configuration
How can t...
We want insert something into binary file, but want do I/O as less as possible. We don't want read the second part and write it back. Is there any way to do it. We know in theory, file are saved as blocks in file system. Could we just break the chain of blocks and insert a new one between it?
The same idea could also be used in join two...
I've been interested in the problem of finding a better prime number recognizer for years. I realize this is a huge area of academic research and study - my interest in this is really just for fun. Here was my first attempt at a possible solution, in C (below).
My question is, can you suggest an improvement (without citing some other...
According to the App Engine docs, you wrap a datstore event in a transaction like this:
import javax.jdo.Transaction;
import ClubMembers; // not shown
// ...
// PersistenceManager pm = ...;
Transaction tx = pm.currentTransaction();
try {
tx.begin();
ClubMembers members = pm.getObjec...
What's the preferred method to fetch a subset of records from the database? Use rs.absolute() or Limit?
...
Hi!
In the model, I have two entities: Record and Category. Category is one-to-many with Record through inverse relationship. The persistent store is of SQLITE type and the db is not so small, about 23MB (17k records).
I use a list-detail design to show the records table and the detailed record view.The list viewController uses NSFetch...
I had spent so many hours failing to find a line graph generator for my benchmark results that I just wanted to plug in. I tried quite a few like Google's chart API but it still seemed confusing or not graceful looking, I am clueless.
Examples of benchmark images I wished to make something like are this:
http://developer.studivz.net/wp-...
I'm not sure if this is quite the right place, but it seems like a decent place to ask.
My current job involves manual analysis of large data sets (at several levels, each more refined and done by increasingly experienced analysts). About a year ago, I started developing some utilities to track analyst performance by comparing results a...
i have quite a lot of jquery files, like around 6 files, how can i sort them out. shall i put them all in one file, and upload it to a CDN, taking in account page loads etc.
p.s. im also using google jquery cdn!
...
Hi
Consider a somewhat process consuming PHP application that works heavily with complex DB transactions, and doesn't have any choice but to have fairly high memory consuming algorithms. Like up to 4MB memory usage per request. (1 MB on average for those certain requests, less than 200KB of variable data for regular requests)
Its obvious...
I'm looking for tools that help me evaluate the performance of a software architecture. For this specific project I need to model a [distributed] system of a modest size that is comparable to message oriented middleware (MOM). Based on a model I'd like to measure the system's performance under certain circumstances. Also, the tool(s) ...
Recently I profiled some MATLAB code and I was shocked to see the following in a heavily used function:
5.76 198694 58 persistent CONSTANTS;
3.44 198694 59 if isempty(CONSTANTS) % initialize CONSTANTS
In other words, MATLAB spent about 9 seconds, over 198694 function calls, declaring the persistent CONSTANTS and checking if it ...