Live data from Hacker News

Serverless Map/Reduce

tothestars.io

71–80 of 161 posts

Re: Serverless Map/Reduce

#71
post #14

Earlier quoted context omitted.

Call it Function as a Service if you prefer.

Even that's tricky, because it's also Backend as a Service BaaS/MBaaS at work, various frameworks and other solutions, etc.

It can power a front end. It's like a micro container as a service.

Re: Serverless Map/Reduce

#72
post #57

Earlier quoted context omitted.

Exactly. The cloud is just someone else's computer. It's a genuine business case, as running a lean and secure server farm is no child's play, but it's also oversold so much that my eyes hurts. Actual serverless computing would be implemented as p2p. Possibly interesting in a typical EvilCorpesque large corporation. Besides, Seti@home (Boinc) have been doing serverless computing for almost 20 years and it wasn't the…

Achieving real-world service objectives via cloud infrastructure requires a different approach to architecture, data management, process design, service ownership, availability, cost management, the list goes on. Some uses of cloud services are superficially comparable to old-school bureau computing. But to say it is "just someone else's computer" is trite, grossly misleading and downright bad advice, because treatin…

I think we are on the same page here. How about - it's nothing more to it than someone else computer. With all the risks and benefits.

If you have the right workload, it is super awesome.

If you have a reasonably matching workload and you can spend spend time on all the things you counted, it's also probably good but it's far from a clear-cut certainty.

If you have heap of legacy systems you will basically need to rewrite a lot it to make it work, and then it might not be worth it at all. This is the case that is oversold.

Re: Serverless Map/Reduce

#73
post #58

I wonder if something like AWS Lambda could be applied to multiplayer games? It seems like game-loop based games would be a good domain for such a programming model. The entire game could be expressed as a function that turns tick N into tick N+1. Such a function would be composed of many other functions, of course. So for example, there would also be a function that took as an argument the player at time N and gave…

What is the latency overhead in AWS Lambda ?

Latency is around 80ms-200ms per invocation from what I've seen. Definitely not suitable for any real-time game.

Re: Serverless Map/Reduce

#74
post #58

I wonder if something like AWS Lambda could be applied to multiplayer games? It seems like game-loop based games would be a good domain for such a programming model. The entire game could be expressed as a function that turns tick N into tick N+1. Such a function would be composed of many other functions, of course. So for example, there would also be a function that took as an argument the player at time N and gave…

What is the latency overhead in AWS Lambda ?

Too large for me to want to make a game in it. But if you made a specialized version that had an actual game loop underneath it, there's some potential there.

Re: Serverless Map/Reduce

#75
post #64
post #62

Earlier quoted context omitted.

Yes, it does. We’ve renamed Camouflieren to Tarnen, and many other words like that. There’s hundreds of cases of words being entire replaced. A list of replacements of the past centuries, for example: Distanz → Abstand, Liberey → Bücherei, Moment → Augenblick, Passion → Leidenschaft, Projekt → Entwurf, Addresse → Anschrift, Korrespondenz → Briefwechsel, Komödie → Lustspiel, Dialekt → Mundart, Orthographie → Rechtschr…

And most of these examples are in the common dictionaries, used in major newspapers, will be accepted in your high-school German tests (as long as you use them appropriately and spell them correctly) and are used or at least easily understood by all native speakers. The others fell out of use over time. Recommendations by various authorities on what constitutes "good" use of language change, and in Germany there migh…

Half of the words in above list were invented by one single person.

And that person has pushed all of those words into popular use by cooperating with other authors, writers, newspapers at the time.

So, yes, that stuff is possible.

> but they can't do much more than suggest

Except, the authorative dictionaries have authority in Germany because, per definition, tests in schools have to be graded based on them, and official communication of companies has to be written with them.

If a dictionary says "deprecated", these have to switch.

Which, in turn, has a direct effect only a 13 years later (the maximum time it takes someone to go through school).

Re: Serverless Map/Reduce

#76

Does anyone have experience building mobile backends in Lambda? I was looking at an API Gateway / Lambda / Amazon RDS stack for building a central data store and was wondering what people's experience with that setup is?

Using a framework like server less or chalice makes it incredibly easy for an MVP

Thanks for the recommendations. Any experience with how these hold up as they scale up?

Re: Serverless Map/Reduce

#77

I wonder if Amazon will ever open Lambda up to any Docker image? (I know it's possible to run binaries, but its a bit of a pain to compile with the Amazon AMI, etc.) Being able to have a bunch of `docker run` with any image would be pretty powerful.

Check out Hyper. https://www.hyper.sh/

"With HyperContainer, we make the performance/overhead of virtualized container similar to linux container --- 130ms launch time, and sharing the read-only part of memory (kernel and init)." -gnawux

https://news.ycombinator.com/item?id=12873089

Re: Serverless Map/Reduce

#78

I do not agree with term serverless. Amazon Lambda is a service, therefore there is a server involved. It's like saying deathless meat, because someone else killed the animal you are consuming.

Note: not that it is less convenient. Not saying that. Just going against the terminology.

If anything, this model can provide a more straightforward costing model. e.g: x transactions = x lambda calls = x cost

Also saves you the work of setting up an autoscaling infrastructure.

Re: Serverless Map/Reduce

#79
post #75
post #64

Earlier quoted context omitted.

And most of these examples are in the common dictionaries, used in major newspapers, will be accepted in your high-school German tests (as long as you use them appropriately and spell them correctly) and are used or at least easily understood by all native speakers. The others fell out of use over time. Recommendations by various authorities on what constitutes "good" use of language change, and in Germany there migh…

Half of the words in above list were invented by one single person. And that person has pushed all of those words into popular use by cooperating with other authors, writers, newspapers at the time. So, yes, that stuff is possible. > but they can't do much more than suggest Except, the authorative dictionaries have authority in Germany because, per definition, tests in schools have to be graded based on them, and off…

Change through collaboration and use is exactly what you argued against: a new term is coined, used first by "experts"/influential people, then goes into widespread use and is codified in dictionaries. Right now we can watch a group of people establishing "serverless" as a word for some kind of PaaS in technical language, as stupid and confusing we might think it is (I personally hate trend and would prefer the word be used for P2P or client-side applications, but I think that ship is sailed). Documentation of expert language will soon pick it up, if it hasn't already.

For purposes other than spelling and some grammar rules, dictionaries are nice suggestions, but even in school (where the Rechtschreibreform actually has legal "power", even if it doesn't anywhere else) a word not being in the Duden didn't mean it didn't exist (and conversely, just because it is in there doesn't mean it's good to use). Professional usage has its own conventions (newspaper styleguides, common terms and ways of writing in scientific disciplines, "PR speak"), even if they make for "worse" language, common usage varies even more. And nothing actually enforces language in all those areas, which make up most of our language use. On the contrary, it's used as input for new iterations of guidelines and dictionaries.

Spelling and grammar has been "designed by committee" and relatively successfully legally enforced, the words used are not. They are influenced by motivated groups, but that's part of the linguistic discription model just as well.

Re: Serverless Map/Reduce

#80

I do not agree with term serverless. Amazon Lambda is a service, therefore there is a server involved. It's like saying deathless meat, because someone else killed the animal you are consuming.

Fight the good fight, you're not the only one standing up against this ridiculous moniker. Never back down. Keep calling out the bullshit every time and everywhere this term is promoted. People ask "what's the big deal?" well the big deal is ,calling a service "serverless" is both a lie and misleading for marketing purposes.
Post reply on HN