#DevDiscuss Archive


Tuesday April 4, 2017
9:00 PM EDT

  • ThePracticalDev Apr 4 @ 9:00 PM EDT
    Welcome to the #DevDiscuss Twitter chat, tonight's topic is Serverless Architecture ‌‌
  • ThePracticalDev Apr 4 @ 9:01 PM EDT
    Rules: - Stay on topic - ALWAYS ALWAYS use hashtag #DevDiscuss - Be NICE/POSITIVE ❤️ - Quoting tweets for clarity is encouraged
  • pryelluw Apr 4 @ 9:03 PM EDT
    #DevDiscuss How do you handle security on a serverless system? Do you simply trust the provider blindly? How does that affect audits?
    In reply to @ThePracticalDev
  • bascule Apr 4 @ 9:04 PM EDT
    serverless architecture seems to involve a surprising number of servers #DevDiscuss
    In reply to @ThePracticalDev
  • ThePracticalDev Apr 4 @ 9:05 PM EDT
    Explain "serverless architecture" to me like I'm five years old. #DevDiscuss
  • gumnos Apr 4 @ 9:05 PM EDT
    Time to go out and read https://t.co/XxjeNtKJm6 #DevDiscuss
    In reply to @ThePracticalDev
  • DjStoresssss Apr 4 @ 9:06 PM EDT
    architecture which is serverless. #devdiscuss jk I have no idea someone send help
    In reply to @ThePracticalDev
  • danstarkdevops Apr 4 @ 9:08 PM EDT
    #devdiscuss multi-region serverless still has challenges, specifically with API gateway which is region-specific.
    In reply to @ThePracticalDev
  • gumnos Apr 4 @ 9:08 PM EDT
    As I understand: Servered: manage OS, scaling, servers, & app stack Serverless: deploy a bag of functions on scalable platform #DevDiscuss
    In reply to @ThePracticalDev
  • aunyks Apr 4 @ 9:08 PM EDT
    Everybody's heard the term but nobody truly knows what it is 😬 #DevDiscuss
  • jwmiller5 Apr 4 @ 9:09 PM EDT
    #devdiscuss Does this imply you need a trustworthy IaaS offering to offer serverless PaaS??
    In reply to @pryelluw, @ThePracticalDev
  • billperegoy Apr 4 @ 9:09 PM EDT
    #DevDiscuss You write code that lives in the cloud but you don’t have to be concerned with the server it runs on.
    In reply to @ThePracticalDev
  • DanCortes94 Apr 4 @ 9:09 PM EDT
    #DevDiscuss a computer that is created just to make a specific quick task and after that is destroyed.
    In reply to @ThePracticalDev
  • bendhalpern Apr 4 @ 9:10 PM EDT
    Podcasts are usually a good place to go for newer ideas and products like serverless. https://t.co/lzEGMn8ssY #devdiscuss
  • yechielk Apr 4 @ 9:11 PM EDT
    So you don't either know? Phew #DevDiscuss
    In reply to @ThePracticalDev
  • gumnos Apr 4 @ 9:11 PM EDT
    So basically, it's like Erlang, spinning up a bunch of generic "servers" that can then run arbitrary functions via messages. #DevDiscuss
    In reply to @ThePracticalDev
  • lucus_patrick Apr 4 @ 9:11 PM EDT
    Also good reading from @martinfowler https://t.co/uBiTKk5C9x #devdiscuss
    In reply to @gumnos, @ThePracticalDev, @martinfowler
  • uhdithya Apr 4 @ 9:11 PM EDT
    Services sans Infrastructure, #DevDiscuss
    In reply to @ThePracticalDev
  • bendhalpern Apr 4 @ 9:11 PM EDT
    To confuse things slightly, there is a serverless framework called Serverless https://t.co/oG54NqXlat #devdiscuss
  • lucus_patrick Apr 4 @ 9:14 PM EDT
    the best I saw was to think of serverless as “Worth based development” from https://t.co/ssokQjNgPu #devdiscuss
    In reply to @gumnos, @ThePracticalDev
  • gumnos Apr 4 @ 9:16 PM EDT
    On-premise: you can kick it as-needed CoLo: you can drive there to kick it Cloud: you call someone up to kick it Serverless: ? #DevDiscuss
    In reply to @ThePracticalDev
  • chrismunns Apr 4 @ 9:17 PM EDT
    "Serverless computing allows you to build/run applications and services without thinking about servers" #DevDiscuss https://t.co/OaEphW5QOK
    In reply to @ThePracticalDev
  • bendhalpern Apr 4 @ 9:19 PM EDT
    While also sort of buzzwordy, the phrase "Function as a Service" provides a better model for what's going on. #devdiscuss
  • chrismunns Apr 4 @ 9:20 PM EDT
    btw, Senior Developer Advocate for Serverless from @awscloud, so lets do this ;) #DevDiscuss
    In reply to @ThePracticalDev, @awscloud
  • gumnos Apr 4 @ 9:22 PM EDT
    Points for honesty. Looking forward to your contributions to the discussion based on your experiences. #DevDiscuss
    In reply to @chrismunns, @ThePracticalDev, @awscloud
  • chrismunns Apr 4 @ 9:24 PM EDT
    thanks! engaging ya'll is literally my job! #DevDiscuss #serverless
    In reply to @gumnos, @ThePracticalDev, @awscloud
  • bendhalpern Apr 4 @ 9:24 PM EDT
    I found this portion of Fowler's article helpful. Statelessness of serverless is key, that's where proper architecture comes in. #devdiscuss
  • kellyjandrews Apr 4 @ 9:25 PM EDT
    Psst. There's a server. And infrastructure. And headaches. #DevDiscuss
  • gumnos Apr 4 @ 9:26 PM EDT
    So it's basically functional programming at web-scale for deployment. #BuzzwordSurfeit? #DevDiscuss
    In reply to @ThePracticalDev
  • kellyjandrews Apr 4 @ 9:27 PM EDT
    A bag of functions sounds like a prank gift you send your ex. #devdiscuss
    In reply to @gumnos, @ThePracticalDev
  • chrismunns Apr 4 @ 9:27 PM EDT
    there's FaaS (functions as a service) and there's #serverless (complete abstraction of server management) and there's the (cont) #devdiscuss
  • DanCortes94 Apr 4 @ 9:27 PM EDT
    #DevDiscuss serverless is when you have no one but yourself to blame for the buggy behavior and no hardware to kick
  • chrismunns Apr 4 @ 9:28 PM EDT
    the intersection of the two which is things like AWS Lambda which is both FaaS and #serverless #DevDiscuss
  • ServerlessCity Apr 4 @ 9:29 PM EDT
    Welcome to the #DevDiscuss Twitter chat, tonight's topic is Serverless Architecture ‌‌ https://t.co/X7iQXvFbRk
  • chrismunns Apr 4 @ 9:29 PM EDT
    if you have to ever think about capacity management, deal with high availability or pay for idle its not #Serverless #devdiscuss
  • PearlChen Apr 4 @ 9:30 PM EDT
    A method of designing your app so more work is done on the client side to limit the need for continuous backend resources. #DevDiscuss
  • DanCortes94 Apr 4 @ 9:31 PM EDT
    #DevDiscuss when you have a web service being idle while waiting for requests and doing nothing more you have to start thinking serverless
  • chrismunns Apr 4 @ 9:32 PM EDT
    yes, there's a handful of opensource FaaS projects out there that you run yourself or in Docker. requires infra mgmt #DevDiscuss
    In reply to @dushyanth
  • ServerlessCity Apr 4 @ 9:33 PM EDT
    @ThePracticalDev serverless architecture seems to involve a surprising number of servers #DevDiscuss https://t.co/gy7rGl9g4E
  • PearlChen Apr 4 @ 9:33 PM EDT
    @ThePracticalDev That was really hard to fit into 140 characters!! #DevDiscuss
    In reply to @ThePracticalDev
  • ThePracticalDev Apr 4 @ 9:33 PM EDT
    What are the most practical applications for serverless? Any ideas for sample projects? #devdiscuss
  • chrismunns Apr 4 @ 9:33 PM EDT
    "How many thought leaders does it take to rack and stack a #serverless infrastructure" sounds like the right joke here? #DevDiscuss
    In reply to @cloud_opinion
  • kellyjandrews Apr 4 @ 9:33 PM EDT
    You know how Santa delivers toys every year to all the children in the world? It's sorta like that. #devdiscuss
  • DanCortes94 Apr 4 @ 9:33 PM EDT
    #DevDiscuss we have found serverless great for dividing UI and basic DB interaction like inserting data or light queries
  • gumnos Apr 4 @ 9:34 PM EDT
    What distinguishes them? I.e. (FaaS ∪ Serverless) - (FaaS ∩ Serverless) #DevDiscuss
    In reply to @chrismunns
  • DanCortes94 Apr 4 @ 9:34 PM EDT
    #DevDiscuss web services that just do some processing, data insertion, small processing
    In reply to @ThePracticalDev
  • chrismunns Apr 4 @ 9:35 PM EDT
    batch processing, streaming data, web APIs, backend services, chatbots, alexa skills, IT automation + more #DevDiscuss #serverless
    In reply to @ThePracticalDev
  • chrismunns Apr 4 @ 9:36 PM EDT
    can have on metal/self managed FaaS, can't do the same with #serverless. could have other non-FaaS #serverless like DBs #DevDiscuss
    In reply to @gumnos
  • kellyjandrews Apr 4 @ 9:36 PM EDT
    I'm a huge fan of the serverless concept. The difficulty I have today is, think about debugging microservices. Now functions. #devdiscuss
  • aunyks Apr 4 @ 9:37 PM EDT
    I think Newton is technically serverless https://t.co/S8fBbb9YkM #DevDiscuss
    In reply to @ThePracticalDev
  • bendhalpern Apr 4 @ 9:37 PM EDT
    Any stateless function within an app seems like a candidate for serverless if that would lead to a better workflow #DevDiscuss
  • gumnos Apr 4 @ 9:37 PM EDT
    @thepracticaldev @chrismunns How does one address the latency issues common in #serverless deployments? #DevDiscuss
  • lucus_patrick Apr 4 @ 9:37 PM EDT
    useful for ephemeral eventing, triggering, messaging #devdiscuss (if mission critical, use something else like SNS)
    In reply to @ThePracticalDev
  • gumnos Apr 4 @ 9:39 PM EDT
    as long as you take latencies into consideration. something, something "leftpad as a service" something #NPMjokes #DevDiscuss
    In reply to @bendhalpern
  • levante85 Apr 4 @ 9:40 PM EDT
    any non long running function in a microservice architecture that would not be penalized by the startup cost... #DevDiscuss
    In reply to @bendhalpern
  • kellyjandrews Apr 4 @ 9:40 PM EDT
    and outages, fallbacks, data failure. #devdiscuss
    In reply to @gumnos, @ThePracticalDev, @chrismunns
  • chrismunns Apr 4 @ 9:40 PM EDT
    latency in what part of it? #DevDiscuss
    In reply to @gumnos, @ThePracticalDev
  • bendhalpern Apr 4 @ 9:41 PM EDT
    Oh yeah. Easier for async work or latency tolerant synchronous. #DevDiscuss
    In reply to @gumnos
  • chrismunns Apr 4 @ 9:42 PM EDT
    outages the same way you would any cloud tech, multi-region, app level failover. for data failure not sure what you mean there #DevDiscuss
    In reply to @kellyjandrews, @gumnos, @ThePracticalDev
  • chrismunns Apr 4 @ 9:43 PM EDT
    where would "here" be? reaction time to an HTTP based API function should be pretty much the same (caveat cold starts) #DevDiscuss
    In reply to @gumnos, @ThePracticalDev
  • castroreniero Apr 4 @ 9:44 PM EDT
    #devDiscuss in a bank infraestructure is safe to use serverless?
    In reply to @ThePracticalDev
  • twobree Apr 4 @ 9:44 PM EDT
    Forgot about #devdiscuss, but that's OK. Topic is serverless arch. I have zero clue what that means. Some of the ELI5s are still above me.
  • bendhalpern Apr 4 @ 9:45 PM EDT
    How confident are you that you know what "serverless architecture" is? #DevDiscuss
  • cameronbrister Apr 4 @ 9:45 PM EDT
    Wholeheartedly agree. #devdiscuss
    • bendhalpern Apr 4 @ 9:19 PM EDT
      While also sort of buzzwordy, the phrase "Function as a Service" provides a better model for what's going on. #devdiscuss
  • chrismunns Apr 4 @ 9:46 PM EDT
    if you are moving towards microservice architectures anyway this is just an evolution of that. still same service->service calls #DevDiscuss
    In reply to @gumnos, @ThePracticalDev
  • chrismunns Apr 4 @ 9:47 PM EDT
    take for example a Kinesis->Lambda->DDB application. Handoff not really different if it was EC2 #DevDiscuss
    In reply to @gumnos, @ThePracticalDev
  • dkozhedubov Apr 4 @ 9:47 PM EDT
    Ones I've tried so far - lightweight web API, Alexa skill backend #devdiscuss
    In reply to @ThePracticalDev
  • cameronbrister Apr 4 @ 9:47 PM EDT
    I wonder what @TrumpDBA's thoughts are on #serverless #devdiscuss
  • chrismunns Apr 4 @ 9:48 PM EDT
    the more votes in the first two categories the more work I need to do #DevDiscuss #Serverless
  • kellyjandrews Apr 4 @ 9:49 PM EDT
    general data loss. It feels very brittle, and hard to debug. Not just like any other app #devdiscuss
    In reply to @chrismunns, @gumnos, @ThePracticalDev
  • chrismunns Apr 4 @ 9:50 PM EDT
    Well things like AWS X-Ray will help here. but also comes down to how you do logging/metrics in your code as well #DevDiscuss
    In reply to @kellyjandrews, @gumnos, @ThePracticalDev
  • o0ragman0o Apr 4 @ 9:50 PM EDT
    A frontend on distributed storage served by a distributed computer running distributed state DB and code #ethereum #swarm #DevDiscuss
  • kellyjandrews Apr 4 @ 9:50 PM EDT
    What if not 100% AWS? Is the play just to move everything to AWS then? #devdiscuss
    In reply to @chrismunns, @gumnos, @ThePracticalDev
  • chrismunns Apr 4 @ 9:51 PM EDT
    one positive of services like AWS Lambda is that logging comes built in. just console.log your ish and its captured #DevDiscuss
    In reply to @kellyjandrews, @gumnos, @ThePracticalDev
  • chrismunns Apr 4 @ 9:51 PM EDT
    i can't speak to the capabilities of other platforms honestly, but any one worth your time should help you with this ;) #DevDiscuss
    In reply to @kellyjandrews, @gumnos, @ThePracticalDev
  • philibertdugas Apr 4 @ 9:53 PM EDT
    Not having to handle user authentication with Firebase is a life saver #devdiscuss
  • kellyjandrews Apr 4 @ 9:53 PM EDT
    Seriously. Can we do serverless without AWS? It seems like I just use your architecture. #devdiscuss
    In reply to @chrismunns, @gumnos, @ThePracticalDev
  • chrismunns Apr 4 @ 9:54 PM EDT
    sure there's other vendors in the space. just not as far ahead yet and with their own pros/cons #DevDiscuss
    In reply to @kellyjandrews, @gumnos, @ThePracticalDev
  • chrismunns Apr 4 @ 9:54 PM EDT
    sorry! DynamoDB #DevDiscuss
    In reply to @gumnos, @ThePracticalDev
  • gumnos Apr 4 @ 9:55 PM EDT
    It seems as though the application of functions across streams of data makes this sound like "webscale sed" to me 😉 #DevDiscuss
    In reply to @chrismunns, @ThePracticalDev
  • kellyjandrews Apr 4 @ 9:56 PM EDT
    one vendor lock in to another? Every challenge so far you answer with another service 🤔 #devdiscuss
    In reply to @chrismunns, @gumnos, @ThePracticalDev
  • chrismunns Apr 4 @ 9:56 PM EDT
    well there's something to be said about "fully managed webscale sed"! #DevDiscuss
    In reply to @gumnos, @ThePracticalDev
  • cameronbrister Apr 4 @ 9:57 PM EDT
    .@TrumpDBA always delivers! #devdiscuss
    In reply to @TrumpDBA
    • TrumpDBA Apr 4 @ 9:54 PM EDT
      #serverless is FAKE NEWS! It was built by the Amazon as a SCAM to overcharge with hidden fees! BAD DEAL!
      In reply to @cameronbrister
  • kellyjandrews Apr 4 @ 9:57 PM EDT
    I love moving business logic to the front end and reduce the server to small bits. #devdiscuss
    In reply to @chrismunns, @gumnos, @ThePracticalDev
  • chrismunns Apr 4 @ 9:57 PM EDT
    no such thing as vendor-less #serverless. against the definition of it. also every tech decision one makes implies a "lock-in" #DevDiscuss
    In reply to @kellyjandrews, @gumnos, @ThePracticalDev
  • kellyjandrews Apr 4 @ 9:58 PM EDT
    But it feels more like a pyramid scheme to rely solely on AWS r/n #devdiscuss
    In reply to @chrismunns, @gumnos, @ThePracticalDev
  • chrismunns Apr 4 @ 9:59 PM EDT
    OR an incredible way to build applications with a massive reduction in care and feeding without a lot of pain #DevDiscuss
    In reply to @kellyjandrews, @gumnos, @ThePracticalDev
  • kellyjandrews Apr 4 @ 9:59 PM EDT
    I get that there is always lock in but moving off the web of AWS would be a real challenge #devdiscuss
    In reply to @chrismunns, @gumnos, @ThePracticalDev