A bit on scaling chess.com's database
unstructed.tech
unstructed.tech
It's very refreshing.
(I used to be bitter about chess.com, thinking they're just cashing in on their domain name and charging for features because they can. And that may be, I don't know. But I have seen them organize some good chess events, so they might not be all bad. I think they pay streamers to use their site though, a practice I'm not too happy about.)
That was a decade ago though. Maybe they've improved
You can pay to get an extra move or a take-back (only joking).
Actually thinking about it, there probably is a cheap chess clonelike app on mobile market that does that.
They procedurally generated 1,500+ different iterations on top of the same Unity-based slots shovelware using noun/adjective pairs. The general success they enjoyed is as sad as it is hilarious. For the record, the most enticing descriptor categories were: "3D", "Luxury", "Casino/Gambling", and "Sexy".
You generally have to pay to be a member of a chess club for example. For a fraction of the price, you can play with anyone in the world. Seems valuable to me.
Lichess.org has a better UX and featureset for free than a premium chess.com subscription, but many of my friends watch steamers --> sign up to chess.com and get a worse expereince.
I much prefer chess.com's UX. They allow multiple pre-moves vs. lichess that only allows 1 premove, has much better cheat detection and overall much better handling of players who engage in bad behavior (abandoning lost games) by segregating repeat offenders into a pool of their own so they don't affect well behaved players, and lichess has a very quirky and unnecessary 300 move limit, which one can argue is more than enough for regular chess, but for speed chess is just a nuisance.
And in terms of premoving, chess.com spends 0.1 seconds per premove whereas on lichess it's instantaneous, so I've found games tend to last longer on lichess move wise.
Hope you enjoy your games, and your preferences seem reasonable too!
This is why advertising is so heavily regulated - though not even close to regulated enough.
Marketing via 'influencers' is even worse than other forms of marketing because it is one of the least regulated spaces, especially when graphed against its relative effectiveness.
The main homepage is a huge mess though...
Indeed, this is how Lichess (optionally) does it (for free).
It's all about SEO, chess.com is the first result on Google and DDG for "chess".
https://www.chessstrategyonline.com/play-chess-online
Chess24 has Jan Gustafsson and Peter Svidler as commentators. Amazingly good English banter from a German and Russian. In general, the individual personalities of Nations comes through really well in chess commentary, since commentators are from all over the place, are quite sharp, and everyone is talking about the same thing in usually the same language (English). I didn’t even know Germans and Russians had a sense of humor...
ICC is an old (in Internet terms) established website.
And they have a bunch of chess variants to mix things up.
All around impressive site.
I agree with other posters who've said that while Queen's Gambit may have sparked interest, it's streamers -- professional chess players or not -- who are keeping interest high.
I'm a big fan of chess, and it's awesome to see so many of my friends suddenly become interested in the game!
This goes against everything I have learned until now. Maybe an experienced DBA can explain when moving stuff out of the database is helpful? I mean sorting, merging and filtering is the core discipline of a RDBMS and many, many man hours went into it. How and when can a custom version be better?
1. Add more ram, CPU, etc to the DB host
2. Create DB read replicas for higher read volume
3. Shard the DB (reads and writes)
4. Offload logic to stateless clients, who you can easily scale horizontally
So option 4 is reasonable if you don't want to or can't do the other options.And thanks for brining this up, I've added a disclaimer that these are not to be taken for granted, and they work for us, on our scale.
I did plan a whole new article about this. With all the benchmarks we've gathered over the years.
It doesn't matter if it sorts 1000x faster than client code, when there aren't cycles left to perform this (in theory) very performant sorting.
This might not be your actual problem, but I've seen it hit a completely oblivious dev team before :)
(It's probably cheaper/easier to scale their application servers as well.)
This normally is terrible advice. You have to be sure that you really need it. Too often I see developers do this needlessly.
Definitely not something I'd suggest on an average traffic website.
edit: and all of r/anarchychess
Ah, to work on a service whose requirements have not changed in 1500 years :P.
J/k (kinda), enjoyed the read thanks!
Here is a great talk by the founder
And here is the open-sourced code.
Raising awareness of alternatives is good, but yep I think it's also fair to be critical of the way that awareness is generated.
I do the same in person with friends, and if they ignore me, or try it and prefer chess.com then not too much harm done:).
That is true, nevertheless, many of the same Grandmasters still play using anonymous accounts. For obvious reasons, we should not point out which accounts these are.
I'm trying to pun "paged" with "Phish" and it doesn't work.
But ops was definitely on deck, on the holiday.
Do keep an eye out for id exhaustion if you try that though, since you just halved your headroom when running 100% on one or the other.
In database related podcasts you will hear that QPS is considered to be a solved problem nowadays.