126 points · by majidazimi · 13y ago · 78 comments
Can you explain-more/rationalize GPLv3 licensing w/ the conditional alternate commercial license?
Why not just BSD, MIT, or (at least) LGPL ?
GPL is more understandable on "higher level software" (ie: complete applications), but I don't understand your intent licensing a library this way.
You might ask why they want that, and that could be an interesting read. My best guess: They are themselves developers.
This is why the LGPL was created, so that you can have modifications done on your library be free-as-in-speech, but still make the library as a whole useable for a wide variety of other projects, including closed-source versions.
Having a separate requirement to email you for a free-as-in-beer license is just overly complicated for this. The more hurdles you put up for people, the fewer that will adapt the library. I think that licensing is one of those cases where is doesn't pay to be clever. Plus, what happens when you decide to stop maintaining the code? Do you want to keep getting emails for licenses years from now?
Edit: in last paragraph, I said free-as-in-speech, but meant beer (see comment below).
1) How much space does the compiled code require? Can conditional compilation be used to omit unused features?
2) What is the overhead for the various data structures?
I'm thinking that it might be interesting to use this on very limited environments (PIC microcontrollers for example) where every byte matters.
First of all, "that's cool" and "license issues" aren't mutually exclusive.
Second of all, it's a case of picking an applicable license for the place the software fits into a project. This is a low-level library (cool or not); if an author wishes to "protect" their code, LGPL was built explicitly for this purpose.
To confuse matters, in the projects own page[1] they effectively waive all the rights of the GPL3 except for a very specific corner case.
People asking for license clarification or change are looking to simplify even _beginning_ to use the library.
That some people may not want or be able to use this library because of its license choice may matter to you, but there's no reason to believe it matters to the authors, and you are not in a position to tell them what should matter to them.
Nothing on that page constitutes a waiver of GPLv3. It is merely an offer of an alternative license to a subset of potential users.
One reason may be to increase the number of folks using the library. I'm not saying that would happen, or that the original devs care, but it's conceivable, isn't it?
> and you are not in a position to tell them what should matter to them.
I'm not telling them anything -- I'm expressing an opinion and asking questions. [sidenote: isn't it ironic to be called "disgustingly arrogant" and attacked for asking questions on a matter of free speech? I think my discourse has been polite and respectful[1]].
> Nothing on that page constitutes a waiver of GPLv3. It is merely an offer of an alternative license to a subset of potential users.
Perhaps waiver was the wrong word, but lets look at this a moment:
The offer is to everybody (barring a small (arguably dubious (enter lawyers)) subset of potential users, where (again, presumably) the license is more like MIT than GPL.
At any rate, the decision is in the hands of the authors.
[1] https://news.ycombinator.com/item?id=6614482, https://news.ycombinator.com/item?id=6614179
Would you seriously consider using (or even trying) a new library that has not even proved to be better than others yet, if you had to comply with GPLv3? I wouldn't.
What disgusting arrogance.
Could we please try to improve the tone of discourse here?I can't think of any good use case for GPL3. Nobody should use it.
When coding open source software.
For everyone else that wants to make money with the free work of others, a commercial license can always be asked for.
I don't know if this is likely, but it looks like redis doesn't lock memory [1], which means that the benchmarks could be explained by swapping. Depending on the type of shared memory used by whitedb, it could be that its pages are locked and immune to swapping.
[1] http://highscalability.com/blog/2013/6/19/paper-megapipe-a-n...
Request something more permissive (LGPL, MIT, BSD)?
Regardless: "those which are distributed and marketed as database systems to be used by other developers" looks to be _full_ of wiggle room within what I suspect[1] is the authors intent.
[1] "I/somebody will/might make this a higher-order database tool for developers and I don't want anyone to compete with anybody else without forcing everybody involved (with this code) to open their entire codebase" (??)
> Data is read and written directly from/to shared memory
Good luck accessing your dictionaries from another python process....
I ask as friends and I are doing research into very space-efficient (read: probabilistic) key-value stores. We have a few scientific use cases, but I'm curious if others would find the ability to scale to very large key- and value spaces (~1e9+ key-value pairs) in a space efficient way practically useful. Or, if interest is principally academic.
Apologies for the (pseudo-)hijack.
Ps. Looks very interesting, I have it on my to-dos to install and check it out more deeply.
It's also different from Redis because Redis is intended to be ran as a server (it stands for Remote Dictionary Server). This is ran entirely as a process and communicates via IPC; other machines can't reach the database, only the local machine. This is a big reason for why it's very fast. However, it also means you can't distribute the database across multiple servers.
You could think of it like a very fast NoSQL Sqlite, I guess.
It would require adding a lot more code to allow for typical interprocess communication.
What has been done so far:
* Create a database
* Create a record
* Set field to a string
If you feel like testing it:
require "whitedb"
db = WhiteDB::Database.new("foo", 20000)
rec1 = db.create_record(5)
rec2 = db.create_record(4)
5.times{|x| rec1.set_field(x, "Rec1 #{x}") }
4.times{|x| rec2.set_field(x, "Rec2 #{x}") }
Then use the wgdb binary (`wgdb foo select 20`) to see your data in your database.I'm still new to ruby C extensions so the API is quite ugly (no blocks yet, no error checks,...) and I'm currently adding features as I'm following the tutorial.
Also, when you say "main memory" NoSQL database, are you saying "never store in page file" but always reside/lock in main memory? If it will go to the page file, it's not really main-memory, is it?
/s
"Locking We use a database level lock implemented via a task-fair atomic spinlock queue for concurrency control ..."
Fantastic, database level locking!