Live data from Hacker News

Amazon Cognito

aws.amazon.com

101–110 of 166 posts

Re: Amazon Cognito

#101

This may sound stupid, so I apologise in advance for my ignorance.... I watched the video and the focus of this service seems to be on storing user data in a way that can be accessed by any device. I'm an API developer, isn't this just what every mobile app that uses an API to store data does, right? I personally don't write a different backend datastore for every device type that could connect to it, nor do I 'perma…

Agreed. I'm confused. I don't understand how this helps users access data on "any" device.

The data pulled from the backed is handed off to the front end. The front end determines what's displayed and how it's displayed based off of the device. What does data storage have to do anything.

Re: Amazon Cognito

#102
post #79

Why do so many people (and companies) pretend that app backends are just (logic-less) data stores? I can definitely see the argument that some mobile games only need to store/sync some basic state information on behalf of the user, but I just don't see it as being that simple for most other apps. I suppose this datastore-only backend model works for apps with users who are completely isolated from each other, but any…

I don't think anyone suggests that it's that simple. This entire space is young and evolving quickly. Identity and data sync is a good place to start, though. For your example of a leaderboard, Parse has Cloud Code. It's designed to do exactly what you describe -- define a function that sits on Parse's server, handles client queries against your data, and returns the relevant data. Their example is for computing the…

Parse's solution is a great start as you say, but I can see myself running into the limits of that approach fairly quickly.

And, as you say, if these solutions mature, we might have some very powerful stuff in this space in a few years... maybe almost as powerful as just having your own server-side code running on some backend servers ;) But at that point, we're right back to where we are with traditional/custom backend systems being run on cloud server providers (which is not a bad thing!).

It just kind of feels like we're trying to re:Invent the wheel. You can offer these kinds of "a la carte" services all day long, and they're nice (on the surface) as long as they play nicely with each other in an open ecosystem - e.g., "let's grab this identity provider, that storage solution, this analytics engine, etc." It might look similar to Heroku's "add-ons", but with components that perform more specific functions. I just don't see that openness coming from Amazon, Google, etc. as they will all want to lock people into their services (which is understandable from a business standpoint). And unfortunately, anyone who buys into partial (and proprietary) solutions in the meantime are - in my opinion - just shooting themselves in the foot by limiting the use of their data.

Even in a perfect world with a vast marketplace of plug-and-play, interoperable cloud components, I would ask: is the "soul" of your app's code really captured in a conglomeration of components like this? If you have a need for a backend with custom logic of any kind, I think you're probably doing something unique (hopefully anyway). If you're going to need some real, unique business logic that can't be offered as an abstract cloud component, then I strongly suspect you're going to want more control over all of the backend. Even Parse's approach ends up looking more and more like a traditional custom backend system as you add more power to the "Cloud Code" approach.

As a programmer, you can often find libraries and drop-in components that accomplish 80% of what you need, so you write some custom code to "glue" those components together. That custom code usually contains business logic that really couldn't be abstracted or offered as a drop-in component. Where does that custom code live in the "perfect" ecosystem of plug-and-play cloud server components? How do you control the thing which makes your app/backend business logic unique? I don't think it's going to be in the client/mobile app as some people tend to think.

Maybe there's a good solution that combines these kinds of components with custom (and flexible) server-side code - I just haven't seen what it looks like yet. If I tried to use this stuff today, I'd be kicking myself tomorrow as I figure out that it's a pain to juggle data between components that I don't control and components that I do control.

Re: Amazon Cognito

#103
post #95
post #56

Earlier quoted context omitted.

Yes, users care about this but like most things you have to segment the market appropriately. I meet more and more people who are wary of putting all their trust/data/etc into only one provider, be that Google, Apple or anyone else. It's not just a privacy thing but a growing awareness of the sheer dependency on that one company. (Aside: I have to say FB is being pretty clever by buying up apps and letting them stay…

