Your network blocks the Lichess assets!

lichess.org
Donate

Optimizing the tablebase server

So is this live? Since when has it been in Production? That's like a 10x optimization you've done there, and quite technical, too. You must be a well-versed systems engineer.

Does this help Lichess in terms of costs?

So is this live? Since when has it been in Production? That's like a 10x optimization you've done there, and quite technical, too. You must be a well-versed systems engineer. Does this help Lichess in terms of costs?

@thefrickouttaherelol Thanks! It's live since June 29th. For costs, if the alternative was to put everything on SSD storage I am sure it helped. But ultimately the tablebase server is not that important, so maybe we would have just accepted the performance as it was.

@thefrickouttaherelol Thanks! It's live since June 29th. For costs, if the alternative was to put everything on SSD storage I am sure it helped. But ultimately the tablebase server is not that important, so maybe we would have just accepted the performance as it was.

Long live lichess <3

Long live lichess <3

Honestly, Reading this on a Chess Website is just soothing to my soul. what an engineering is done here. KUDOS

Honestly, Reading this on a Chess Website is just soothing to my soul. what an engineering is done here. KUDOS

Wow. So this is a custom database server written in Rust. Impressive!!!

I was assuming there was Postgres or something under the hood until I glanced at the source. This article doubles as an tutorial on how to safely manage a proper database migration, as well. Thanks for sharing. Very interesting stuff. Did I mention I was impressed?

Wow. So this is a custom database server written in Rust. Impressive!!! I was assuming there was Postgres or something under the hood until I glanced at the source. This article doubles as an tutorial on how to safely manage a proper database migration, as well. Thanks for sharing. Very interesting stuff. Did I mention I was impressed?

@BlunderingTactician said in #6:

Wow. So this is a custom database server written in Rust. Impressive!!!

I was assuming there was Postgres or something under the hood until I glanced at the source. This article doubles as an tutorial on how to safely manage a proper database migration, as well. Thanks for sharing. Very interesting stuff. Did I mention I was impressed?
I think pretty much all of Lichess' stuff is custom - AND open source.

@BlunderingTactician said in #6: > Wow. So this is a custom database server written in Rust. Impressive!!! > > I was assuming there was Postgres or something under the hood until I glanced at the source. This article doubles as an tutorial on how to safely manage a proper database migration, as well. Thanks for sharing. Very interesting stuff. Did I mention I was impressed? I think pretty much all of Lichess' stuff is custom - AND open source.

Congratulations on your success in optimization, revoof

Congratulations on your success in optimization, revoof

I would've not gone for RAID 5, not with spinning rust at that size.
The time to rebuild the array when a disks fail will be in the days, maybe even a week (especially if the array needs to continue serving data while rebuilding).

IMO RAID 10 would've suited better.
Or a RAID 5 with SSD's

Of course, I don't know the whole story behind this choice, so.... Just my 2 cents

ps. I do very much like technical blogs like this, very nice!

I would've not gone for RAID 5, not with spinning rust at that size. The time to rebuild the array when a disks fail will be in the days, maybe even a week (especially if the array needs to continue serving data while rebuilding). IMO RAID 10 would've suited better. Or a RAID 5 with SSD's Of course, I don't know the whole story behind this choice, so.... Just my 2 cents ps. I do very much like technical blogs like this, very nice!

SshuUT dboooowvvvZN=xXx

SshuUT dboooowvvvZN=xXx