Page MenuHomeMiraheze

Use memcache for the cache
Closed, ResolvedPublic

Description

We should probably switch to memcache for the cache.

Main benefits of moving to memcache is performance improvements https://alibaba-cloud.medium.com/redis-vs-memcached-in-memory-data-storage-systems-3395279b0941

We could even load balance between the servers (but that should be done afterwards and would it even work for us?).

Event Timeline

Paladox triaged this task as Normal priority.Wed, Feb 17, 17:19
Paladox created this task.

Redis is single threaded where as memcache is multi threaded This improves performance.

Paladox renamed this task from Use memcache for main cache to Use memcache for the cache.Wed, Feb 17, 21:25
Paladox updated the task description. (Show Details)
Paladox added a subscriber: John.

Per chat with @John we're going to move ahead and put all cache in memcache. Renaming rdb4 as mc2.

Dmehus added subscribers: Southparkfan, Dmehus.

Oh this looks like a major task for @Paladox, @John, and @Southparkfan. Looks like a good mental challenge. :)

Per chat with @John we're going to move ahead and put all cache in memcache. Renaming rdb4 as mc2.

@Paladox Just noticed this...if the plan is for the server to be named mc2 and for the subdomain to match the server, then you will need to choose a new subdomain, as mc2.miraheze.org is in use by an active user wiki, mc2wiki (see link).

We've successfully switched over, closing as resolved.