logoalt Hacker News

hparadizyesterday at 7:44 PM1 replyview on HN

You should do some basic optimizations. Fixed length table and indexes on the unique string for fast lookups. I also like to do a rolling delete for old sessions after 30 days unless mobile session that is logged in. Those get to live forever.


Replies

agwayesterday at 7:50 PM

Fair enough, but those optimizations are basically free. People think stateless tokens are free but they really are not.

show 1 reply