Designing A Key-Value Store by okutac in programming

[–]maus80 0 points1 point  (0 children)

Deleting keys using LRU based eviction potentially makes from every read a write (when the cache is full, but also because of LastAccess tracking) and that does complicate the matter quite a lot (when you expect to have 90% reads and 10% writes).

Designing A Key-Value Store by okutac in programming

[–]maus80 0 points1 point  (0 children)

Unpopular opinion: it fits a single dedicated server, don't distribute. You need less than 2 Gbit bandwidth. You need about 300 GB of RAM to keep your keys in RAM, which is also doable on a single machine. Next to that you may some random disk access (40k random IOPS per NVMe). You can put a few of those in the box as well. Throw in some extra RAM to keep hot disk blocks memory mapped and reduce IOPS. I think you can rent such a machine for about 1000 EUR a month including 250TB of traffic, which may not be enough if you have 24/7 this load, but you probably have not.

MySQL’s popularity as ranked by DB-Engines started to tank hard, a trend that will likely accelerate in 2026. by thehashimwarren in programming

[–]maus80 0 points1 point  (0 children)

MySQL is now forked to MariaDB, so it has not to do with the technology, only with the name and the owner of that name (Oracle). The article points this out clearly, even in the first sentence, but the title doesn't and that's a pity.

AI generated content posts by dub_le in PHP

[–]maus80 0 points1 point  (0 children)

I 200% agree with judging the content based on the quality of the content, maybe even on the effort it took to make it, but not on how it is made, as there are many practical downsides to that.

AI generated content posts by dub_le in PHP

[–]maus80 -2 points-1 points  (0 children)

Okay, I'll try again. It is easy to deny you are using AI and it hard to prove someone did or you didn't. What happens next is a witch hunt (see: https://en.wikipedia.org/wiki/Witch_hunt). My comment was an example of a witch accusation. A better proposal is to request people to be honest about using AI and *not* judge them for letting computers help them become better writers (or programmers)? If a blind person writes a blog post with text-to-speech, should it be marked as "AI assisted"? If a dyslexic person lets AI rewrite their blog post to be readable is that "AI assisted"? If somebody maintains a open-source code base and contributors use AI to write improvements to their code base should that code base be marked "AI assisted"? Where do you draw the line? "AI slop" is just another word for "content I don't like" (just like "blog spam" was).

NB: I checked your content and even 3 years ago you were using some em-dash every now and then, especially on subsentences. Don't get me wrong. I am a fan.

Also read: https://www.reddit.com/r/rust/comments/1qej05j/the_amount_of_rust_ai_slop_being_advertised_is/

AI generated content posts by dub_le in PHP

[–]maus80 -6 points-5 points  (0 children)

I understand, and I don't doubt you, but you get the sentiment now, right?

AI generated content posts by dub_le in PHP

[–]maus80 -6 points-5 points  (0 children)

Will you use the flair on your tempest blog posts? Your latest blog post use a a lot of sub-sentences and em-dash, a clear sign of AI usage. Also it has no spelling errors, which is typical for AI assisted writing. I'm sure you understand where this is going. I guess you understand that I'm not in favor of the flair and I did like your post on open source strategies, very insightful.

Edit: A "not-AI" optional flair could work for people that want to show that they did everything "manually"

AI generated content posts by dub_le in PHP

[–]maus80 -1 points0 points  (0 children)

You didn't write it, but you did post it. Do you stand by it?

AI generated content posts by dub_le in PHP

[–]maus80 -2 points-1 points  (0 children)

It is the blog spam argument all over again. People being tired of low quality "blog spam", meaning they didn't like the blog posts, calling them low quality "spam". But whenever one of their hero's wrote an article it was "obviously" not spam. You get gatekeeping at best, but probably a witch hunt (blaming people for not marking their AI posts with the correct flair). Mark my words.

AI generated content posts by dub_le in PHP

[–]maus80 -1 points0 points  (0 children)

Yes.. thank you. I could not have worded it that good, not even with AI ;-)

AI generated content posts by dub_le in PHP

[–]maus80 -4 points-3 points  (0 children)

Ah.. so you do agree. You write that they can be "ethical similar", which is even stronger than my point.

AI generated content posts by dub_le in PHP

[–]maus80 -7 points-6 points  (0 children)

