Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove postgres experiment #1061

Merged
merged 1 commit into from
Dec 5, 2024
Merged

chore: remove postgres experiment #1061

merged 1 commit into from
Dec 5, 2024

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.

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

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.

1 participant