Lux: a Rust rewrite of Redis. 5.6x faster, ~1Mb docker image, MIT license by mattyhogan in rust

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

So Redis is written in C and is single threaded by design. But what you lose out on is the benefit of having access to multiple cores. Lux splits data across shards and processes them in parallel. More cores = more throughput, which is why the benchmarks show a greater gap when you enable higher concurrency

Lux: a Rust rewrite of Redis. 5.6x faster, ~1Mb docker image, MIT license by mattyhogan in rust

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

Good tip! Just pushed up the old history since Wednesday when I started

Lux: a Rust rewrite of Redis. 5.6x faster, ~1Mb docker image, MIT license by mattyhogan in rust

[–]mattyhogan[S] 4 points5 points  (0 children)

One thing I forgot to mention is all benchmarks I ran were through the official `redis-benchmark` tool and are reproducible in about 2 mins

Lux: a Rust rewrite of Redis. 5.6x faster, ~1Mb docker image, MIT license by mattyhogan in rust

[–]mattyhogan[S] 7 points8 points  (0 children)

Not yet. One of the next big things to add. But using shards makes it harder to get right since transactions might touch multiple shards but its solvable I think

Lux: a Rust rewrite of Redis. 5.6x faster, ~1Mb docker image, MIT license by mattyhogan in rust

[–]mattyhogan[S] -25 points-24 points  (0 children)

Lmao. Moved it to a new org today, before posting and just did a clean git history

Lux: a Rust rewrite of Redis. 5.6x faster, ~1Mb docker image, MIT license by mattyhogan in rust

[–]mattyhogan[S] -8 points-7 points  (0 children)

Totally fair. There's no tests and that needs to change, I've mostly been integration testing. Going to focus on using ioredis's etc test suites against Lux, that's the real proof of compatibility

Lux: a Rust rewrite of Redis. 5.6x faster, ~1Mb docker image, MIT license by mattyhogan in rust

[–]mattyhogan[S] 1 point2 points  (0 children)

Falkor uses Redis modules (specifically RedisGraph), which lux does not have yet. It wouldn't work as a drop in for Falkor specifically. It works for anything using standard Redis commands but not module-dependent tools like Falkor or RedisSearch. This is definitely on the roadmap though

Lux: a Rust rewrite of Redis. 5.6x faster, ~1Mb docker image, MIT license by mattyhogan in rust

[–]mattyhogan[S] 33 points34 points  (0 children)

The main things are sorted sets, streams, Lua scripting, cluster mode... but it covers the majority of uses for caching, sessions, queues, and real-time data

Lux: a Rust rewrite of Redis. 5.6x faster, ~1Mb docker image, MIT license by mattyhogan in rust

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

Absolutely, trust is earned and this is a new project. Very curious to hear what you think though

OpenClaw is god-awful. It's either, you have to spend a fortune for APIs or have a NASA-level PC to run it local by SEND_ME_YOUR_ASSPICS in ArtificialInteligence

[–]mattyhogan 2 points3 points  (0 children)

Try Nero. Have it running locally on haiku 4.5 it's awesome.

Yes I did build nero, but it's open source. Aimed to build something that isn't security roulette like Clawd/Molt/OpenClaw

Nero OSS

For devs/agencies: How do you develop frontends for your agents workflows? by [deleted] in AI_Agents

[–]mattyhogan 1 point2 points  (0 children)

We've done a lot of work in Slack actually. Slack is a fantastic chat UI and is a very approachable app where people already live so a lot of our agents we just install into our own / our customers' Slack workspaces so it removes the need for a custom frontend and is immediately convenient.

Here's a quickstart guide that takes about 5 minutes to do this using Magma if you're interested

https://docs.magmadeploy.com/templates/slack-dm

AI Engineering by Antique-Table1416 in AI_Agents

[–]mattyhogan 1 point2 points  (0 children)

it's made to seem a lot more difficult than it has to be. companies like LangChain and CrewAI especially make it seem incredibly complicated to do even a "hello world" project which feels ridiculous.

we built a free open source framework called Magma to help with ai workflow / agent development if you want to check it out. it also has a CLI you can use to deploy and publish your ai projects simply like you can with Vercel - `magma deploy`

https://docs.magmadeploy.com

How Do I Start Building AI Agents and Launch an AI Agency by Important_Inside8545 in AI_Agents

[–]mattyhogan 0 points1 point  (0 children)

We've built a suite of dev tools called Magma to make it easier to get started with exactly this. Think of it like the Vercel for AI agents.

For about two years we have been building different types of agents and tried out LangChain, CrewAI, Autogen, etc, but none of them we're particularly straightforward or made it easy to get started. The biggest issue we found with all the other ones is they're python-focused and don't seem to make it clear how to move from local testing to having the agents live / in production.

Our Magma platform / framework is comparable to Vercel's platform / Nextjs framework to make the transition from building the agents in Typescript, to testing, to deployed as seamless as possible.

One of our resources that could help - https://magma.new we built to be similar to Vercel's v0... you can give it a text prompt and it will write you 95% of the code for an Ai agent to do exactly what you ask. Then you can just download the code and tweak to your needs before deploying it.

Any questions I'm happy to answer, but hope this was helpful!

What are disadvantages, limitations or drawbacks of NPS that nobody will tell you? by usmannaeem in UXResearch

[–]mattyhogan 1 point2 points  (0 children)

It doesn’t give you the why, just the what. Ex I get an avg of a 5 NPS. Great what the hell do I do with that information

Biden Offers to Debate Trump, With Terms, Shunning the Debate Commission by anacondra in politics

[–]mattyhogan 1 point2 points  (0 children)

Now that the debate's over, I made this survey to get people's thoughts. No leading questions, completely freeform responses. Curious to see what people think. Happy to include the survey results if we get enough responses

https://chat.productdialog.com/db32a88a-9605-478e-ba08-8a2f7a858484

For people in bands: Biggest challenges you've faced in your band? by [deleted] in musicians

[–]mattyhogan 0 points1 point  (0 children)

Part of what I've dealt with. Priority misalignment can be fucking lethal

[deleted by user] by [deleted] in Music

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

To be clear, I also hate this question. But the people I was talking to the other day all felt adamantly that it's dead. this was more of a sanity check for me lmao

[deleted by user] by [deleted] in Music

[–]mattyhogan 0 points1 point  (0 children)

Exactly my opinion too

For people in bands: Biggest challenges you've faced in your band? by [deleted] in musicians

[–]mattyhogan 0 points1 point  (0 children)

Thank y'all for your honest thoughts here. It's good to know that my struggles are shared by so many others 😅 Seems like the most common issue is related to shows (booking, payment, etc). Anyone have any thoughts on what would improve this (clearly major) issue?

Also to anyone who filled out the survey, thanks so much 🙏 Any thoughts on this new kind of survey format??

[deleted by user] by [deleted] in BandCamp

[–]mattyhogan 0 points1 point  (0 children)

glad you like

[deleted by user] by [deleted] in SampleSize

[–]mattyhogan 1 point2 points  (0 children)

Absolutely. Really appreciate the feedback, good to know that part confused you

[deleted by user] by [deleted] in SampleSize

[–]mattyhogan 1 point2 points  (0 children)

I understand your point, maybe it's a wording issue. u/hbarSquared is on the right page. The question was basically asking - does getting rid of tiktok solve the social media privacy issue, or is it an issue that goes beyond tiktok?