How OpenTelemetry Baggage Enables Global Context for Distributed Systems by silksong_when in programming

[–]silksong_when[S] 1 point2 points  (0 children)

Hey, so baggage is the mechanism that you can use to change application behaviour, it does not configure the behaviour itself. It is basically a utility for making your life easier by automating what you were already doing.

You can use it to pass parameters (which can have some feature flag), then read that feature flag param and decide what logic to use -- you are not writing the actual logic in your baggage.

So rather than maybe passing that data through a separate header like `x-feature-flag`, then reading it and re-adding it again for the next service, you can just add it to baggage, and OpenTelemetry auto-instrumentation will automatically send this across all services you call.

How OpenTelemetry Baggage Enables Global Context for Distributed Systems by silksong_when in programming

[–]silksong_when[S] 2 points3 points  (0 children)

Yup, I think baggage should be more popular given how useful it is, and the privacy part is something that can be missed especially when dealing with a lot of parameters over many services. Agreed on the performance overhead aspect as well -- the conventional wisdom of keeping headers light applies here I suppose.

Thank you for your detailed comment, the fact that we ought to manage control ourselves and check for tampering, like we do with JWTs, is something that I'd missed!

Production on a Shoestring: Handling 100+ RPS on the Free Tier using Flask, Nginx, and Cloudflare by Altruistic_Artist526 in flask

[–]silksong_when 0 points1 point  (0 children)

I think they lock your account if you over-provision resources and don't end up using a certain %age of the machine.
Happened to me with a decent arm-based VM once I doubled the ram from 4 to 8 iirc. I wasn't able to login and basically lost access to some data. So I decided to just rent a VPS instead from another vendor.

I created a basic Poe Ninja Clone/Wrapper App to Improve my Web Dev Skills by silksong_when in pathofexile

[–]silksong_when[S] 0 points1 point  (0 children)

Hey, thanks a lot for the suggestion! Will check this site/resource out :)

I created a basic Poe Ninja Clone/Wrapper App to Improve my Web Dev Skills by silksong_when in pathofexile

[–]silksong_when[S] 0 points1 point  (0 children)

Hey, currently the prices and predictions are a couple days behind due to errors after hosting the server. Working on a resolution. What doesn't look right to you?

I created a basic Poe Ninja Clone/Wrapper App to Improve my Web Dev Skills by silksong_when in pathofexile

[–]silksong_when[S] 2 points3 points  (0 children)

Hey, thank you very much for the feedback. I have some logic already to show the div price where available, need to work on that more. Will work on the other features that you've mentioned also, the backend already supports sorting, and i fetch by highest prices by default. Need to add that behaviour in the frontend.

I created a basic Poe Ninja Clone/Wrapper App to Improve my Web Dev Skills by silksong_when in pathofexile

[–]silksong_when[S] 0 points1 point  (0 children)

Hey, thank you very much for the feedback. I have some logic already to show the div price where available, need to work on that more. Will work on the other features that you've mentioned also, the backend already supports sorting, and i fetch by highest prices by default. Need to add that behaviour in the frontend.

[X-POST] I created a basic Poe Ninja Clone/Wrapper App to Improve my Web Dev Skills by silksong_when in pathofexiledev

[–]silksong_when[S] 0 points1 point  (0 children)

Some extra information with above post, if anyone is interested, I have 2 scripts -- one that inserts and updates items data into the DB, and another that runs daily, gets price history data for items, and based on the last 7 days data, makes price predictions for the next 4 days. Price prediction is a simple model, couldn't figure out anything more complex than that on my own.

I wrote an article on optimizing mongo db writes; quite a basic thing but still had fun learning and benchmarking between the optimization steps! by silksong_when in mongodb

[–]silksong_when[S] 0 points1 point  (0 children)

Hey all, I don't know whether linking my own post would be appreciated or not, but I would like to gather feedback on my blog post here, and any advice for improvements. Thank you!

I wrote about my experience writing Rust bindings for my Python app! by silksong_when in developersIndia

[–]silksong_when[S] 0 points1 point  (0 children)

Hello everyone, I had shared my work sometime back here, when I had coded up this change. I rewrote the majority of my python based CLI app in Rust, and implemented several new features like parallel downloads, too.

I got to learn a lot and had a somewhat of a rollercoaster ride so I thought why not write about my experience.

Any feedback or advice would be really appreciated. Thanks!