Skip to content

Conversation

@styfle
Copy link
Owner

@styfle styfle commented Dec 5, 2024

I was trying out postgres to see if it would be a good alternative to redis.

Unfortunately its slower so its not a good solution.

This PR removes the experimental code.

@vercel
Copy link

vercel bot commented Dec 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
packagephobia ✅ Ready (Inspect) Visit Preview Dec 5, 2024 1:45pm

@socket-security
Copy link

Removed dependencies detected. Learn more about Socket for GitHub ↗︎

🚮 Removed packages: npm/@vercel/[email protected]

View full report↗︎

@styfle
Copy link
Owner Author

styfle commented Dec 5, 2024

For posterity, here's the usage

image image image image

@styfle
Copy link
Owner Author

styfle commented Dec 5, 2024

And here are the results of a few queries:

select count(*) from packages; -- 1213326

select count(*) from (select distinct name from packages) n; -- 596047

select count(*) from packages where name = 'next'; -- 1933

select count(*) from packages where name = 'react'; -- 1952

select count(*) from packages where name = 'typescript'; -- 3061

@styfle styfle merged commit 6b64220 into main Dec 5, 2024
5 checks passed
@styfle styfle deleted the styfle/remove-postgres branch December 5, 2024 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants