JetStream KV: A fascinating alternative to Redis...

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ก.ค. 2024
  • Continuing his series on JetStream, Jeremy dives into the details of how NATS JetStream's Key/Value buckets work, and showcases how easy it is to move and replicate data without having to change your applications.
    00:00 - Intro
    00:53 - Like and subscribe
    01:10 - What is JetStream KV?
    06:27 - Redis Comparison
    08:30 - Configuration Options
    09:15 - Put Command
    10:20 - Get Command
    10:45 - Create Command
    11:29 - Update Command
    12:50 - Delete Command
    13:29 - Purge Command
    14:08 - Watching for Changes
    16:43 - Replication
    17:39 - Mirroring
    19:16 - Sourcing: Demux
    20:32 - Sourcing: Mux
    21:42 - Upcoming Features
    24:29 - Example: Moving and Mirroring across clusters
    27:45 - Example: Leader election
    34:37 - Conclusion
    Source code and text tutorial available here:
    github.com/synadia-io/rethink...
    Don't want to host NATS yourself? Sign up for Synadia Cloud for free: cloud.synadia.com/
    NATS is a connective technology powering modern distributed systems, unifying Cloud, On-Premise, Edge, and IoT.
    Join the NATS Community on Slack: slack.nats.io
    Learn More about NATS at docs.nats.io/
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @trashmail8
    @trashmail8 4 หลายเดือนก่อน +2

    This series is amazing! Thank you sooo much! 🙏

    • @SynadiaCommunications
      @SynadiaCommunications  3 หลายเดือนก่อน

      Thanks for watching! Glad you got value out of it!

  • @victornunes4486
    @victornunes4486 4 หลายเดือนก่อน +2

    Great content! Just what I needed for my ongoing KV implementation 🤯
    Keep the good work! Can’t wait to see the KV updates 🤩

    • @ssabaris
      @ssabaris 18 วันที่ผ่านมา

      Curious, why would you use this over Redis?

  • @silver1544
    @silver1544 4 หลายเดือนก่อน

    oh! so great. waiting for 2.11 too :)

  • @sgwong513
    @sgwong513 4 หลายเดือนก่อน +2

    Great, I am really looking for the upcoming feature: counter, list and batch Get...

  • @crownstupid
    @crownstupid 4 หลายเดือนก่อน +1

    I'm really excited about nats and I'm looking to implement it. Looks like a good replacement for redis/etcd/kafta/etc. but what about secrets? anything in nats/js to rival vault? I think managing encryption keys with vault and encrypting streams might be best practice for high security environments.

  • @JohnMcclaned
    @JohnMcclaned 4 หลายเดือนก่อน

    noice

  • @nchomey
    @nchomey 4 หลายเดือนก่อน

    In the mirroring example, are those single nodes or clusters in each location? Could you mirror a cluster so that there's a read-only mirrored cluster with delegated writes to the primary cluster?

  • @suikast420
    @suikast420 4 หลายเดือนก่อน

    Is there a feasible reason for getting a deleted event if I do a remove for a not existent key?

  • @shahzodshafizod
    @shahzodshafizod หลายเดือนก่อน

    Can you please explain how to setup an editor like yours. Is it vim? But my vim does not have autocomplete. More info please. Thanks in advance

  • @chriwas
    @chriwas 4 หลายเดือนก่อน

    Great content!
    How distributed could a NATS system be? Would it be possible to have 1000 edge nodes and a few (3-9) central, replicated clusters with a kind of star relationship between edge nodes and the central clusters? Where can I read up on such a concept?

    • @nchomey
      @nchomey 3 หลายเดือนก่อน

      I think leaf nodes are what you're looking for. There's a great video in the channel for it

  • @mikkaruru
    @mikkaruru 3 หลายเดือนก่อน

    Great video! Can JetStream be used for blockchain networks?

    • @SynadiaCommunications
      @SynadiaCommunications  2 หลายเดือนก่อน +1

      Yup! Lots of folks use NATS for a higher layer network for blockchain

  • @holgerwinkelmann6219
    @holgerwinkelmann6219 3 หลายเดือนก่อน

    Hi, can you provide the NATS CLI benchmark commands for a KV like described in 07:00 i.e. with 50 Writer (--pub 50)

    • @SynadiaCommunications
      @SynadiaCommunications  3 หลายเดือนก่อน +1

      Check out the `--kv` flag in the `nats bench` command

    • @holgerwinkelmann6219
      @holgerwinkelmann6219 3 หลายเดือนก่อน

      @@SynadiaCommunications hi, sure checked the flag, but it’s undocumented

  • @eswarnichtsmehrfrei
    @eswarnichtsmehrfrei 4 หลายเดือนก่อน

    The logo of Synadia is also the logo used by Shazam, owned by Apple.

    • @Jared-150
      @Jared-150 4 หลายเดือนก่อน

      Shazam has more rounded caps on the shapes in their logo.

  • @praveenperera
    @praveenperera 4 หลายเดือนก่อน

    I used KV for leader election, it worked great, I was able to get the leaders and followers attempting to take leadership every 1.2 seconds.

  • @Rundik
    @Rundik 4 หลายเดือนก่อน

    No lists, no sets, no ttls. Is this really a redis alternative?

    • @SynadiaCommunications
      @SynadiaCommunications  3 หลายเดือนก่อน +2

      All coming in the next version of NATS server!