Hashtag

#Redis

39 posts tagged with this hashtag.

@jobsfordevelopers@mastodon.world
@jobsfordevelopers@mastodon.world
@erik@straub.social

Did a thing to make #testing against a #redis cluster in #golang a bit easier for myself, but maybe it's useful for others, too.

https://github.com/erkattak/testcontainers-go-redis-cluster

This is a module for #testcontainers that forms a Redis cluster (with various configuration options) and gives an API to stop/pause/restart nodes in a targeted way.

I needed something to emulate issues with service resiliency when doing sharded Pub/Sub with a Redis cluster run in #kubernetes - specifically with rescheduled nodes.

The redis/go-redis package isn't exactly resilient against underlying topology changes when doing Pub/Sub, and in writing code to make it more resilient, I found that it's difficult to create a cluster with testcontainers without a lot of boilerplate or configuration. So I decided to abstract that part away from the real code I'm writing.

I probably just could've installed redis on my local or ensured that it is available in CI, but both already have #docker and we already used testcontainers a bit in other parts of our service.

github.com

GitHub - erkattak/testcontainers-go-redis-cluster

Contribute to erkattak/testcontainers-go-redis-cluster development by creating an account on GitHub.

@erik@straub.social

Did a thing to make #testing against a #redis cluster in #golang a bit easier for myself, but maybe it's useful for others, too.

https://github.com/erkattak/testcontainers-go-redis-cluster

This is a module for #testcontainers that forms a Redis cluster (with various configuration options) and gives an API to stop/pause/restart nodes in a targeted way.

I needed something to emulate issues with service resiliency when doing sharded Pub/Sub with a Redis cluster run in #kubernetes - specifically with rescheduled nodes.

The redis/go-redis package isn't exactly resilient against underlying topology changes when doing Pub/Sub, and in writing code to make it more resilient, I found that it's difficult to create a cluster with testcontainers without a lot of boilerplate or configuration. So I decided to abstract that part away from the real code I'm writing.

I probably just could've installed redis on my local or ensured that it is available in CI, but both already have #docker and we already used testcontainers a bit in other parts of our service.

github.com

GitHub - erkattak/testcontainers-go-redis-cluster

Contribute to erkattak/testcontainers-go-redis-cluster development by creating an account on GitHub.

@radwebhosting@mastodon.social

🚀 Deploy on

This article provides a guide demonstrating how to deploy Zonemaster on Debian VPS.
What is Zonemaster?
Zonemaster is an open-source testing and validation framework designed to thoroughly analyze the health, correctness, and performance of a domain’s DNS configuration. It is jointly developed and maintained by AFNIC (registry for .fr) and ...
Continued 👉 blog.radwebhosting.com/deploy-

@kkarhan@infosec.space · Reply to Bradley M. Kuhn

@bkuhn @eruwero @maybeanerd Okay, this derailment of yours it taking more than 11.000 characters that I can put in this post to cleanup whilst going anywhere and so I'd stick with @InnuendoStudios 's advice and not entertain a fruitless discussion that is a waste of time, traffic, storage and mental energy.

  • Or as people in Bavaria would say: "Get lost!"

Feel free to come back once you got something productive to bring to the table, except ticking the box for "cringe Stallman-esque GPLnazi" cuz your arguments make you sound like the kind of toxic folks that make it really hard to convince someone to ever do FLOSS at all.

  • The kind of people that harrass folks on GitHub for not putting their code under instead of being happy that someone decided to share their code, free of charge with no expectation of monetary compensation in return!

If you want to make ends meet writing code then I'm sorry to pop that bubble but aside from there's hardly any chance that happens.

So yeah, if you want to get paid then won't do that either!

  • All and other did was get big corporations to hire folks to make drop-in replacements to replace stuff like with better alternatives!

As for me: I'm busy beyond , and the reasons are literally NONE OF YOUR BUSINESS!

youtube.com

Linux Kernel Developer Work Spaces: K.Y. Srinivasan, Microsoft

K.Y. Srinivasan is an architect in the Windows Server Division at Microsoft where he helps ensure that the Hyper-V hypervisor and Azure cloud environment sup...

@securestep9@infosec.exchange
@ron@social.amichan.de

Vorgestern hatte jemand, ich glaube Du, @galileo , darauf aufmerksam gemacht, dass Mastodon in Version 4.4.0 erschienen ist und man das aktualisieren sollte.

Es war 21:30 Uhr.

Eigentlich wollte ich ins Bett. Aber, ach was solls, installierste mal schnell noch 4.4.0. Oh, mein Ruby und /oder Redis ist jetzt zu alt. Na dann das zu erst.

2:25 Uhr bin ich mit völlig zerschossenem Mastodon ins Bett gefallen.

Und habe mich an meine Regel erinnert: "Mal eben schnell gibt es nicht!"

