←back to thread

Why AO3 Was Down

(www.reddit.com)
151 points danso | 1 comments | | HN request time: 0s | source
Show context
notorandit ◴[] No.44470235[source]
> typical database column

Typical for 70s and 80s.

Honestly, designing a 21st century database is a different thing if compared to back then.

You can use 128 bit integers, provided that you really want to use integers. And maybe you put a timestamp along.

replies(6): >>44470283 #>>44470544 #>>44470799 #>>44470940 #>>44471428 #>>44471545 #
jarofgreen ◴[] No.44470544[source]
or use UUID/GUIDS, many databases (eg PostgreSQL) and frameworks (eg Django) support them.
replies(1): >>44470593 #
1. dwedge ◴[] No.44470593[source]
Using uuids can cause lots of problems with indexing, fragmentation, row size and index size