Amazon Aurora Now Available
aws.amazon.com
aws.amazon.com
For some people, this kind of end-run around the GPL is the poster child for the AGPL: https://en.wikipedia.org/wiki/Affero_General_Public_License
[1] http://arstechnica.com/tech-policy/2014/10/google-oracle-jav...
Those have not been deemed copyrightable as yet, because those don't necessarily require header files.
Services are different than software.
Without years of expertise, and tons of free time, you will not be able to modify the free software either. You can have someone do it on your behalf though, and just as well you could have had someone (Yahoo? Microsoft?) run Google software for you, had it been available as free software.
I'd like to see something like this with regards to B corporations or non-profits. Something like Gmail, Gravatar, or the like that are services you can pay for, but they're not run for-profit. Companies can bid on the management of the service, maintenance of the underlying open source packages, and so forth.
Something between municipal fiber and Wikipedia, but for SaaS services.
Internet --> Your API service --> AGPL program
Your API service uses the AGPL to implement it's logic. Since the FSF holds that API cannot be copyrighted, Your API service implements the same API as the AGPL program and uses a network connection to the AGPL program running on another computer to implement the API. Since the Internet user never connects to the AGPL program, they are not entitled to the source code. You are required to release the source code to the users interacting with the AGPL program over the network. You therefore release the source code to the implementers of Your API service and call it a day.
Adding another layer of indirection solves a lot of problems in computer science, even GPL and AGPL
However, only if there is effectively the API service in the middle, making your AGPL program internal. But if you are exposing an AGPL program (let's say a database) as-a-service, you cannot have an API service in between (unless you'd re-implement all the API yourself) and hence exposing directly the AGPL database, in which case you are bound by the license with respect to the users.
Do you have any citation, references, or case-law I could use as a starting point to steal your arguments as my own?
If you don't provide the source somewhere or link to it, yes, but it probably won't require you to make your entire codebase AGPL.
With GPL, anything which isn't client side code should be fine, especially since legal advice from GPL authors have said that SaaS and GPL do not put any additional requirement on the service provider.
AGPL talk about using the work, and here the law as I have read it defined that you got to be a lawful owner in order to be permitted to copy the work into RAM. In order to be a lawful owner of the copy, you got the be in compliance with the license. How you do so is up to you, but the perceived consensus seems to put that responsibility on the SaaS provider.
Since we are talking about an SaaS API, what count as the program is sadly a grey zone. For example, Linux based operative systems has commonly a command line API but it isn't a single program. Ask yourself (or the lawyers) what a nontechnical layman would consider as a single work and what they would consider as multiple separate programs working in unison. I suspect it highly depend on what the API do, how data is flown, and how the internal source code is laid out.
Legal guidance from GPL authors is of somewhat limited utility; they aren't your lawyers, and for software where the FSF isn't the copyright holder as well as the license author, it doesn't even have the utility of being a documented representation from the copyright holder as to their intent with license they were offering.
They also are employed by an entity with a vested interested in promoting the use of the GPL.
Still though, awesome achievement to build a competitive database engine. :)
That would greatly simplify tooling and integration with RedShift (which already uses PostgreSQL frontend/protocol).
Why not just use PostgreSQL directly?
Aurora leverages Amazon RDS Multi-AZ in this area. Their implementation has been battle-tested over many years and many many db instances.
I've always used Rackspace as a sort of default. They seem to employ good people, so they must be good - so the thinking goes.
But what's the real breakdown between these three? And any others I might not know about?
(Disclaimer: I work on Google Cloud, although not on SQL specifically.)
That's how I see it :)
Aurora is more than just RDBMS as a service.
Ignoring the benchmark BS [which is almost always BS] basically they are offering:
> With storage replicated both within and across three Availability Zones, along with an update model driven by quorum writes, Amazon Aurora is designed to deliver high performance and 99.99% availability while easily and efficiently scaling to up to 64 TB of storage.
Galera is quorum writes [basically], can scale to ~6 nodes pretty effectively [more than 6 you run into issues with write performance imho. This would be a 2/2/2 for 3 availability zone setup].
http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concep...
Galera's synchronous write process means you want everything near each other geographically, so 3 AZs in the same region would make perfect sense.
> Along the way, they verified that each Amazon Aurora instance is able to deliver on our performance target of up to 100,000 writes and 500,000 reads per second, along with a price to performance ratio that is 5 times better than previously available.
That is literally the read/write ratio you'll see on a 6 node Galera cluster. Reads scale per-node [reads are local], but writes don't [every node has to perform the write + the replication overhead].
So yeah, you can set something similar up with any provider with 3 geographically near DCs.
https://www.digitalocean.com/features/reliability/
DO has that setup in NYC and AMS, at least I assume NYC1/2/3 AMS1/2/3 are different AZ equivalents.
Rackspace is for people who want root access to a commodity VM and are willing to pay more for support.
AWS is for people who are willing to ditch commodity VMs and replace them with orchestrated services. (They'll sell you a commodity VM via EC2, but if that's all you want there's not a lot of reason to go with them.)
Rackspace's problem is that this segmentation puts them in the awkward position of being the wrong choice for the extremely price-sensitive (who go with DO 'cause it's cheap, or with even cheaper alternatives like Dreamhost) and the wrong choice for the "money is no object" crowd (who go with AWS, because at scale working with orchestrated services is much easier than managing huge fleets of persistent VMs). Which ends up not leaving a whole lot of people for them to sell to.
I guess if you won't have many blobs, it may be worthwhile to save yourself engineering time of supporting both S3 and Aurora. In an ideal world, there'd just be one permanent data store with a built-in caching layer, for databases, blobs, and log files.
We're getting close to that. Write once your data to S3 for persistent storage, then load into Elastic Search. Mostly there.
Obviously don't know your exact use case, but that's what we do.
So, based on my experience, give it a quarter before you see it in CloudFormation! I keep bugging Jeff Barr, but it seems that he doesn't have much control over the process.
The whole development process at Amazon seems broken. Everything is developed in a silo and once GA, then other teams start integrating it, unless the two products cannot operate in isolation.
P.S. I keep checking this URL [0] several times a day and I curse several times a day, because it almost never changes!
[0] https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGui...
I think in the original announcement, this number was lower, but this is still great.
In this range of latency, the most compelling thing relevant to my needs is the possibility of using read replicas for serving read-only API calls, with minimal risk of having a write API call immediately followed by a read API call serving stale data. It's possible to orchestrate a prevention for that with regular latency-prone MySQL replication, but it carries tremendous complexity depending on the application.
Would be very interested if anyone else has explored this idea further with Aurora.
This bit caught my attention, does an "Amazon Aurora instance" means one computing instance? Or do they refer to something like your allocated share of the overall Aurora platform? Because if they are able to achieve that performance per-machine, I'm truly amazed.
Their larger instance appears to be "32 vCPUs and 244GiB Memory", that sounds credible to be able to sustain that throughput, particularly if your whole data fits in RAM, but barely. Would be nice to see R/W performance on the smaller instances.
https://aws.amazon.com/blogs/aws/highly-scalable-mysql-compa...
Edit: typo (out of preview)
We've found it easier to load large datasets using CloudHarmony but have run both.
I'd recommend reading through http://d0.awsstatic.com/product-marketing/Aurora/RDS_Aurora_.... It is oriented towards SysBench, but will help you set up your clients to have enough network throughput to run a full test.
Generally, we find the performance comparison improves on large instances, high throughput workloads, or when the data set does not fit in RAM.
I'm guessing it's the latter (much easier) option, but ... Do you really get 5x savings from simply not having a container ?
* https://aws.amazon.com/blogs/aws/highly-scalable-mysql-compa...
It's an engine for MySQL.
Aurora Database Architecture by Amazon Web Services:
* https://www.youtube.com/watch?v=-TbRxwcux3c&list=WL&index=5
And if it's not Galera, how did Amazon work around the constraints of multiple writers in an ACID database, and what constraints does it impose?
It's a very complex thing to implement, and unless they have made leaps beyond what Galera has done, for some workloads it will be fast, but for others it will perform far worse than a standard MySQL instance.
Of course, I guess it could also be a cluster built upon NDB, but the lack of memory constraints on the size of the data makes that less likely.
So, the ACI components of ACID are all done at the database tier using (largely) traditional techniques. Durability is where we're using distributed systems techniques around quorums, membership management, leases, etc, with the important caveat that we have a head node generating LSNs, providing a monotonic logical clock, and avoiding those headaches.
Our physical read replicas receive redo log records, update cached entries and have readonly access to the underlying storage tier. The underlying storage is log-structured with nondestructive writes, so we can access data blocks in the past of what is current at the write master node - that's required if the replica needs to read a slightly older version of a data block for consistency reasons.
Make sense?
That said, the UI and system for managing replication looks pretty nice. I've never done MySQL admin directly but I do appreciate how much of a pain point this can be.
"You can use Amazon RDS to scale your Amazon Aurora database instance up to 32 vCPUs and 244GiB Memory. You can also add up to 15 Amazon Aurora Replicas across three availability zones to further scale read capacity. Amazon Aurora automatically grows storage as needed, from 10GB up to 64TB."
Plus, Hetzner, really?
Everybody knows that renting a dedicated server (or purchasing your own servers) is generally a more cost effective approach. Cloud computing is used to accomplish different goals when used appropriately.
Sure you could install MySQL on a box at Hetzner, but what happens when it goes down? Do you feel like maintaining the box for security and updates? What about log rotation? What if you need to migrate to a different geographical region, or need to increase capacity?
Smaller sites might be okay with managing those on their own, but as you grow, being able to offload that work to Amazon (who tend to know what they are doing more than the average joe) is a benefit when you have other business-logic issues to deal with.
So yes, naively getting a box at Hetzner or any other dedicated provider would be less of an upfront monetary cost, but in the long run, the advantages aren't as clear cut.