Am nächsten Morgen habe ich zusammen mit Gemini versucht, das System zum laufen zu bekommen. Wir haben installiert, deinstalliert, wieder installiert, aktiviert und deaktiviert. Wir haben Mastodon komplett sauber neu installiert und wieder deinstalliert. Alles verbunden mit Wartezeiten von durchaus 20 min oder mehr. Irgendwann hat Gemini gemeint: Sorry, ich bin am Ende meines Lateins.

Ich hätte 2 Möglichkeiten:

1. einen "richtigen" Experten mal auf mein System schauen lassen, das Problem liegt offensichtlich ausserhalb von Mastodon
oder
2. Mach Linux platt, installiere es komplett sauber, richte Mastodon neu ein, spiele ein Backup der Userdaten zurück.

Und da waren wir an dem Punkt, den ich immer befürchtet hatte: Ein Backup musste eingespielt werden.

Aber real gesehen war es egal. Die aktuelle Version werde ich nicht mehr hinbekommen. Also habe ich das mittlerweile knapp 3 Jahre alte System gebackupt, es waren am Ende drei Dateien: Datenbank, Medienarchiv, Konfiguration.

Dann habe ich die Platte abgezogen, eine zweite Platte genommen, das System sauber installiert und mit Gemini Schritt für Schritt Mastodon neu eingespielt.

Kritisch war erst ein mal nur der Bereich, die SSL-Verschlüsselung wieder zu aktivieren und dem Webserver zu überzeugen, die richtigen Dateien an der richtigen Stelle auszuspielen.

Und dann war das System, niegelnagelneu, tatsächlich wieder da.

Dann ging es ans Rückspielen. Und was soll ich sagen, es war am Ende tatsächlich relativ simpel. Klar, ohne Gemini hätte ich das nie hinbekommen.

Ich hab Gemini dann drei Listen erzeugen lassen:

1. Den kompletten am Ende funktionierenden Ablauf der Installation
2. Den kompletten am Ende funktionierenden Backup-Prozess.

Und die EISERNE Regel: "MAL SCHNELL GIBT ES NICHT!"

Nach 18 h lief das System wieder (inkl. 4,5 h schlafen).

Ein paar kleinere Dinge, Zeichenlimit, Upload-Limit hab ich dann später noch nachgeführt.

@thisismissem@hachyderm.io

Wow, that's annoying, if you open an account with Redis Cloud (redis's hosted service), then you can't self-close it, and instead need to file support ticket to get them to delete your data.

@seungjin@mstd.seungjin.net
@melroy@mastodon.melroy.org
@cascading@misskey.io
@cascading@misskey.io
@webmink@meshed.cloud
@joschi@hachyderm.io · Reply to joschi
@joschi@hachyderm.io · Reply to joschi
@joschi@hachyderm.io

At this point I'm contemplating rewriting this small application in .

Every step on the way I'm running into some unsupported things.

Latest frustration: The Quarkus extension (based on Vert.x Redis 4.x) doesn't support Amazon . This will be supported in version 5. 🙃

While at the same time there's an official example from for Lettuce (which Redis is based on).

docs.aws.amazon.com/AmazonElas

docs.aws.amazon.com

Authenticating with IAM - Amazon ElastiCache

How to authenticate with IAM.

@Codeberg@social.anoxinon.de · Reply to Codeberg

We were still struggling with email delivery from Forgejo. It looks like some queues are corrupted and restoring them is very hard. Most queued messages are spam or registration emails with already expired tokens. Finally, we made the decision to reset the queue and will do that in a few minutes.

We are using the opportunity to switch the queues to / , which was a planned project anyway (a requirement for clustering our Forgejo to multiple instances).

@qiita@rss-mstdn.studiofreesia.com
@ricard@ricard.social

Can you have a and in the same server?

I'm seeing very weird things.

1. Some Mastodon lists have 0 posts right now, refreshed and gone.

2. Following a Pixelfed user from Mastodon seems to have no effect.

All systems in Pixelfed and Mastodon seem up.

Could there be a conflict with or similar?

@hollo@hollo.social

now can work without . It uses Redis as a cache and queue backend if the REDIS_URL environment variable is provided, but if not given, it caches in memory and works without a queue. This is an option to consider if you have a few following/followers.

has supported optional queuing for outgoing activities, with two built-in message queue backends: InProcessMessageQueue, which is suitable for development, and DenoKvMessageQueue, which is only available in Deno.

Fedify has also had two built-in cache backends, MemoryKvStore, which is suitable for development, and DenoKvStore, which is only available in Deno.

Now, however, by installing the @fedify/redis package, you can use as both a message queue backend and a cache backend! Unlike DenoKvMessageQueue and DenoKvStore, it's also available for .js and .

This feature was made possible with the support of @ghost.

https://github.com/dahlia/fedify-redis