I spent the last 3 years under this hypothesis [1][2][3]. In those 3 years I've come to realize that users don't actually care that much. Sure a subset of users care but the majority don't. I think the "personal cloud" that makes sense both architecturally and in the minds of consumers looks very different from what we as developers understand it to be. When we took our software and began prototyping it on hardware d…

Can you put it on the Seagate Wireless Drive?

This has a simple value proposition: Apple charges $100 for incremental 16/32/64 GB mobile storage. Users can buy 2TB worth of wifi storage for $200 and replacement firmware+source (http://www.hackseagatesatellite.com/) for $35.

Re: Amazon Cognito

#104
post #79

Earlier quoted context omitted.

I don't think anyone suggests that it's that simple. This entire space is young and evolving quickly. Identity and data sync is a good place to start, though. For your example of a leaderboard, Parse has Cloud Code. It's designed to do exactly what you describe -- define a function that sits on Parse's server, handles client queries against your data, and returns the relevant data. Their example is for computing the…

Parse's solution is a great start as you say, but I can see myself running into the limits of that approach fairly quickly. And, as you say, if these solutions mature, we might have some very powerful stuff in this space in a few years... maybe almost as powerful as just having your own server-side code running on some backend servers ;) But at that point, we're right back to where we are with traditional/custom back…

I was commenting to a friend that the limited functionality in these types of services have very steep edges. It's great when you're in the middle, but trying to do something a little bit different can lead to long, poor, difficult code as you try to work around the constraint.

I think we'll start seeing more "opinionated" platforms, similar to what Rails and others have done for web development. Parsing query strings, managing database connections, and wiring your own user reg code are all distant memories for most web developers most of the time today.

We might see something similar here, where groups of common functions or services are stacked together to form a unit that works well together and covers some set of use cases very well. LAMP comes to mind as a comparison, and you can definitely use SQL Server instead of MySQL, but it probably won't work as well when it comes down to drivers, libraries, recruiting, etc.

These stacks will differ as well to serve a broad range of customers. I cringe a bit when I see Amazon EC2 comparisons to Hetzner or Digital Ocean because they are serving quite a different set of customers with different needs. To think that all hosts should end up standardizing on the same units would leave many customers unserved. It's easy for innovation to be called vendor lock-in, but it's hard to compete or innovate on heavily commoditized products/services.

It's [still] an exciting time to be in tech.

Re: Amazon Cognito

#106
post #2

How did this float to the top of my front page so quickly. Are we all genuinely _that_ interested in new AWS products? or did this post receive some "extra" help

Every time someone submits a link, the first posting gets a point. So if 20 people independently posted it to HN before it got to the front page, it would accumulate points pretty quickly without comments.

Re: Amazon Cognito

#107

Amazon seems to be in "me too" mode lately. They released an Android phone, a Dropbox clone, and now a Parse clone. Instead being the vanguard of innovation, they're letting other companies validate the need for a service before swooping in. Who's next? Probably Stripe.

https://payments.amazon.com/home

Re: Amazon Cognito

#108

Is there anything like this in the enterprise space? Many of our customers want authentication against their internal Active Directory or other single sign-on solution. It would be nice if there was a company that exported an api, and did all the work of connecting up the various types of auth, so that we can focus on our own product rather than redo integration work that has probably been done by many other companie…

There's a pretty big market for this/enterprise level identity management in general. At least in Germany, companies usually prefer inhous/more control over hosted solutions though (especially in the light of the last 1+ year). SAP IdM is the big dog here (it's somewhat messy though since SAP bought the technology and it shows that it's somewhat of a hodgepodge imo) and the only one I've worked with. I'm sure all the big ERP companies provide this in some way.

Not really the API you're looking for but I thought it was worth mentioning.

Re: Amazon Cognito

#109
post #6

Sort of like google's cloud endpoints, I suppose: https://developers.google.com/cloud/samples/mbs/ and https://developers.google.com/appengine/docs/java/endpoints/

I would say it's closer to http://googlecloudplatform.blogspot.com/2014/06/cloud-enabli...

Yeah, I knew there was something else too. All are little code or code-free backend services.
Post reply on HN