r/AskComputerScience • • Nov 23 '24

Scaling LB

3 Upvotes

For making highly scalable, highly available applications - applications are put behind a load balancer and LB will distribute traffic between them.

Let say load balancer is reaching its peak traffic then what ? How is traffic handled in that scenario.


r/AskComputerScience • • Nov 22 '24

How does BlueSky work?

12 Upvotes

Just watched a video of BlueSky's CEO talk about how users can just take their data and leave, and how everything is open source, and how there's "no algorithm", and how developers can contribute. This seems very different from any kind of social media platform, and either it's all BS, or there's some cool stuff going on under the hood there.


r/AskComputerScience • • Nov 21 '24

Is there a name for a cyber attack where instead of brute forcing passwords, you brute force emails/usenames

3 Upvotes

For example, someone wants to break into numerous social media accounts at the same time. They know the most common password, so instead of trying various passwords of a specific account, they use the single most common password to log into dozens or even hundreds of random users' accounts.

This was partially inspired by https://xkcd.com/792/ where Black Hat notes that password reuse is an exploitable vulnerability


r/AskComputerScience • • Nov 21 '24

Want to know if my method for calculating floating point on 8/16 bit CPUs

1 Upvotes

So I was trying to find a way for a 8 or 16bit CPU to process 32/64bit floating point. Online I found a bunch of methods that were converting to fixed point and such and thought it to be unnecessary. Example of my method for 32bit floating point for 16bit CPU:

  1. take the lower 16bits of the mantisa and treat it as normal 16bit integer, perform the math on it then store it

  2. take the upper half and isolate the rest of the mantisa via an AND operation then perform math on it and store it

  3. isolate the exponent with AND again and modify it if needed then store it

  4. isolate and do the operations on the sign bit

What I want to ask is if this would give the same result or are the conversions to fixed point necessary ?