Using Redis/Redict/Valkey in Python (2024 tutorial)

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 พ.ค. 2024
  • Redis (and forks thereof) is an astoundingly fast persistent caching system, and on top of that, it's ridiculously easy to use! If that's not a great combination, I don't know what is.
    (P.S.: We're actually using one of the forks in this video, but this works exactly the same for normal Redis, as well as other forks too!)
    -
    If you enjoy my content, consider supporting me on Patreon or becoming a member!
    • Patreon: / carberra
    • Membership: / @carberra
    Follow me elsewhere for even more Carberra!
    • Discord: / discord
    • Instagram: / carberratutorials
    I get a lot of people asking, so here's my setup!
    • Visual Studio Code: • My Visual Studio Code ...
    • Terminal: • Make your terminal loo...
    -
    If you have any questions, don't hesitate to ask in the comments! I'll try and answer as soon as I can, providing someone else hasn't already done so.
    #python #coding #howto

ความคิดเห็น • 9

  • @nebhead77
    @nebhead77 13 วันที่ผ่านมา

    Great video!
    Would be interested to drag race each of the different Redis forks and also how this does vs. good old file writes.

    • @Carberra
      @Carberra  13 วันที่ผ่านมา

      Thanks! All the forks will probably be the same speed at the moment as they've forked from what is currently the latest version of Redis OSS. I know something like RocksDB (only heard of it through comments!) is faster purely because that doesn't use an external server, but Redis is about as fast as it gets out-of-process.

  • @gardnmi
    @gardnmi 14 วันที่ผ่านมา +1

    An even easier way to persist data in your application is to use an embedded key value database like rocksdb. There is a python library called rocksdict that make it easy to implement.

    • @Carberra
      @Carberra  14 วันที่ผ่านมา +1

      Huh, yeah that does actually look pretty cool. Will give that a go!

  • @nunoalexandre6408
    @nunoalexandre6408 14 วันที่ผ่านมา +1

    Love it!!!!!!!!!!

  • @paddingbox9845
    @paddingbox9845 10 วันที่ผ่านมา

    hi, I am new to python, do you have python series for beginners? or could you please suggest a channel.

    • @Carberra
      @Carberra  10 วันที่ผ่านมา +1

      I have the How to Python series which should help with that. Indently is also a good channel for starting new.

    • @paddingbox9845
      @paddingbox9845 9 วันที่ผ่านมา

      @@Carberra Thank you! appreciate that.