* [9front] using ndb as a general purpose database
@ 2022-05-10 17:08 sml
2022-05-10 18:12 ` Humm
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: sml @ 2022-05-10 17:08 UTC (permalink / raw)
To: 9front
Greetings,
recently I stumbled across a video where ndb was used as a general purpose database.
It looked very good and I am a friend of using only the on-board tools if possible. However, ndb(6) explicitly mentions "network database" and anything beyond that would probably be a misuse.
Does anyone here use ndb as a general purpose database, or would you rather advise against it because it is not intended that way?
Thank you very much!
Best regards,
sml
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9front] using ndb as a general purpose database
2022-05-10 17:08 [9front] using ndb as a general purpose database sml
@ 2022-05-10 18:12 ` Humm
2022-05-10 18:25 ` sirjofri
2022-05-13 4:45 ` ori
2 siblings, 0 replies; 5+ messages in thread
From: Humm @ 2022-05-10 18:12 UTC (permalink / raw)
To: 9front
Quoth sml:
>Does anyone here use ndb as a general purpose database, or would you
>rather advise against it because it is not intended that way?
“General purpose” is very broad. PostgreSQL is not great for storing
a little metadata about a few TV shows. Ndb is not very suitable for
storing much data that changes often.
I use ndb to write down shows I have watched.
--
Humm
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9front] using ndb as a general purpose database
2022-05-10 17:08 [9front] using ndb as a general purpose database sml
2022-05-10 18:12 ` Humm
@ 2022-05-10 18:25 ` sirjofri
2022-05-12 23:48 ` Sean Hinchee
2022-05-13 4:45 ` ori
2 siblings, 1 reply; 5+ messages in thread
From: sirjofri @ 2022-05-10 18:25 UTC (permalink / raw)
To: 9front
10.05.2022 19:08:24 sml <sml@firstpost.pub>:
> Does anyone here use ndb as a general purpose database, or would you
> rather advise against it because it is not intended that way?
I see no reason _not_ to use it if the use case fits perfectly. In the
end there are other similar database-like systems in 9 context, for
example factotum and inferno registry.
For simpler databases plain text files with a specific format are often
good enough. Ndb databases have the benefit that you can just use ndb
programs for querying, which works great using a shell script.
sirjofri
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9front] using ndb as a general purpose database
2022-05-10 18:25 ` sirjofri
@ 2022-05-12 23:48 ` Sean Hinchee
0 siblings, 0 replies; 5+ messages in thread
From: Sean Hinchee @ 2022-05-12 23:48 UTC (permalink / raw)
To: 9front
Not ndb, but Inferno introduced attrdb and cfg
I reimplemented cfg in Go and have used it in a handful of projects:
https://github.com/henesy/cfg
It works well enough as a plug and play key/value store format.
Cheers,
Sean
On Tue, May 10, 2022 at 11:26 AM sirjofri
<sirjofri+ml-9front@sirjofri.de> wrote:
>
>
> 10.05.2022 19:08:24 sml <sml@firstpost.pub>:
> > Does anyone here use ndb as a general purpose database, or would you
> > rather advise against it because it is not intended that way?
>
> I see no reason _not_ to use it if the use case fits perfectly. In the
> end there are other similar database-like systems in 9 context, for
> example factotum and inferno registry.
>
> For simpler databases plain text files with a specific format are often
> good enough. Ndb databases have the benefit that you can just use ndb
> programs for querying, which works great using a shell script.
>
> sirjofri
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9front] using ndb as a general purpose database
2022-05-10 17:08 [9front] using ndb as a general purpose database sml
2022-05-10 18:12 ` Humm
2022-05-10 18:25 ` sirjofri
@ 2022-05-13 4:45 ` ori
2 siblings, 0 replies; 5+ messages in thread
From: ori @ 2022-05-13 4:45 UTC (permalink / raw)
To: 9front
Quoth sml <sml@firstpost.pub>:
> Greetings,
>
> recently I stumbled across a video where ndb was used as a general purpose database.
>
> It looked very good and I am a friend of using only the on-board tools if possible. However, ndb(6) explicitly mentions "network database" and anything beyond that would probably be a misuse.
>
> Does anyone here use ndb as a general purpose database, or would you rather advise against it because it is not intended that way?
>
> Thank you very much!
>
> Best regards,
> sml
see vgadb
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-05-13 4:48 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-10 17:08 [9front] using ndb as a general purpose database sml
2022-05-10 18:12 ` Humm
2022-05-10 18:25 ` sirjofri
2022-05-12 23:48 ` Sean Hinchee
2022-05-13 4:45 ` ori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).