The only time it does make a difference is for yearly queries, where PostgreSQL seems whatsapp philippines number to suffer more than SQLite. To help you visualize this, below is a graph that shows the response times of the PostgreSQL tests, comparing the three concurrency levels for each of the query periods. PostgreSQL Graph This confirms that for queries involving a small to medium number of rows, a concurrency of up to four clients does not significantly affect response times. However, as the number of rows involved increases, higher concurrency starts to slow things down. Here is the same graph for SQLite: SQLite Chart This is actually a surprise, because it shows that SQLite is much better at handling concurrent loads than PostgreSQL on this system.

Sure, response times are slower, but the fact that concurrency has less impact on those response times is very interesting. Will the production platform give similar results? I suspect that a single processor, compared to the 6 in my laptop, will make concurrency a much bigger factor in the results. Test on production system Armed with a now well-tested benchmarking script, I started a new Linode with a clone of the production system, repeated all the steps to migrate the SQLite database to PostgreSQL, and made sure that I could, once again, easily switch databases by editing the configuration file and restarting the service.