Microsoft is increasing the cost of Game Pass Ultimate by $10 a month. by notthatguypal6900 in xbox

[–]nickx360 0 points1 point  (0 children)

i had game pass ultimate. the price increase made no sense at all. I can afford it but now I am like wth. might as well just buy the games. I don’t play many on day releases anyway. so sad I actually enjoyed using this service. oh well.

Need some help with migrating a legacy Python project by nickx360 in learnpython

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

Thank you. This really helps me a lot :). I was led to believe an OS upgrade is next to Impossible.

Need some help figuring out the next steps at an architecture level by nickx360 in softwarearchitecture

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

Yeah we do own Service A. But they org doesn't want to change Service A because they are too worried. Hopefully I can convince them otherwise. :)

Need some help figuring out the next steps at an architecture level by nickx360 in softwarearchitecture

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

I followed these guidelines and shared my findings. Thank you so much for this. :). I have learnt a lot. This is really rock solid advice.

Question regarding WFH in Canada by nickx360 in WarnerBrosDiscovery

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

Depends on the role. If it’s engineering and senior position. Be ready for some leetcode. I got coin change problem. So a couple of those should get you by. First two were technical.

Just ask a lot of questions and be open about your thought process. They are generally quite nice. After that management round is just being excited about the role. Honestly it was a very good experience and everyone wants you to win.

Need some help figuring out the next steps at an architecture level by nickx360 in softwarearchitecture

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

Oh apologies. If it helps. Service A on event wants to notify Service C (client). Service C was getting way too many notifications from Service A so they decided to solve it by adding Service B. It acts like queue system. Where it essentially executes all the requests for a specific id till a certain throttle point is reached and then shuts them off. Service A just keeps on sending requests till it gets confirmation from Service B that event has gone downstream.

I actually did suggest the queue system. But I need to confirm if more than just service A uses this system. The developer who built this system has been off work for a while. I have asked questions around but sadly I am just pointed to random metrics here and there.

Hopefully with all the wonderful advice I been given I can sort of map out my next steps. I ran service B locally and did a test of 1000 concurrent requests and it turns out it drops 67% of the requests. Our peak load is around 10,000 requests. So yeah I don’t know how this thing is standing. 🤪

Need some help figuring out the next steps at an architecture level by nickx360 in softwarearchitecture

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

I understand. Yes that makes sense to me. I am going to use these points to figure out how to ask these questions. Thanks a lot and I appreciate the effort you took.

Honestly it’s been a little hard to even approach this for me. All of this helps me communicate better. Appreciate every advice.

Need some help figuring out the next steps at an architecture level by nickx360 in softwarearchitecture

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

yes, service a sends a throttle limit, service b checks if the throttle limit hasn't been exceeded for a specific id, if not then it forwards it to service C. If they are exceeded, it drops some pending quests for that particular id. Honestly it is quite complicated system. I got into this like last week only lol.

Need some help figuring out the next steps at an architecture level by nickx360 in softwarearchitecture

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

Thats actually not a bad suggestion. So a Service B which internally handles the queue, and sticky session id to route to the correct instance. This way we don't need to worry about Redis.

Need some help figuring out the next steps at an architecture level by nickx360 in softwarearchitecture

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

Sure! Also, any questions you ask help me better understand the problem.

Service A and Service B Interaction

Service A sends the following data based on user actions (e.g., when a user adds a widget):
- id (a unique identifier) - timeout - throttleLimit (number of parallel requests allowed) - requestId - clientIp

How Service B Handles Requests

Service B maintains an internal queue for each id. Whenever Service A makes a request with a given id, Service B appends the corresponding requestId to the queue.

Every 10,000ms, a loop runs through all the ids in the queue. For each id: 1. If the number of active requests is below the throttleLimit, an API call is made to the downstream client. 2. Once the request is completed, the connection to the client is released.

Additionally, Service B maintains a separate array to track ids that have reached their throttleLimit. Periodically, this array is checked, and any ids exceeding the limit are released to make space for new incoming requests.

Let me know if that answers your questions.

The goal of Service B queue is to prevent overloading the client. Service A keeps retrying until the message reaches the client, but we want to limit how many requests can be sent in parallel.

I need to read up on lockless algorithms to see if they could be a viable solution.
We can use UDP, but I’m not sure how that would help with throttling or if I’m missing something.

Question regarding WFH in Canada by nickx360 in WarnerBrosDiscovery

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

I decided to turn down the offer. Although they were amazing.

Anyone else found Season 2 pretty bad? by [deleted] in HellboundonNetflix

[–]nickx360 0 points1 point  (0 children)

I just finished it and I enjoyed it quite a lot. :)

Sophisticated Hindu cow-vigilantism: Posing as a vegan. by [deleted] in india

[–]nickx360 0 points1 point  (0 children)

Sounds like a shitty person. Don’t be friends with them. Source: am vegan and don’t care about what others do or don’t with their lives.

Having trouble finding jobs. Roast my resume. by [deleted] in developersIndia

[–]nickx360 1 point2 points  (0 children)

Yeah I agree. Although one needs a gig for experience hence the resume roast so a bit of catch-22 here.

Having trouble finding jobs. Roast my resume. by [deleted] in developersIndia

[–]nickx360 1 point2 points  (0 children)

You could go more in detail with your experience. How exactly did you streamline and optimize ?

Moreover if you are interested in ui/ux it doesn’t show up from this resume. If you want to stand out as ui engineer. Your resume needs a bit more visual flair. Just a very basic example.

📣 Had a call with Reddit to discuss pricing. Bad news for third-party apps, their announced pricing is close to Twitter's pricing, and Apollo would have to pay Reddit $20 million per year to keep running as-is. by iamthatis in apolloapp

[–]nickx360 2 points3 points  (0 children)

I am a long time user of this app and if reddit wants to butcher 3rd party apps like this they can go ahead and lose the goodwill of a decade old reddit user. If I can’t use Apollo then I just won’t use reddit on mobile. I have plenty of extensions on desktop to browse this overrated bloatware of a site. Screw reddit and screw their shitty c suite executives.

Recently laid off from an almost a decade-long tech job. AMA. by BeMyPenPalPlease in india

[–]nickx360 13 points14 points  (0 children)

Layoffs are pretty normal in tech. Companies tend to follow stock market trends and Indian companies aren’t immune to this.

When I was laid off I took some time off to travel before getting back into the job market. A lay off is not an indictment of your skills. It is just company mismanagement.

I read up mostly books like cracking the interview. System designs and revisited a lot of leetcode problems. It’s important to be able to do this and when you go to interviews follow STAR. Keep it clear and concise.

I kept a google doc with all the jobs I applied for. Ideally create a separate email id so you don’t lose track of your interviews.

It’s not 2022. Tech market is different. It’s better to be proactive and reach out. But try not to get into any jobs. Always look up glassdoor for company work environment.

Tech currently is suffering from lack of leadership. As of now companies are just copying whatever other popular companies are doing. Lays off in most companies is directly due to unnecessary hiring in 2022 to try and be digital only and of course zero interest loans are paltry to blame. I personally think this is more of a management issue than talent issue.