Live data from Hacker News

Serverless Docker Beta

zeit.co

141–150 of 236 posts

Re: Serverless Docker Beta

#141

Earlier quoted context omitted.

Out of curiosity what does the industry best practice dictates between webm and mp4 for this kind of stuff? - Which one is more accessible? - Which one is more "compressed" and mobile ready?

You need both formats, mp4 for ios and webm for android Not sure this is "standard" but imgur has their gifv "format" which will serve up the correct underlying format to the device https://help.imgur.com/hc/en-us/articles/208606616-What-is-G...

why both? Android can do mp4, no?

Re: Serverless Docker Beta

#142
post #50

And so ZEIT, my favorite serverless provider, keeps getting better. Highlights: - "sub-second cold boot (full round trip) for most workloads" - HTTP/2.0 and websocket support - Tune CPU and memory usage, which means even smoother scaling And all that for any service you can fit in a Docker container - which is also how you get near-perfect dev/prod parity, an often overlooked issue with other serverless deployment te…

I know of 1 large scale web application that is 100% driven by serverless technologies. The user experience (as an end user using the website) is pretty terrible IMO. It often takes multiple seconds for various areas of the site to load (bound by the network). It's also super Javascript heavy and just doesn't feel good even on a fast desktop workstation. Authentication is also a nightmare from a UX point of view. Eve…

Serverless doesn’t have to be slow/heavy. Here’s a chat demo I made recently using Fly: http://flychat.fanoutapp.com

Renders server-side, loads quick, minimal JS.

Re: Serverless Docker Beta

#143
Awesome! While I was at AWS Summit in NY, I asked a round circle of AWS ECS/EKS users (Container orchestration products) about thoughts on a Docker container service that could execute like a FaaS product and there seemed to be none anyone knew of. I have a portion of a legacy application that's used infrequently and too costly to decompose but works fine Dockerized.

Looking forward to using your product!

Re: Serverless Docker Beta

#144
post #78

Earlier quoted context omitted.

Oh, and to make this more than a simple rant/whine, some constructive suggestions that could possibly solve the problem: - Normal video with playback controls? - Add a clearly distinguishable "this is where it starts" screen. - Is there maybe a way to control playback of a gif via JS/HTML? Add a "restart" button. - Add a timeline into the .gif that shows where I am (similar to usual video player).

Even better - make it an ASCIInema which gives you all that... and the ability to record from bash and copy and paste commands !

Was it intentional to make ASCIInema sound like "ass enema"?

Re: Serverless Docker Beta

#145
post #73

Am I the only one having problems to follow .gif "demos"? When I get to the image, it is in the middle of everything and I don't really have an idea what is going on. Even watching it multiple times, I am not sure where it starts, ends, what the individual steps are. Or is it because I just don't know enough about this stuff?

Thanks a lot for your feedback. I think adding playback controls on hover is going to help a lot.

We picked video/gif as the delivery format to give people a real-life impression of performance. (I took the videos myself while using the platform on a regular production plan.)

Re: Serverless Docker Beta

#146
post #111
post #64

Earlier quoted context omitted.

There is actually a reasonable arguement for the stored procedure one. It means you can have different permissions for tables as you do for stored procedures so your application doesn't have permission to directly query your passwords. The benefit there is if an attacker gains access to your application and/or the DB authentication credentials they cannot then export users passwords or other sensitive information.

Seems more efficient to me to use column-based permissions in this case, and create stored procedures for the queries you need to interact with the "sensitive" columns. That of course does increase (dba) administration overhead, but it seems on it's face simpler and far more "programmer efficient" than storing every single query as a stored procedure.

It's a difficult thing to generalise but if you have a pretty large or complex application and DBA (or several) then it does sometimes pay to have your DBAs write the SQL because it's a different enough paradigm from normal backend development that not all backend developers are skilled at writing perfomant SQL. However few applications are that complex, not all businesses can afford a dedicated DBA team, and there are clearly a lot of very talented developers who can turn their hand to multiple different stacks. So it's a difficult thing to generalise.

Re: Serverless Docker Beta

#147
post #78

Earlier quoted context omitted.

Oh, and to make this more than a simple rant/whine, some constructive suggestions that could possibly solve the problem: - Normal video with playback controls? - Add a clearly distinguishable "this is where it starts" screen. - Is there maybe a way to control playback of a gif via JS/HTML? Add a "restart" button. - Add a timeline into the .gif that shows where I am (similar to usual video player).

Out of curiosity what does the industry best practice dictates between webm and mp4 for this kind of stuff? - Which one is more accessible? - Which one is more "compressed" and mobile ready?

Chromium browsers compiled without proprietary codecs require webm. It's a small subset of people (I am one), but I just don't play and/or leave sites with mp4 only.

Re: Serverless Docker Beta

#149
post #9

My biggest concern with serverless is pricing. How does it fare when compared to regular Docker hosting and vps hosting?

If you pull an application apart and squeeze it into managed services, your costs can drop by an order of magnitude depending on your availability requirements, engineering related costs, etc. A good article written by Spotinst's CEO [1]

Not trying to shill, not everything should be serverless, and I should work to be more platform agnostic, but AWS has been great to and for me, AWS marketing material [2]

[1] https://medium.com/@amiram_26122/the-hidden-costs-of-serverl...

[2] https://aws.amazon.com/serverless/

Re: Serverless Docker Beta

#150
post #124

Earlier quoted context omitted.

At Cloudflare, we're working on expanding Workers ( https://www.cloudflare.com/products/cloudflare-workers/ ) to allow access to your existing DB servers & offer protection with Argo Tunnel ( https://www.cloudflare.com/products/argo-tunnel/ ). We are also enabling Workers to write into Cloudflare’s globally distributed cache, reducing retrieval time for repeated query results. We hope this will be a differentiator wi…

Can your workers run Docker containers?

We currently don't support this, but it may be something we consider in the future.
Post reply on HN