I took three approaches to storing large hash of arrays to the test ... here is what I found about hash of arrays in native #Perl, DBM::Deep and #Redis (through its #Perl interface)
🤔 While I like fly.io, I think they are encouraging/pushing people to use Server-Side SQLite because their managed Postgres support is hot garbage. 🗑️
I say this as someone who is a member of three orgs that have had severe Postgres database issues with their managed service. Support was not even remotely helpful.
I was even forced to pay $29 to get support for one of my personal projects just to be told they could not help me.
@webology@kedare@carlton we use PostgreSQL (and Redis) managed instances in Digital Ocean and they work pretty well, are stable, easy to configure (e.g. replica, pool, ...), are cheaper then AWS and they don't have strange name for PostgreSQL. 😉 #postgresql#digitalocean#redis#devops
Today has been an interesting day. What I liked the most was a call this morning with a young but skilled developer. He asked for an upgradable, no-frills setup, fast and reliable. I suggested #FreeBSD and a jail for each service (one for #redis, one for #mariadb, one for #nginx and #php, etc.), but I explained that he would need to embrace the concept of using such a solution.
He responded that he can't wait to learn something new and that he liked my proposal. These are the moments of satisfaction when your experience can be helpful to young and enthusiastic IT enthusiasts who, in turn (if they see the benefits), will promote your choices to their friends and colleagues.
Maintenant que #Unbound 1.18.0 sous Debian est compilé avec le support de #Redis, je me demande si ça vaut le coup de l'utiliser pour dns.shaftinc.fr
L'idée d'associer Redis à un résolveur #DNS et de servir de cache de 2nd niveau
Avantage : avoir du cache dispo après redémarrage, et pour ce qui touche au RFC 8767 (service de données périmées)
Maintenant, ça ajoute un logiciel assez lourd dans la boucle. Pour un gain qui sera sans doute marginal sur une petite installation comme @DNS_Shaftinc
Today's Python hot take: FastAPI is one of those sarcastic names, like Greenland (which isn't very green). The devs' claims of it being fast is some kind of joke. Because it's not actually very fast at all. A replacement package that's actually fast is Litestar, which also seems generally more wholesome.
Isn't the quite new? I only recently heard of it while searching for asyncio #Redis caching and using async Requests and #BeautifulSoup. Now, I see it everywhere.
Personally, I am am busy investigating some backend and API, and I have just been considering using #Go instead of #Python and #Flask
Check the new "Donation list" to support your favourite free and open source software.
It includes all the #donation links with all the listed #tutorials and #services we provide.
#3DPrinting folks: Anyone interested in the idea of a #Fediverse model hosting site (like Thingiverse, etc)? I'm wondering whether I should expand @vandam (my self-hosted 3d library manager app) in that direction, and I'd be very interested in your thoughts: https://github.com/Floppy/van_dam/issues/1389
With a concept like this, the actual website need not be fedirated or decentralized, so the frontend.
Only the actual hosting of files, interaction, and records need to be. Thus, anyone could replicate it if the site goes AWOL.
Thus, I think #ActivityPup for user communication and data and then #IPFS for actual files. Using IPFS would even allow for versioning similar to #Git.
New P2PInfect Worm Targets Linux and Windows Redis Servers with Undocumented Breach Methods
The P2PInfect peer-to-peer (P2) worm has been observed employing previously undocumented initial access methods to breach susceptible #Redis servers and rope them into a botnet, relies on critical Redis vulnerability disclosed and patched last year.
A fun experiment I am in the mood to try is to take my entire #Redis implementation of my code running in #Docker and just replacing it with #IPFS.
I currently can't imagine any advantages, I mean, come on, it's Redis. But I just thought it would be a fun experiment to try. An IPFS implementation would allow for transaparency of user data, which is stored with decentralized storage similar to #gunDB.
Although the same propogation of network data with #gunDB wouldn't be the same and the native security and encryption of gunDB would be nice, I just want to mess around with the idea.
With Redis, relationships between sets are created with primary and secondary keys and referencing other records. But IPFS could give the same behavior as a standard #ORM and something like #SQL.
Also, I've wanted to benchmark IPFS for such usage before and because I know the Redis speeds now, 15k commands/s, this would be interesting to see even just in Docker and on my LAN network.
Both @Python and @3dprinting using #Redis to keep track of state, @remindMe not yet just because it is just a prototype at the moment.
When they start up, so the bot was offline and it is out of sync, it fetches all posts, followers etc. stores the state and then updates and uses it almost as cache during run-time.
With Redis, this takes about 2 minutes. This is with a bit of funky API and Python magic, but basically asyncio and other stuff. The Mastodon state is copied to Redis.
I have been joking for a while that I am searching for my next language to add to my resume, and I am strongly leaning towards #Go and #Rust. I have used Go in a few projects, but honestly, I haven't even touched a line of Rust.
That being said, alongside this, I think I am finally going to add #Lua to my arsenal as well. I've been using #Neovim and would love to easily be able to write my own extensions, and I also see that #Redis has support for it.
Earlier today, I wanted to delete all keys in my Redis database with some <key>:<id>. I was a bit lazy and messed around. So I asked #ChatGPT just for a quick #CLI command. Which it basically said wasn't possible.
So I had 1 of 2 options. Write 5 lines of Python just randomly in my existing main file. OR! I see that #RedisInsight supports Lua!
Why do something in 5 minutes in 5 lines if I can automate it in a day by learning an entire new language?🙆♂️
Someone please explain to me how TF to use #Redis in #Laravel (6, specifically, for now) without just praying that I put the right method name on a facade? How can I inject it instead like a grown up?
Seriously, I can find nothing for how to use basics like incr()/decr() other than "it will simply pass the arguments."
Digging into local storage in #javascript today. How come its not more widely used in #frontend these days? It's nothing short of awesome! It's like every browser is equipped with baby #redis now.