markwylde

twtxt.net

No description provided.

Recent twts from markwylde
In-reply-to » Oh farrrrk me! 🤦‍♂️ React Apps, NodeJS c'mon! 🤦‍♂️ How does anyone do this shit?! 🤯

The problem isn’t with NodeJS or NPM, it’s the developers that are so willing to use horrible frameworks/libraries/tooling that is just simply not needed. NodeJS gives you so much out of the box, and NPM is simply a place to store your packages. With Deno, you won’t even need a package manager as it takes a step closer to go modules approach.

If you’re going to use React, TypeScript, NextJs, Webpack, Styled Components, Material UI, Jest, and the 10k dependencies that comes with it, then yeah, your dev environment is going to be slow, bloated, and incredibly frustrating to work with. Not to mention have security issues. I’ve literally just done a fresh create-react-app installation (latest version 5.0.1 as I write this), and boom, 6 high severity vulnerabilities.

Download

But it doesn’t have to be this way. Choose lightweight libraries that do one thing really well, and build your project from the ground up yourself.

⤋ Read More
In-reply-to » I love simple, lightweight, small, minimal tools that just do the bare minimum. Based on that, does anyone have any good recommendations for a key value store that is: - lightweight - clustered - sharded (so if I have 5 instances and 100 keys, each node will roughly have 20 keys on it). - easy to join nodes: as in kv-server --join somehost:1111

Did a quick benchmark:
https://git.mills.io/prologic/bitraft/issues/58

Seems the summary benchmark of a 5node cluster on my laptop is:

GET: 1165.64 requests per second
SET: 1061.80 requests per second

⤋ Read More
In-reply-to » I love simple, lightweight, small, minimal tools that just do the bare minimum. Based on that, does anyone have any good recommendations for a key value store that is: - lightweight - clustered - sharded (so if I have 5 instances and 100 keys, each node will roughly have 20 keys on it). - easy to join nodes: as in kv-server --join somehost:1111

But in Bitraft every node contains every key + value, right? I probably wasn’t clear above, but in my idea REPLICA_COUNT would be 3 but the NODE_COUNT may be 10. So a put would go to 3 of 10 of the nodes.

⤋ Read More

I love simple, lightweight, small, minimal tools that just do the bare minimum. Based on that, does anyone have any good recommendations for a key value store that is:

  • lightweight
  • clustered
  • sharded (so if I have 5 instances and 100 keys, each node will roughly have 20 keys on it).
  • easy to join nodes: as in kv-server --join somehost:1111

For reference, I think Consul is too heavy (and not sharded I believe).

It would be great to have a small go executable, that I can run on 10 servers, all connected up, that exposes a redis like api. Simple GET, PUT and STREAM would be great.

@prologic anyone else here I can ping?

⤋ Read More

I’m looking into building a standalone app that can connect to any twtxt pod.

I’m considering a slack like approach, where down the left hand side you can have multiple pod instances.

Do people have an account on multiple pods? Or is there not really any point since you can feed into any pod from any other pod?

⤋ Read More

Are there many JavaScript developers on here? I’ve built a super basic testing library, because pretty much every library out there does a bunch of magic like auto running the suite, auto loading files, hooks (beforeEach/beforeAll/etc) and all the nesting (describe/it).

I don’t think it’s needed and have pretty much exclusively been doing “no mocking”, “no hooks”, and it’s worked well for me.

https://github.com/markwylde/just-tap

⤋ Read More