🌉 bridged from @ki4jgt@feddit.org by Tidepool
ki4jgt
@ki4jgt.feddit.org.ap.tdpl.io
Is there a format for a huge distributed JSON document?
Say you wanted a database inside a huge distributed JSON file that scaled vertically. So that
get("users.jane33"), pulls Jane33's profile. Are there any specs for that? I've seen MongoDB, but no longer like its license. I'm thinking a DHT with pointers, and raw data blobs. But would like to see what's already working.Need database topography advice
I am building an open source domain cataloging system, based on an
XXX.XXX.XXXformat.INF.REF.DIC(information, reference, dictionaries), for example, would include: Cambridge, Webster, and Urban Dictionary. The purpose is to create buckets for comparative research -- like a library. I want to give my users a desktop application to explore the catalog. So, I've decided to host the catalog over IPFS, and build the desktop app in Node, with Helia. This way, the catalog will be fully distributed and easily manageable. I'm wrestling with a couple of database topographies, and would enjoy some feedback from you guys:Blockchain
The blockchain topography exists in 4 layers: 1. Root Index Node 2. Index Layers 3. Drawer For Each Call 4. Individual cards within said drawer Since XXX.XXX.XXX offers 101559956668416 possible combinations, each inode links to 1296 locations (CIDs for the drawers) within the catalog. As you crawl down the inode tree, you eventually hit the correct drawer for the subject matter you're seeking. Each card has 25 entries on it, including: domain ranking (scored 0-9, based on a mixture of credibility and culture relevance), domain name, and description. The card then links to the next card's CID in the drawer. The drawback to this system is that I would have to create a buffer of insertions during the day, and then comb the drawers backwards at midnight. The drawers are sorted by the ranking score. My entire system would be distributed though.
Mounted File System with Key-Value Store
The alternative is something like this: https://github.com/ki4jgt/PPD An on-disk key-value store, inside IPFS's built in file system. The problem with it is that it'll require me to purchase hosting servers with large amounts of storage data, and eventually use the hashed location values to distribute the data between multiple nodes. And develop a manifest system, dictating which node keys are responsible for which ranges.
What I need
I need some heads to butt together and discuss alternatives, or give me the best option out of the 2 choices. Give me pointers on what to look out for. Etc. Thanks for your time.
What are your most interesting lambda calculus programs?
Working with lambda calculus, and want to know what everybody has in their portfolio.
What's the best platform for an open collaborative project?
I'm working on an open source classification system for the web (alphanumeric calls with an XXX.XXX.XXX format) -- called the Open Classification System. I'd like to have open forums for public discussion and feedback, but restrictive voting for board members. Thinking of going old-school democracy and appointing board members randomly, instead of by vote -- to keep things relevant to laymen. Basically, like the Dewey Decimal System, things will need to be moved around and recategorized over time. SOC.ANT.CUL may eventually become SCI.ANT.CUL, for example. Unlike the OCLC, I don't plan on suing everyone who uses the system for every tiny IP violation. I'm needing it broad enough to cover a range of topics: from product domains and local municipalities to academic disciplines. All I'm seeing right now is Reddit. Lemmy isn't nearly as restrictive enough, but I don't want to worry about all the moderator tools and restrictions and BS either. In your experience, what platforms work best for this kind of thing? • Public discussion • Approved board member voting
What if we combined repositories with bloom filters?
Doing this would allow a user to request repos as needed. Using a bloom filter as a repo header.
Is there a way to sync folder updates across an audience?
Let's assume I have a software application with millions of files. The files receive frequent updates. Is there a way to distribute those updates across all those devices? I'm thinking something like Torrents/IPFS/Resilio. . . But they all seem like overkill. I've been looking at my Search Engine, and thought it would be cool to allow people to download the database themselves, and run a local UI, for maximum privacy. I would just be creating records within the main database. I could offer searches through the main site and allow people to explore it on their desktops.
MongoDB or Redis?
About a decade ago, I tried to index the web via the Dewey Decimal System. I had a site laid out similar to Google, where you could browse sites continuously starting from a given call, but the DDS is proprietary, and those people hate anyone who uses their IP without a license. You can Google everyone they’ve shutdown – places that weren’t even libraries – for using anything similar to the DDS. I reached out to the group that manages the DDS, and was taken offline before my project even started.
With all the corporate BS lately, and people looking for alternative options, I thought I’d take a search engine old school, and we’d index like Usenet. Except with an XXX.XXX.XXX format.
My original project used sharded Redis, with append logs to disk. I chose it for its in-memory speed and key-value store. Did some calculations, and I'd have to have millions of records just to consume my entire system's memory.
I had a lot of plans for this before getting shut down.
Now that I'm older, I'm curious if I should be using MongoDB.
What are the benefits and drawbacks of each? Which would you use? And why?