Installing Cassandra or another DB ?


  • | 562 points

    Hello there !

    First of all, thank you for these great tools and great community.

    I'm looking for building a small chat for users in my web app with NodeJS, Socket.io and VueJS and would like to try out Cassandra or something similar.

    After reading about databases for large chat apps, I now by the past how a MySQL database isn't enough when traffic hits and there a lots of queries per sec/min. If you have suggestions on a similar database that would fit my needs, that would be great to hear, because dispite the fact that Cassandra is efficient, I'm afraid running java on my server might crash it, my server isn't powerful. Can Laragon support new instalations and drivers for such databases ?

    Thank you for your answers !


  • administrators
    | 96742 points

    @mr-miel : How about using Redis? Super fast!
    The forum.laragon.org uses Redis as Database Backend :)


  • | 562 points

    Thank you for your suggestion, I didn't consider Redis yet, I'm gonna try it and let you know ! :D


  • | 562 points

    Hello @leokhoa ! :) I hope you're doing well. Just wanted to give you a feedback, thanks to you I got my nose into Redis and ... I loved it. I was able to start developing the Chat app for my client and just delivered it in production mode after 2 weeks of coding ! It's super fast, made with NodeJS, VueJS and Redis, I wish I could share the code but it's company property. But since I faced a lot of troubles and learned more and more, I think I'll dive into coding an open-source version and publish it !

    Thank you so much for you help and for this wonderful tool, Laragon. This is like the best "software" I've been waiting for years and can't do without it !

    I just want to add that on my installation, "Redis > Web admin" is broken and redirects to http://localhost/redis. I haven't searched yet about this entry and how to correct it, but meanwhile, I discovered this simple great tool to access a Redis database : https://github.com/ServiceStackApps/RedisReact
    That saved me a lot of time, even if it sometimes breaks, it's useful for monitoring !

    Cheers :)


  • administrators
    | 96742 points

    @mr-miel : Many thanks for your kind words. I'm very glad that Redis helped. I love Redis, too :)
    I know why it is broken. If you need it to work, you need to install Laragon WAMP over.
    https://laragon.org/download/

    The "Redis > Web admin" uses phpRedisAdmin which IMHO is better than RedisReact. You can give it a try here:
    https://dubbelboer.com/phpRedisAdmin/?overview


  • | 562 points

    @leokhoa Thank you, I'm going to give it a try on a standalone install ! :)

    By the way, I already reinstalled Laragon WAMP 3.4 yesterday over my installation of Laragon Rails & Wamp, and I still can't find phpRedisAdmin. I also installed Laragon WAMP 3.4 on a fresh install on my laptop and get the same result.
    Just wanted to report it to you ! :)

    Edit : My apologies, I found the phpRedisAdmin folder, my OS took time to search it.
    I'm looking in to my install to understand why it's not setup !


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.