News for hackers. Stuff that matters.
Re:Show HN: Rqlite v4.0 – With node-to-node encryption by jitl on Monday June 19, 2017 @03:59AM (#14585254)
Not to be confused with ActorDB, a distributed SQLite-based database for highly-sharded data. These two systems are similar in that they are both new SQL systems on top of SQLite, but they seem to differ greatly in use-case

https://github.com/biokoda/actordb

Re:Show HN: Rqlite v4.0 – With node-to-node encryption by shalabhc on Monday June 19, 2017 @06:31PM (#14590939)
Does actordb subsume the functionality of rqlite?

As in, can I tell actordb 'replicate this actor to all nodes' and then will it basically be the same as rqlite, but with page level replication?

Re:Show HN: Rqlite v4.0 – With node-to-node encryption by cmorelli on Monday June 19, 2017 @08:43AM (#14586441)
Honest question: why would I want a distributed scale-out RDBMS based on SQLite when there are others based on more performant server-based solutions (see Citus for PostgreSQL, Galera for MySQL, etc)

My understanding/recollection of SQLite is that it has significant performance issues with high concurrency. Great for a database on a pocket device, not the best choice for a horizontal scale-out high-concurrency system. At what point do I need horizontal scalability, but not care about concurrency on any one node?

Again, honest question - I'm not doubting the project or its value, I just don't get it.

Re:Show HN: Rqlite v4.0 – With node-to-node encryption by hamandcheese on Monday June 19, 2017 @09:31AM (#14586753)
I think you're misunderstanding the goals of the project. It's not to create a horizontally scalable DB. Write perflrmance will not scale horizontally at all with this database.

The goal is to create something more like an etcd that can hold structured data.

Re:Show HN: Rqlite v4.0 – With node-to-node encryption by otoolep on Monday June 19, 2017 @12:26PM (#14588143)
Exactly.
Re:Show HN: Rqlite v4.0 – With node-to-node encryption by justinsaccount on Monday June 19, 2017 @09:45AM (#14586855)
From the README:

Why?

rqlite gives you the functionality of a rock solid, fault-tolerant, replicated relational database, but with very easy installation, deployment, and operation. With it you've got a lightweight and reliable distributed relational data store. Think etcd or Consul, but with relational data modelling also available.

You could use rqlite as part of a larger system, as a central store for some critical relational data, without having to run a heavier solution like MySQL.

Performance

rqlite replicates SQLite for fault-tolerance. It does not replicate it for performance. In fact performance is reduced somewhat due to the network round-trips.

Re:Show HN: Rqlite v4.0 – With node-to-node encryption by bauerd on Monday June 19, 2017 @04:49AM (#14585451)
Congrats on the release! A bit unrelated, but the README says Windows is an officially supported platform, and I've seen this be the case on many Go projects. I know very little about the Windows platform, can you comment on how painless supporting Windows is really with Go? Do you have e.g. CI runs on Windows? With most of the compiled stuff I worked on Windows was mostly an afterthought and always yes-it-should-run-but. Can I trust Go to spit out binaries that work, or do I have to avoid certain stdlib features? What about e.g. fork?
Re:Show HN: Rqlite v4.0 – With node-to-node encryption by reitanqild on Monday June 19, 2017 @07:44AM (#14586153)
I know very little about the Windows platform

As someone who started in the 90ies this makes me smile.

Year of the linux desktop or not: something has changed. (Quite aware that the bauerd might be using something else.)

Re:Show HN: Rqlite v4.0 – With node-to-node encryption by simlevesque on Monday June 19, 2017 @08:32AM (#14586387)
He could be a Mac user for all we know.
Re:Show HN: Rqlite v4.0 – With node-to-node encryption by reitanqild on Monday June 19, 2017 @09:15AM (#14586665)
Yes, I tried to mention that.

My point is the Windows monopoly is almost broken and I think everyone including Windows users benefit from that.

Re:Show HN: Rqlite v4.0 – With node-to-node encryption by krylon on Monday June 19, 2017 @11:45AM (#14587801)
> the Windows monopoly is almost broken

Oh, how I wish that were true.

In some areas, yes, but there so many line-of-business applications that are only available for Windows that even if Microsoft stopped developing Windows, people would continue to use it for a very long time.

I am not at all a fan of Steven Ballmer, but he got it right - if you get the developers to flock to your platform, you win. Microsoft did that in the desktop space, Apple did it in the mobile space.

Re:Show HN: Rqlite v4.0 – With node-to-node encryption by reitanqild on Monday June 19, 2017 @05:18PM (#14590549)
>> the Windows monopoly is almost broken

> Oh, how I wish that were true.

Windows lost mobile. They lost pads. More people than ever are using Macs. More people than ever are using Linux and various nixes. Linux, Macs and other nixes are considered cooler than Windows.

Windows lost servers, although Microsoft seems to have won a good chunk of developer mindshare with Azure - running mostly (AFAIK) Linux.

Yes, a lot of legacy systems still use Windows but it seems less and less need Windows every year.

Except from Manic time and Microsoft Office I cannot think of any software that I personally would need Windows for at the moment.

Netbeans and Maven run better in Neon. Same goes for Node and a lot of other software I care about AFAIK.

Even CSGO seems to work better on Linux for weeks (until next bad update, I think last waa when sound was messed up probably back in March.)

Re:Show HN: Rqlite v4.0 – With node-to-node encryption by codefined on Monday June 19, 2017 @06:25AM (#14585812)
Not related to this project, but have done projects in Go. In terms of CI runs, AppVeyor[0] is the most popular one, it allows a similar setup to Travis and has most of the functionality too.

Build compatability is also great with Go. The only issues I've run into so far are graphical applications which often require different libraries for different platforms. Nothing I've done that's not graphical has ever had compatability issues (except file stat).

[0] https://www.appveyor.com/

Re:Show HN: Rqlite v4.0 – With node-to-node encryption by otoolep on Monday June 19, 2017 @10:30AM (#14587217)
Yes, the project employs Appveyor to ensure that the project can be built on Windows at all times.

https://github.com/rqlite/rqlite/blob/master/appveyor.yml

https://ci.appveyor.com/project/otoolep/rqlite

Re:Show HN: Rqlite v4.0 – With node-to-node encryption by ngrilly on Monday June 19, 2017 @06:23AM (#14585804)
Is there a way to create an index without blocking other connections trying to insert/update/select?
Re:Show HN: Rqlite v4.0 – With node-to-node encryption by otoolep on Monday June 19, 2017 @09:31PM (#14591622)
rqlite has the same limitations as SQLite in this regard.
Re:Show HN: Rqlite v4.0 – With node-to-node encryption by ngrilly on Tuesday June 20, 2017 @03:32AM (#14592775)
Thanks.
Re:Show HN: Rqlite v4.0 – With node-to-node encryption by rectangletangle on Monday June 19, 2017 @04:19AM (#14585346)
Looks interesting. I assume this inherits the write lock limitations from SQLite?
Re:Show HN: Rqlite v4.0 – With node-to-node encryption by otoolep on Monday June 19, 2017 @10:31AM (#14587230)
Yes it does.
Re:Show HN: Rqlite v4.0 – With node-to-node encryption by v4n4d1s on Monday June 19, 2017 @04:12AM (#14585310)
Can this be used as a "drop-in" replacement for sqlite or do I have to modify my application for it?
Re:Show HN: Rqlite v4.0 – With node-to-node encryption by rcarmo on Monday June 19, 2017 @04:47AM (#14585441)
For Python at least, there's a "normal" driver that is pretty much a drop-in. Am curious as to how it will work in practice myself, since I usually rely on an ORM these days.
Re:Show HN: Rqlite v4.0 – With node-to-node encryption by otoolep on Monday June 19, 2017 @10:32AM (#14587236)
You can find various client libraries here: https://github.com/rqlite