Open in app

Sign in

Write

Sign in

Anurag Jain
Anurag Jain

6 Followers

Home

About

Jan 18

How can the frontend effectively handle file upload/download when it uses a BFF?

Approaches to Upload File 1)Upload via Backend Service: This approach involves passing the file from the frontend, through a BFF, to a backend service, and ultimately storing it in a storage provider. When uploading large files, such as a 1 GB file, it’s important to consider the memory limitations of the server and potentially…

Backends For Frontends

2 min read

Backends For Frontends

2 min read


Jan 1

API Auth Approaches

Http Basic Auth We pass a username and password in a request, encoded using base64. This method can be used for internal server-side APIs. Session/Cookie When a client sends a login request, the server creates a session for that user and sends a "set-cookie" header in the response. …

Auth

2 min read

Auth

2 min read


Jan 1

JWT Gotchas

Why refresh token required in JWT In JWT Token approach, if token is decoded successfully it is trusted by the application. If we don’t set the expire then this token will be trusted forever and will become a security issue and hence token expire should be set(generally 5min). If token get expired in 5 min then…

Authentication

2 min read

Authentication

2 min read


Nov 8, 2022

The List

This is bookmark of all good repo found on github https://github.com/anuragjain67/thelist Good Software/Libraries/Framework/Tools https://github.com/penpot/penpot The Open-Source design & prototyping platform https://github.com/pavlobu/deskreen convert any device to your second screen https://github.com/monicahq/monica Personal CRM https://github.com/alyssaxuu/screenity Screen Recorder https://github.com/microsoft/Bringing-Old-Photos-Back-to-Life

Github Stars

4 min read

Github Stars

4 min read


Nov 8, 2022

CMD vs ENTRYPOINT Docker

The ENTRYPOINT specifies a command that will always be executed when the container starts. The CMD specifies arguments that will be fed to the ENTRYPOINT. Eg. 1 Docker has a default entrypoint which is /bin/sh -c but does not have a default command. When you run docker like this: docker run -i…

Docker

3 min read

Docker

3 min read


Aug 24, 2021

Basics of Finance for Software Engineers — Init

Context In June 2013, I joined a company as Software Engineer. I started paying the loan from my salary and start spending on various things like purchasing mobile etc. On December 2013, received a mail from HR regarding “Declaration on the investment, Rent slips etc”. …

Personal Finance

2 min read

Personal Finance

2 min read


Feb 22, 2021

Understanding git branching model in brief.

Disclaimer This blog is just having brief notes of my understanding from various sources like: a) Git successful branching model b) Django git process. c) http://stackoverflow.com/a/804156/2000121 d) http://blog.ona.io/general/2016/02/02/squashing-with-git-interactive-rebase.html Please read from above sources if you are looking for detailed explanation. Things to remember a) Master branch should always be ready to deploy.

Git

3 min read

Understanding git branching model in brief.
Understanding git branching model in brief.
Git

3 min read


Dec 29, 2020

GlusterFS Benchmarking

File, Postgres, InfluxDb, Redis, ELK, Mnesia File Performance LocalDisk dd if=/dev/urandom of=/home/file1 bs=1M count=1024 1024+0 records in 1024+0 records out 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 5.60998 s, 191 MB/s dd if=/dev/urandom of=/home/file1 bs=4K count=1 1+0 records in 1+0 records out 4096 bytes (4.1 kB, 4.0 KiB) copied, 0.000119666 s, 34.2 MB/s Gluster …

Mnesia

24 min read

Mnesia

24 min read


Aug 26, 2020

Elixir Profiling with Kcachegrind

There are multiple ways available. if you want to profile a function then you can use fprof. The problem I see with Fprof is it’s a huge text file and it’s very difficult to interpret. So Kcachegrind will help you in visualising. Here are the steps how can you use Kcachegrind. Step1 — Download Kcachegrind incase of mac-os use qcachegrind. (if you have higher mac-os version qcachegrind doesn’t work, you can use these change and create qcachegrind binary for yourself https://github.com/anuragjain67/kcachegrind/tree/qcachegrind_macos_catlina_support)

Elixir

1 min read

Elixir Profiling with Kcachegrind
Elixir Profiling with Kcachegrind
Elixir

1 min read


Jul 22, 2020

How to calculate Story Pointing

It’s difficult to provide exact estimation i.e. how many days it will take to complete a user-story. My learning and suggestions towards story pointing — Define some rules for your team and stick to them less complexities … high complexities 1,2,3,5,8,13,21 or may be min-max days is equal to X story point, for eg. 2–3 days -> 5 story 3–5…

Story Points

2 min read

Story Points

2 min read

Anurag Jain

Anurag Jain

6 Followers

Software Engineer by ❤️ visit https://anurag.club

Following
  • Jozsef Torsan

    Jozsef Torsan

  • Naveen Chalasani

    Naveen Chalasani

  • Tim O'Reilly

    Tim O'Reilly

  • Chris Dixon

    Chris Dixon

  • Anshuman

    Anshuman

See all (7)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams