Congestion control means to stop overwhelming the network.
I understand the leaky bucket algorithm to some extent.
In leaky bucket:
- there is a small hole in the bottom.
- so the output rate is always constant, irrespective of what the input rate is.
- Bursty traffic is thus converted into a uniform traffic by the leaky bucket.
But what is token bucket?
I get that the purpose of token bucket is to allow some bursty output traffic. But I do not get how.
Here are the steps of token bucket algorithm:
- in regular intervals, token are thrown in the bucket.
- the bucket has a maximum capacity.
- if there is a ready pakcet, a token is removed from the bucket, and the packet is sent.
- if there is no token in the bucket, the packet cannot be sent.
I do not see traffic enforcement scenario in this definition. How does token bucket differ from leaky bucket exactly?
Or should I buy immediately? People working on AI domain, could you help me take the decision?
To be honest I did not like that job due to the following reasons (since the start)
The work was menial.
The pay was horrible.
The blame was most because we were the lowest hanging fruits in entire company.
I wanted to prepare for government computer engineer job.
I could not see myself in that role for long.
But the reality was I could not get crack any other private sector jobs in those two plus years. I landed couple of interviews but could not get through interviews. That was when I decided government would be a better fit for my nature.
If I keep the gap visible in my resume, I will receive many questions(I might not be screened at all to be honest).
Why could not you seek a different job instead while having your existing job?
Why could not you seek a different department in your previous company itself?
I was preparing for government job since I left my job.
So I am looking for ideas to cover that gap.
https://imgur.com/a/NkJwy2I
I left my technical support job which I got right after college of more than two years. The company did not force me to leave. But I left mostly because I had once conflict with a senior teammate in a standup meeting. I crossed the line when I choosed to speak foul words. I had apologized for that incident in front of the entire team. But I felt very bad. Also I felt I was being quietly disposed due to decreased responsibilities, annoyed manager, continuous complaints on my work without evidence.
I will have to answer the existing five-six months gap(as of now) in my resume. During that time I have been rigorously been preparing for government IT job. I am asking this in context of a private IT job interview..
The question "Why did you leave your previous job without finding a new job?" is like a compulsory question.
Way-1, about what I will answer.
I will answer them "To prepare for government IT jobs".
Now there will be two possible follow-up questions(based on my experience interviewing a couple of Nepalese IT Companies after my resignation from my tech support job):
- They will now ask why are you coming back for private jobs back again?
- What did you feel missing in your ex private IT job that made you to prepare for government IT job?
For the first question; I will answer, I have now finished preparing/studying for the competitive exam which the government takes to recruit IT officers.
Now this leads me to a new dilemma. They will think, why should we hire you and invest in you when we know you will leave in six months or one year to government jobs? I have faced such situation in the last company that I interviewed for last week.
I tried to convince them saying it will be 1.5 years before I enter a government job. But obviously he was not convinced. ( I said 1.5 years because exams, interviews, deployment on office etc takes time in government and it is true).
For the second question, it is easy: financial security and predictable career growth mostly. Noone will have hard time believing it.
I do not see anything better than this. Of course I could say health reasons. But it will be difficult to prove.
Or I could say "The environment in my department was not helpful for my career and financial growth and I want to prepare myself for better jobs". But this leads me to another difficult phase. I have been solely focused on preparing for government IT jobs. I have been re-studying various subjects that are present in IT officer syllabus of government services.
What I wanted to say from the paragraph above is that I have not been doing certifications like RHCSA, Certified Kubernetes Administrator type or even learning to build a homelab in the last five months. I have nothing to show for that case. (Note that I am applying for IT support, devops, system engineer titled jobs)
Some AI bots gave this answer for the first question asked above.
"Over the period of time(5-6 months), I realized my core values were continuous growth(learning, financially, career etc)->thus I seek for private IT jobs now."
It sounds so fake. I would appreciate a more humanly response to this situation.
Assume window size=3.
Assume ACK#3(i.e. for the packet#2) is lost.
Now how many outstanding packets can transmitter send?
I mean, can it send pkt#3,pkt#4,pkt#5? What determines it?
Ministry of Health and Population is willing to computerize its system. This new system will be able to tell the population of the country, zone, and district and even ward of the specific place. The system will update its data in monthly basis so that the birth rate and death rate can be easily seen. The home page is displayed when a person enters to the system. Administrators can enter to the system by logging in with an ID and a password. he/She has privileges to enter and modify the data into the database. On the other hand, normal users can vview the data but not modify them. They can also visualize the data in graphical form, maps as well as tabular form. Besides they can also view the forecasted data.
How I thought through this:
There is a user:
For an admin user, there is authorization required.
For a normal user, no authorization is required.
A normal user can:
- view population data and that too in various forms of visualization like graphical, tabular, maps etc.
- view forecasted data
An admin user can:
- once logged in
- do all the activities that a normal user can
- and also be able to update+modify the data.
https://imgur.com/a/naKwUYp
The imgur link contains my use case diagram made with mermaid live and claudu
GoF is nice once you are over UML. It is on my plan.
I am at a place where I need to learn stuffs like UML. Books on SAD(System Analysis and Design) seems to cover this but I am unsure about which one should I invest into.
There is no benefit of having merit in Nepal. Private jobs are already low paying. Remote jobs do not come generally to Nepal.I see remote jobs love India and south east asia. I do not get the point of remote job if they are hiring from specific country. The only thing I can do in nepal is public service commission (civil services) and crack computer engineer. But the pay is meagre there as well, unless I am lucky enough to enter central bank of Nepal(NRB).
Honestly, it feels like I am pushing not just a wall but universe itself in Nepal. Because nothing is going to happen irrespective of my abilities. I am currently preparing for PSC and I do not believe I will be happy as a PSC engineer even if I end up at NRB(central bank).
Something feels missing inside me. I have took countless therapies and what not. They helped me a lot to be where I am at now. I feel scared to try opportunities out of my comfort zone (kathmandu is my comfort zone).
As an adult, nobody pushes you, you have to push yourself. I am in a serious deadlock internally. I can decrease the effect using yoga and meditation but that does not troubleshoot the cause. Personally, I want to pursue something academic away from nepal. I believe that would provide me the much needed confidence in my life.
Two operations I and J in a schedule are said to be conflict if they are operations which:
- are done by different transactions
AND
- are on the same data item
AND
- at least one of these instructions is write operation.
# Conflict equivalent
Two schedules are conflict equivalent if they can be transformed into each other by a sequence of swaps of non-conflicting, adjacent actions.
# Conflict serializable
A schedule S is conflict serializable if it is conflict equivalent to a serial schedule.
# Question
Check whether the schedule is conflict serializable.
read(t1,balx),read(t2,balx),write(t1,balx),write(t2,balx),commit(t1),commit(t2)
Here First t1 reads balx, then t2. Then t1 writes then t2.
This cannot be conflict equivalent to a serial schedule is what I believe. Because of w-w conflict probably.
Is there something like a precursor to paging? something like WAF that stands ahead of paging to abstract the view to software engineer?
I am using Java.
I found a course which seems OP but it is not freely available(like all the good things in the world).
https://course.ccs.neu.edu/cs3500/
It recommends Effective Java, GoF, Head First Design Patterns etc. But most of those books are more of a style guide.
I am currently at a phase where I do not understand how to design object oriented programs. I have been coding everything under Main class like crazy.
I need a detailed course, or book to learn this as I am a very slow learner. And I am doing this for fun, so there is no time constraint. There are books like grady booch, craig larman, but they are bit too dry in my opinion. But I might change my mind.
I wonder what can teach that? Not just simple stuffs but depth stuffs that are useful in real world market.