[index] [general] [tech] [test]

/test/ - Testing board

Filled with test data


I've temporarily turned off file posting because I don't feel like moderating this test site. Feel free to spam /test/ if you want to test the performance.

Viewing thread


[Back] [Bottom]
µchan performance
#1 florens ## Admin 2016-03-06 17:05:08 [sticky]
File: fast-typer.jpg (3.2 MB, 2872x1923)
This board is filled with test data, to show the posting performance of µchan.

It has 300 replies per thread, accounting to a total of 301 x 15 x 10 = 45150 posts. The data was inserted with a script that simulates normal posting with http. The script posted about 12 posts/s at the start, and 5 posts/s in the end. It takes about 30ms to handle and insert the data into the DB, and about 200ms to update the thread, board and catalog caches in a full board like this.

Real-life situations will be faster because the script ran in a single process but µchan uses multiple processes for the front-end handlers and workers, most replies are shorter than the test text used here, and threads often don't reach 300 replies.

The gets are about 40ms (this is fetching the data from memcache and rendering the templates). Varnish is placed on top of this, effectively removing any delay, responding in 15ms.
#2 Anonymous 2016-03-06 18:32:15
test
#3 Anonymous 2016-03-06 18:50:24
test
#4 Anonymous 2016-03-06 18:59:59
>>1

Your board sucks,
Kill yourself florens,
#5 Anonymous 2016-03-06 22:48:47
>Varnish is placed on top of this, effectively removing any delay, responding in 15ms.
Not bad, but I achieved 2ms on lynxchan.
#6 Anonymous 2016-03-06 22:54:16
>>5
15ms is with the overhead of connecting and ping speed to the server etc.
A local request is like 2ms yes.
#7 Anonymous 2016-03-07 02:15:52
DICK
#8 Anonymous 2016-03-07 02:18:31
looks p. neat tbh
#9 Anonymous 2016-03-07 04:38:07
test
#10 Anonymous 2016-03-07 20:21:39
sage
#11 florens ## Admin 2016-03-08 21:11:28
I did a few optimizations and the maximum cache refresh time I've seen on this board is now 100ms.

It still stands that this is the worst situation you can have, and real-life situations will take less time.
#12 test 2016-03-10 00:03:49
>>11
n1 floens, but make the post number a link pls (not just after you've opened the thread).
#13 Anonymous 2016-03-10 22:11:32
>>12
Sure, I'll put it on the todo list.
#14 Anonymous ## Admin 2016-03-10 22:23:53
>>13
Done!
#15 Anonymous 2016-03-15 20:49:27
>>13
Looks cool bro, but can we have webms?

[Back] [Top]

Reply to thread