News for hackers. Stuff that matters.
Re:Do you need Redis? PostgreSQL does queuing, locking, and ... by baq on Monday November 04, 2024 @01:17AM (#42038990)
Why? Most languages are less memory efficient than redis, even in a separate process, and I don’t want to reimplement half of its features.
Re:Do you need Redis? PostgreSQL does queuing, locking, and ... by cstadnij on Monday November 04, 2024 @01:33AM (#42039075)
Because it's really, really slow compared to in-language variables? I've not yet ran out of memory because of program variables, and speed shouldn't be an argument for low memory footprint when it's already at best 1/10 of it's performance.
Re:Do you need Redis? PostgreSQL does queuing, locking, and ... by speedgoose on Monday November 04, 2024 @01:45AM (#42039132)
Redis locally is good to do IPC though. You have many scenarios where multi local processes have to exchange data. You have alternatives but Redis works and can scale up.
Re:Do you need Redis? PostgreSQL does queuing, locking, and ... by mgraczyk on Monday November 04, 2024 @03:35AM (#42039660)
You can do a mutex in like 10 bytes, how could redis be more memory efficient?
Re:Do you need Redis? PostgreSQL does queuing, locking, and ... by baq on Monday November 04, 2024 @12:54PM (#42044184)
you are using the minority language if that's the case for you.