TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Dapr: an open-source project to make it easier to build microservices

180 pointsby gabrtvover 5 years ago

21 comments

shaneprrltover 5 years ago
&gt; With this transformation, microservice architectures have become the standard for building cloud native applications, and it is predicated that by 2022, 90% of new apps will feature microservice architectures.<p>What do other engineers think of this statement with regard to startups and MVPs? Am I wrong for thinking that monolithic architectures are still the best way to get started from 0? Is it simply a matter of better tooling to make creating a micro-service architecture as easy as spinning up a rails or django api?
评论 #21273102 未加载
评论 #21272347 未加载
评论 #21273594 未加载
评论 #21273634 未加载
评论 #21282919 未加载
评论 #21279935 未加载
评论 #21272457 未加载
评论 #21272523 未加载
FpUserover 5 years ago
<i>With this transformation, microservice architectures have become the standard for building cloud native applications, and it is predicated that by 2022, 90% of new apps will feature microservice architectures</i><p>Wet dreams and bunch of propaganda.
adamfeldmanover 5 years ago
I&#x27;m excited by Dapr!<p>If I understand it correctly, it will make it easier for me to build applications by separating the &quot;plumbing&quot; (stateful &amp; handled by Dapr) from my business logic (stateless, speaks to Dapr over gRPC). If I build using event-driven patterns, my business logic can be called in response to state changes in the system as a whole.<p>I think an example of stateful &quot;plumbing&quot; is a non-functional concern such as retrying a service call or a write to a queue if the initial attempt fails. Since Dapr runs next to my application as a sidecar, it&#x27;s unlikely that communication failures will occur within the local node.<p>There seem to be extensive, nice docs on the concepts behind Dapr: <a href="https:&#x2F;&#x2F;github.com&#x2F;dapr&#x2F;docs&#x2F;tree&#x2F;master&#x2F;concepts" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;dapr&#x2F;docs&#x2F;tree&#x2F;master&#x2F;concepts</a>.
评论 #21273731 未加载
manigandhamover 5 years ago
Microservices is absolutely meaningless. It&#x27;s just SOA (services-oriented architecture). Services = groups of functionality and business logic that interact.<p>How you deploy these services can be completely arbitrary. They can be split up in different methods, classes, assemblies, or entirely separate processes running on different servers.<p>Going straight to that last option is completely unnecessary for the vast majority. And when it&#x27;s needed, it&#x27;s actually because of team organization rather than app architecture.
quintesover 5 years ago
I’ve seen small teams with microservices succeed but not in the speed at which these things promise to return value. I’ve also seen developers fail when they’ve churned out microservice after micro service and couldn’t keep up with the deployment and infrastructure overheads. As an architect I’ve recommended against some of these but what do I know. I’ve just recently asked for a service on a project and they said microservice, and then suddenly I need Orchestration and scheduling. Btw I think k8s has its place I’m not against.<p>I have seen services architected and deployed beautifully, http, tcp, MQ based, event driven, Ive designed and deployed services as windows services, and Linux based web services, http, API. Seen WCF, XML, rest, json, MQ, messaging across multiple stacks and technologies but I won’t back 90% of new apps feauturing microservices, more like 1 or 2 service endpoints, when what we actually need is governance and thought in these designs. Sometimes a service is a service but doesn’t need early optimisation. Think about decoupling and domains by all means but don’t jump into the next framework marketed at you.
评论 #21275633 未加载
e12eover 5 years ago
So, it does messaging, pub&#x2F;sub and discovery&#x2F;orchestration?<p>Kind of like a Redis, possibly with an etcd - all massaged into a structured&#x2F;uniform Api? Is that about right?<p>Is it only for small (ie: overengineered) setups - or is the idea that it can grow to handle millions? of messages etc?<p>Normally &quot;does it scale?&quot; isn&#x27;t very interesting - but in this case it would seem to be redundant overhead if it <i>does not</i> let you grow to a lot of concurrent traffic?
评论 #21273146 未加载
dpipemazoover 5 years ago
Similar redis-based SDK we built at Elementary: <a href="https:&#x2F;&#x2F;github.com&#x2F;elementary-robotics&#x2F;atom" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;elementary-robotics&#x2F;atom</a> <a href="https:&#x2F;&#x2F;atomdocs.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;atomdocs.io&#x2F;</a><p>Definitely not as fully fleshed out but we made some choices on the serialization&#x2F;pub-sub side that allowed for more efficient binary message-passing and solved some of the slow-subscriber problems for high-frequency data.
chuhnkover 5 years ago
Looks similar to what we&#x27;re doing with micro. We started as a Go framework and are moving to a runtime model.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;micro&#x2F;micro" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;micro&#x2F;micro</a> <a href="https:&#x2F;&#x2F;github.com&#x2F;micro&#x2F;go-micro" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;micro&#x2F;go-micro</a>
kornishover 5 years ago
Confusingly, Google&#x27;s internal microservice tracing framework is called Dapper: <a href="https:&#x2F;&#x2F;ai.google&#x2F;research&#x2F;pubs&#x2F;pub36356" rel="nofollow">https:&#x2F;&#x2F;ai.google&#x2F;research&#x2F;pubs&#x2F;pub36356</a>
评论 #21274325 未加载
dmixover 5 years ago
&gt; it is predicated that by 2022, 90% of new apps will feature microservice architectures<p>Is this true? Do they mean partially consuming microservices or the whole project will be broken up into microservices?<p>I would&#x27;ve been surprised if it was 50-50 by then.
评论 #21275731 未加载
amitportover 5 years ago
This is similar in name (and some function?) to Dapper--an Israeli startup that was sold to Yahoo!<p><a href="https:&#x2F;&#x2F;finder.startupnationcentral.org&#x2F;company_page&#x2F;dapper" rel="nofollow">https:&#x2F;&#x2F;finder.startupnationcentral.org&#x2F;company_page&#x2F;dapper</a><p><a href="http:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20090415144541&#x2F;http:&#x2F;&#x2F;www.dapper.net&#x2F;open" rel="nofollow">http:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20090415144541&#x2F;http:&#x2F;&#x2F;www.dapper....</a>
评论 #21275724 未加载
Cianticover 5 years ago
It sounds like a service mesh, it can even be ran as a sidecar like linkerd or istio. However it seems to do more, like pub&#x2F;sub events.
xmlyover 5 years ago
Microservice is a model for team development. It allows the dev team easy to scale. If you have only one developer like many startups do, it does not matter at the beginning, especially considering many startups never would have more than 2 devs before failing.
chooseanameover 5 years ago
Does your Dapr microservice use Dapper?
NicoJuicyover 5 years ago
Except that Dapr is language agnostic. How would this compare to akka.net ? ( <a href="https:&#x2F;&#x2F;getakka.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;getakka.net&#x2F;</a> )
评论 #21277303 未加载
gigatexalover 5 years ago
given the sprawl of a ton of micro-services has anyone based on a central service bus style maybe with kafka where services work a lot like unix pipes instead of ever changing APIs -- sure GRPC mitigates some of that but I am curious as having a central source of truth that is also stateful but not a relational database etc., that works and the whole pub&#x2F;sub style
TheHwangoverover 5 years ago
So does this mean that Service Fabric is officially dead? Looks like they&#x27;re trying to sweep that failed project under the rug
评论 #21281090 未加载
wwarnerover 5 years ago
<a href="https:&#x2F;&#x2F;github.com&#x2F;dapr&#x2F;dapr" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;dapr&#x2F;dapr</a>
xmlyover 5 years ago
It like what AWS Lambda Runtime does. In lambda, your code is actually talking with a local actor to send and get events.
FpUserover 5 years ago
I was gonna run this through bullshit detector but it choked and died halfway through
tbern02over 5 years ago
this actually looks really promising