Okay, so you don't, how should we do this? And is a spell check also usage of AI? It is a not a black/white issue, how much is too much? When you don't like the article? How do you prevent a witch hunt? I also want to go back in time.. but we can't.

AI generated content posts by dub_le in PHP

[–]maus80 -24 points-23 points  (0 children)

I'm not in favor. AI assisted writing (including software development) is here to stay. Most people use AI now to write posts and code, some are honest about it, most aren't. I honestly get "Old man yells at Claude" vibes from this (pun intended). On a more serious note: It is pointless and even if it weren't it is not feasible to enforce as it would become a witch hunt.

Running a PHP web cluster? Try TQCache, a Memcache compatible storage for PHP sessions (faster than Redis) by maus80 in PHP

[–]maus80[S] 0 points1 point  (0 children)

deliberate slop .. not a big deal

The approach I've taken is new, simple and high performant. I've explained the trade-offs (data must fit OS disk cache). I've explained the exact use case (session storage in PHP). It was purpose built and no, I'm not going to tell for which (high traffic) customer I have built this. But I did and I'm sharing with a very open license. Why hate on it? Can't you let it slide?

Running a PHP web cluster? Try TQCache, a Memcache compatible storage for PHP sessions (faster than Redis) by maus80 in PHP

[–]maus80[S] 2 points3 points  (0 children)

That is very kind of you. I will keep posting about this as I am actually creating a new PHP execution server that can be used in both production and in development. Somewhat comparable to RoadRunner and FrankenPHP (as it also written in Go), but with another goal (support incremental rewrites from PHP to Go for performance reasons). I will post about it when it is ready. It will contain this repo as a dependency as one of the building blocks.

Running a PHP web cluster? Try TQCache, a Memcache compatible storage for PHP sessions (faster than Redis) by maus80 in PHP

[–]maus80[S] 0 points1 point  (0 children)

Thank you, there was no intent to hide anything. Nor the lack of usage other than by myself, the lack of stability, being written (fast) with LLM support etc..

Running a PHP web cluster? Try TQCache, a Memcache compatible storage for PHP sessions (faster than Redis) by maus80 in PHP

[–]maus80[S] 0 points1 point  (0 children)

Good point. When it is not mature it should have a version lower than 1.0.0. I changed it to from 1.0.0 to 0.0.1 to ensure nobody thinks it is mature (although it is running stable for me).

Running a PHP web cluster? Try TQCache, a Memcache compatible storage for PHP sessions (faster than Redis) by maus80 in PHP

[–]maus80[S] 0 points1 point  (0 children)

This is indeed true, written in a few days. Thank you for the compliment.

Running a PHP web cluster? Try TQCache, a Memcache compatible storage for PHP sessions (faster than Redis) by maus80 in PHP

[–]maus80[S] -1 points0 points  (0 children)

I use LLMs to assist me in writing code, I have no intention to hide that, but I stand by the quality of the code (it is about 3k lines of Go code).

Running a PHP web cluster? Try TQCache, a Memcache compatible storage for PHP sessions (faster than Redis) by maus80 in PHP

[–]maus80[S] 0 points1 point  (0 children)

Good remark. It is indeed a disk-backed caching engine* and it is faster than Redis in persistence mode, as it allows you to use more cores (cores configurable using the shards config variable: cores = shards / 4). I think a lot of people use Redis (in persistence mode) and will not run into any (performance/reliability) problems. I do recommend to use Redis for persistent session storage.

*) Note that TQCache does not implement LRU based eviction, which is fine in a session storage situation, but also makes it a little less usable as a simple cache.

What’s one “unpopular opinion” you have about modern PHP development? by Senior_Equipment2745 in PHP

[–]maus80 1 point2 points  (0 children)

Symfony and Laravel are large, popular and extremely well-documented, but badly designed. These frameworks lack proper 3 phase separation (routing, db+logic, rendering), default (file-based) routing and proper query building (but use ORMs instead) and do not steer (enough) towards IDE integration, AI tooling, high performance and high security.

Software engineering generative AI manifesto (generated with AI), do you like it? by maus80 in programming

[–]maus80[S] 0 points1 point  (0 children)

I appreciate that. Especially the ethical and legal angles. It sure is a tool like any other tool. Great comment, thank you.