postgresqlfs
pgfs
postgresqlfs | pgfs | |
---|---|---|
1 | 2 | |
86 | 59 | |
- | - | |
10.0 | 6.3 | |
over 6 years ago | 4 months ago | |
C | Go | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
postgresqlfs
-
File Attachments: Databases can now store files and images
The issue I've run into re: storing files as BLOBs in a database has been the "impedance mismatch" coming from others wanting to use tools that act on filesystem objects against the files stored in the database.
That aside I've had good experiences for some applications. It's certainly a lot easier than keeping a filesystem hierarchy in sync w/ the database, particularly if you're trying to replicate the database's native access control semantics to the filesystem. (So many applications get this wrong and leave their entire BLOB store, sitting out on a filesystem, completely exposed to filesystem-level actors with excessive permission.)
Microsoft has an interesting feature in SQL Server to expose BLOBs in a FUSE-like manner: https://learn.microsoft.com/en-us/sql/relational-databases/b...
I see postgresqlfs[0] on Github, but it's unclear exactly what it does and it looks like it has been idle for at least 6 years.
[0] https://github.com/petere/postgresqlfs
pgfs
-
File Attachments: Databases can now store files and images
BLOB on Postgres are awesome, but there's also a full-featured file API called Large Objects for when the use-case requires seeking/streaming.
Wrote a small Go library to interface with it: https://github.com/mohamedattahri/pgfs
Large Objects: https://www.postgresql.org/docs/current/largeobjects.html
- pgfs: Transactional file system built on Postgres using Large Objects
What are some alternatives?
fscrypt - Go tool for managing Linux filesystem encryption
goofys - a high-performance, POSIX-ish Amazon S3 file system written in Go