Tech stack that chess.com is built on and deployed to

Sort:
Storms-Fast

I am interested to know the full tech architecture that chess.com is built on.

Also, the CI strategy and also if your code is open source or private?? 

Also, where is it hosted and what kind of hardware resources are used

Is anyone privvy to this information?

Storms-Fast

btw I am just interested.. I am not going to try and copy it! I may have suggestions for improvement though

Martin_Stahl

The site is private and the code is not open. I believe the main datacenter is in California but I believe there are some distributed resources, including the use of content delivery networks for some things.

There are some articles on the web where some details have been provided, but nothing extremely in depth and I don't believe anything is available at the depth you're looking for, or will be. Some other hints can be gleaned from job postings.

MKNLDG

By the way, do they give away "trophies" or "merch"? And if so, where can you see it?

Storms-Fast

Thanks Martin.. my punt for a modern architecture would be this:

For the configuration and deployment side

  1. Hosted in in a easily scalable cloud platform. I would choose one of the big boys for that (AWS, GCloud, etc)
  2. Dockerised apps and deployed in a kubernetes cluster (once again highly scalable, highly available)
  3. Use a continues Integration tool like CircleCI to automate build of branches and automate deployments.

For the actual dev side I would punt for for the following

  1. Data store in a NOSQL DB; e.g. Mongo or maybe even Hadoop depending on how large the data store needs to be
  2. Server side code in Node (typescript)... or maybe Kotlin with SpringBoot which I like. This would include the chess engine. Do chess.com develop this in house?
  3. UI side - I would go for react with nunjucks templating and sass to manage styling

I think I would quite like to work at chess.com so long as they allow contractors and remote working. Maybe I will apply for a job. Does any know what kind of pay  the devs are on?

Traditionally gaming developers earn less than non-gaming developers..  chess.com isn't really that kind of gaming though

Makiyu

Sorry if I'm a bit late here, just wanted to let people know that chess.com actually uses Svelte for its UI! (or as claimed at the official site of the framework)

rishab111195

They use cloudfare and vuejs also

 

trailguide

Simply, chess.com outgrew their resources. I don't think it is possible to recommend changes without knowing the developer skillsets, and the application requirements. For example, do they require transactional performance, and if so, cannot use a non-transactional database like MongoDb. Any major changes in platform, or datacenter should require retraining/hiring developers and architects. This will take time and could be very expensive. I bet the choice is to wait, and hope the popularity will go back to normal levels. Either way, they have increased risk to their business.

Martin_Stahl

Since the increased loads/traffic staeted in January, there's been additional information posted about some of the site is using.

 

For example, https://www.reddit.com/r/chess/comments/111940a/hi_reddit_im_josh_levine_cto_at_chesscom_ama_10am/

trailguide

Not a criticism to chess.com, more users are usually a good thing. To scale effectively requires a software architecture to enable scaling. It is seldom a solution to resort to more hardware to solve your problems, although that will help to some degree, it will in itself become less efficient and eventually limiting. Redesigning the software architecture is usually not a possibility without a major effort in a number of areas. The tasks the chess.com team have to face are very difficult, and just hoping there is a solution.

Hob_herry

An innovative website named https://www.techvistaio.com/ is dedicated to examining the latest technological advancements and their impact on our daily lives. TechVistaIO provides both everyday users and tech aficionados with trends, practical applications, and insights on everything from artificial intelligence to blockchain technology.

M27moud_7assan

Frameworks
Vue
Java EE

PHP
Svelte - stop using it since May 2021
for hosting 
Cloudflare
Amazon AWS - stop using it since Apr 2024