http://www.perlmonks.org?node_id=1225347


in reply to Anyone using MemSQL with Perl?

Hi all,

I can confirm that MemSQL does indeed work with DBD::mysql out of the box.

The only trick is using host=127.0.0.1 in your DSN to force a TCP connection instead of trying to connect via Unix socket.

Happy hacking!

Jim

πάντων χρημάτων μέτρον έστιν άνθρωπος.

Replies are listed 'Best First'.
Re^2: Anyone using MemSQL with Perl?
by 1nickt (Abbot) on Nov 07, 2018 at 12:46 UTC

    Hi, I am interested in hearing what about MemSQL interested you? Thanks.


    The way forward always starts with a minimal test.

      For my use case, I require extremely high write throughput but don't care much about durability. I also require indexing for fast queries.

      I've been using Redis with RediSearch, but I've always desired real SQL queries.

      In general, as RAM becomes cheaper and acceptable server response time shrinks, I think we will trend toward in-memory databases. MongoDB for example has an in-memory storage engine you can purchase. I do like MongoDB and Redis, but when you are dealing with relational data SQL is really the best fit IMHO.

      Jim

      πάντων χρημάτων μέτρον έστιν άνθρωπος.