med-mastodon.com is one of the many independent Mastodon servers you can use to participate in the fediverse.
Medical community on Mastodon

Administered by:

Server stats:

418
active users

#Redis

2 posts2 participants0 posts today
Continued thread

2) valkey/valkey:alpine

I've recently switched from redis to valkey, but they are compatible. I'll use the redis-cli tool to ping the service.

Add the following in the [Container] section of the nextcloud-redis.container:
...
HealthCmd=redis-cli ping || exit 1
HealthStartPeriod=10s
HealthInterval=30s
HealthTimeout=30s
HealthRetries=3
Notify=healthy
...

#podman #nextcloud #quadlets #healthcheck #redis #valkey

redis.io/learn/operate/redis-a

redis.io1.1 The Command Line Tool: Redis-CLIBuild fast apps fast with Redis.

#Arch is replacing #Redis with #Valkey.

The transition period will be of 14 days, at the end of which the Redis package will be moved to the AUR.

I said it already one year ago after Redis switched its license to a very restrictive SSPLv1: I don’t get it. And I said that little, if anything, would have changed, and that the Redis community would have just been splintered into a bunch of forks, while the great offenders (AWS and Azure in the first line) would have just switched their cloud offerings to the more permissive forks, still without feeling any duty to contribute back.

Fast forward one year, that’s exactly what happened.

AWS is already offering Valkey as a drop-in replacement for Redis in ElastiCache. Most of the distros have already switched to Valkey, or are considering to do so. The only loser so far has been Redis itself, which has lost community support, users, developers and funding.

Lesson learned: if you build a FOSS project, and you’re pissed by Amazon and Microsoft monetizing it without contributing back, opting for a strict open-source (but NOT free) license that forces any users of your product to also release the full source code of what they’ve built with your product (not only any modifications they’ve made to your product itself) is a bad idea.

I mean, I would love to live in a world where such a strategy actually helps, where the “free-as-in-beer” folks can be sensibilized about the cost of their freeloading and where you can nudge them to be less evil with a license that forces them to build more in the open. But the truth is that this world is quite far from that vision. If the cost of forking is perceived as lower than the cost of contributing back, then you can assume that folks will just fork whatever was there at the time of the license change.

https://archlinux.org/news/valkey-to-replace-redis-in-the-extra-repository/

archlinux.orgArch Linux - News: Valkey to replace Redis in the [extra] Repository

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

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

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

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

docs.aws.amazon.com/AmazonElas

docs.aws.amazon.comAuthenticating with IAM - Amazon ElastiCacheHow to authenticate with IAM.
Continued thread

L'estructura tècnica d'#appy funciona gràcies a Python, fastAPI, #Postgresql (base de dades) i #Redis (memòria cau).
Tot de manera asincrona per evitar punts de bloqueig, passen moltes coses en parall·lel, simultàniament, bàsic per a tenir fluïdesa tant en les interaccions amb altres servidors com amb les aplicacions client.
appy funciona bé fins i tot en una #Raspberry 4B, per tant també és una opció vàlida per a tenir el perfil fediversal auto gestionat i a casa.

#Microservices. Real-time #asynchronous processing. #PostgreSQL and #Redis integrations. And the best damn collection of well-tested #OpenSource libraries.

Your company is using the #Perl #programming language and ecosystem, even if you don’t know it.

So join Deriv and support @metacpan so that your systems can continue to run for the *next* 25 years: perl.com/article/why-deriv-sup

fosstodon.org/@metacpan/114162

Perl.comWhy Deriv Supports the Perl EcosystemSince 1997 Perl.com has published articles about the Perl programming language, its culture and community.

I think any large interesting program you might write could well have an embedded language within it, in which the user can write stuff that is just as good, and just as deep as built-in functionality. You want this. It’s a thing that makes programs compelling.

In #Vim, that embedded language is #VimScript. In #emacs, that’s #elisp (which in fact, I think the whole thing is written in). In a #smalltalk environment, you control the entire environment with Smalltalk, just as elisp applies to Emacs. For many, many things, that language is #lua ( #NeoVim, many games, #pandoc, #redis, this list goes on).

I used to think there were really two reasonable mainstream languages you could use here: #Python or #javascript. Between those two, for a long time I felt that JavaScript was the winner. I think that has changed as Python has gotten faster, more powerful, and better known. But also, I think the answer might actually not be either of these two. It might be Lua. Lua is simpler and faster than either JavaScript or Python. It’s more embeddable. It’s designed specifically for this purpose. It’s in much wider use as an embedded scripting language. I don’t want Lua to be the answer. I like Python better. But I think Lua actually is the right answer.

So, my server issues have been resolved. My current server performs great again after it was migrated to another host. The new one performs similar, or actually a tad bit better. So that's a nice alternative to have and it'll let me spread some of the sites. Less sites down when there's something going on with one of the servers.

But on both of them #Redis Object Cache for #WordPress degrades website performance A LOT. It wasn't like that before and have ran it for a couple of years now.

🚀 New TIL: Isolating Redis Cache for Parallel Tests in Django

Running tests in parallel in Django? You might run into cache conflicts! Here's how you can isolate Redis cache per test process to avoid race conditions.

Check it out 👉 til.sanyamkhurana.com/#/topics

til.sanyamkhurana.comSanyam Khurana's TILsA collection of Today I Learned (TIL) posts by Sanyam Khurana. Quick notes, coding tips, and discoveries.