18 ms·
I think your title might not be the best; * Serverless typically implies something accessible from more than the host you're on * It's not zero configuration,
by mtolan 10y ago
I think your title might not be the best;
* Serverless typically implies something accessible from more than the host you're on
* It's not zero configuration, there's at least 1 configurable parameter (albeit with a sensible default)
* I'm actually not even clear why this is a document store limited to JSON, other than you're piping it though a JSON python module.
Having done some things like this in the past, as you continue, you'll probably want to create subdirectories based on the first N characters of the UUID, but I'm not sure you wouldn't get considerably more value of just putting your json blobs into an AWS Dynamo table.
- nodesocket 10y agoThere is already an issue about supporting sharding https://github.com/nodesocket/jsonlite/issues/15 https://github.com/nodesocket/jsonlite/issues/15.
- camus2 10y agoI thought it was "serverless"? what does "sharding" have to do with anything? I'm sorry but it seems like you throw around some vocabulary that doesn't describe your project properly, to make it look bigger than it really is. That's nice marketing but it does not feel like there is much effort put into it, when I looked at your bash script.
- nodesocket 10y ago"The word shard means a small part of a whole." The idea is breakup uuid keys into sub directories based on the first couple of letters to prevent file system performance issues. Seems like the right usage of the word from a dictionary perspective.
- sciurus 10y agoAccording to your logic, my home directory is also a sharded, serverless, zero-configuration document store. I should apply for some VC funding. ;-)
- edraferi 10y agoI agree that "serverless" now mainly means "Function as a Service." The goal here is convey that there is no server component of the database, similar to SQLite and unlike PostgreSQL. What is the correct terminology to highlight this architectural distinction?
- hashkb 10y agoSQLite is a library. If you call a program to store your data, it's a DB server. Same host or not.
- tyingq 10y ago"daemonless" makes the most sense to me, though I doubt that would catch on.
- deif 10y agoWhat's wrong with 'local'? Serverless is a terrible word to describe this.
- evanweaver 10y agoI always thought they were "embedded" databases.
- cocktailpeanuts 10y agoOf course there is no server, since we are talking about local. I agree with others that the title is misleading. I looked at the project for a while to realize that it's just a local command line interface to storing objects in sqlite. While I am sure there are use cases for this, it is not correct to say this is "serverless". By that standard you can call literally ANYTHING "serverless". For starters, this coffee I'm drinking right now is "serverless". It does its job well, completely without a server!
- phamilton 10y ago"embeddable datastore" is the right term
- 10y ago
- icebraining 10y agoZero configuration usually means it doesn't have to be configured, not that it can't.