Monday, December 16

Geek

Daily News Stuff 16 December 2019

Dirty Creature Edition

Tech News

  • Lexar has a new PCIe 4.0 M.2 SSD on the way that should be able to hit 7GB per second.  (Tom's Hardware)

    At least on reads; 4GB per second on writes.

    Current PCIe 4.0 SSDs all use the same controller and are limited to only 5GB per second.

  • ICANN has put the .org TLD sale on hold until all the fuss dies down.  (ICANN)

    I mean, they don't explicitly say that, but...

  • Full-text search indexes and ACID databases don't mix: Adding a full-text index to your InnoDB table can dramatically slow down transactions.

    But if, rather than indexing the raw fields, you have a specific search content field and populate that once a second, you can speed things up by a couple of orders of magnitude.

    And because data is only flushed to disk at the end of the transaction, it achieves this performance while also drastically reducing disk I/O - important if you're on a cloud server and don't have direct access to a fast SSD.

    Having an explicit search field has a couple of other advantages: You can add computed values, so that if your post is tagged "news" you can search specifically for tag:news without having to fuss about with multiple indexes.  (Elasticsearch does this automatically.) 

    And if you only need to keep the last, say, 90 days of comments searchable you can just null that field after 90 days.  The comments work just as before, but disappear from search.  (Although MySQL also allows you do do search queries without an index if you really want to.)

    The big advantage of having search inside your relational database is that you can use search and relations at the same time - that is, you can search only posts by people or blogs you follow, without needing a huge custom search infrastructure to manage it.

  • Speaking of MySQL, if something is unspeakably slow and it's not a full-text index, it's probably a subquery.  Got rid of one of those as well today.

  • Vim 8.2 has killer sheep.  (GitHub)

    Someone will now point out that EMACS had killer sheep in 1982.

Video of the Day


Got up this morning to find that my air conditioner had had enough of the 100% humidity and had flooded my kitchen.  Not with nice clean water either, oh no.  Had this running through my head all day as a result. 


Disclaimer: Your kitchen floor should probably not be a big black lake.

Posted by: Pixy Misa at 11:46 PM | Comments (4) | Add Comment | Trackbacks (Suck)
Post contains 419 words, total size 3 kb.

Posted by: J Greely at Tuesday, December 17 2019 03:50 AM (ZlYZd)

2 Yay.

Posted by: Pixy Misa at Tuesday, December 17 2019 09:33 AM (PiXy!)

3 So there's at least one good thing that came from having a spitting aircon.  Being reminded of anything by Split Enz is nice.

Posted by: Wonderduck at Tuesday, December 17 2019 06:56 PM (cTMj+)

4 M-x killer-sheep-mode, of course.

Posted by: Jay at Wednesday, December 18 2019 02:22 AM (mrlXS)

Hide Comments | Add Comment




Apple pies are delicious. But never mind apple pies. What colour is a green orange?




51kb generated in CPU 0.0125, elapsed 0.1029 seconds.
58 queries taking 0.0934 seconds, 344 records returned.
Powered by Minx 1.1.6c-pink.