Thanks for sharing. As for the concurrency case, it currently uses a simple throttle. When someone creates a live instrument they can choose what conditions trigger an update. It defaults to updating once a second regardless of how often the value actually changes. In the future, I can imagine offering different throttling methods. For example, to implement the "practical IntelliSense" idea I mentioned above, you would need a live instrument that only updates when it has a value below/above the min/max. I'm sure I would implement that idea via SkyWalking metrics though, not traces.
On Sat, Jun 11, 2022 at 12:03 PM Sheng Wu <[email protected]> wrote: > A very interesting one, I shared for more ppl to know, as well > as Lightruntech’s > > A question, as this debugging is live and remote, how does this work when > server codes are running in a concurrency case? Is that a random catch? > > Sheng Wu 吴晟 > Twitter, wusheng1108 > > > Brandon Fergerson <[email protected]> 于2022年6月11日周六 01:40写道: > > > I love that I keep running into people that are aware of Darklang. There > > are a lot of interesting ideas in that project that I'd love to see in > the > > more mainstream languages. > > That's a big part of what I'm trying to accomplish with Source++. > > > > I don't remember exactly where I read about them using production > requests > > for IntelliSense, but you can see a closely related example here: > > https://youtu.be/NDg6Ko9gbGk?t=701 > > She adds an endpoint and audience members immediately start calling it. > She > > then has those requests to use to determine how to build the endpoint. > > I'm pretty sure there is a way to take those requests and generate tests > > from them too. I'll admit I've never used Darklang though. I just enjoy > > learning about it. > > Now that they've finished the rewrite, I might finally try it out. > > > > On Fri, Jun 10, 2022 at 7:59 PM Yihao Chen <[email protected]> > wrote: > > > > > Hello team, > > > > > > I’ve used Darklang before its rewrite, but unfortunately, I didn’t > notice > > > they have this kind of feature. It is fascinating to see runtime > insights > > > of key variables directly baked into the IDE. > > > > > > I appreciate Brandon’s incredible work; people should definitely check > it > > > out. > > > > > > Regards, > > > > > > Yihao Chen (Superskyyy) > > > > > >
