Afi SV pfp

Afi SV

@afi

1077 Following
613 Followers


Afi SV pfp
Afi SV
@afi
workflow orchestration tools Temporal Cadence Apache airflow Camunda Conductor Luigi Step funcitons (aws)
0 reply
0 recast
0 reaction

Afi SV pfp
Afi SV
@afi
Subscribe to my YouTube channel. I make videos on React, Remix & Software Development https://www.youtube.com/@afiiiiiiiiiii/videos
0 reply
0 recast
0 reaction

Afi SV pfp
Afi SV
@afi
Subscribe to my YouTube channel. I make videos on React, Remix & Software Development https://www.youtube.com/@afiiiiiiiiiii/videos
0 reply
0 recast
1 reaction

Afi SV pfp
Afi SV
@afi
0 reply
0 recast
0 reaction

Afi SV pfp
Afi SV
@afi
Subscribe to my YouTube channel. I make videos on React, Remix & Software Development https://www.youtube.com/@afiiiiiiiiiii/videos
0 reply
0 recast
1 reaction

Afi SV pfp
Afi SV
@afi
HTTP vs Server-side Cache Use server-side cache when the performance problem you want to solve is the database query, or API fetch taking a lot of time User HTTP cache when you need to reduce the number of requests reaching your server or when your data is public - sergiodxa
0 reply
0 recast
0 reaction

Afi SV pfp
Afi SV
@afi
Subscribe to my YouTube channel. I make videos on React, Remix & Software Development https://www.youtube.com/@afiiiiiiiiiii/videos
0 reply
0 recast
0 reaction

Afi SV pfp
Afi SV
@afi
0 reply
0 recast
0 reaction

Afi SV pfp
Afi SV
@afi
Did you know in your GithubAction You can use a container to run the steps in a job! eg: jobs: jobName: runs-on: ubuntu-latest container: cypress // docker contianer steps: - name: Run Update shell: bash run: apt-get update // bash command
0 reply
0 recast
0 reaction

Afi SV pfp
Afi SV
@afi
what gives you scale? Queue does. Its asynchronous processing. Offload heavy prorcess task from the main app flow. checkout BullMQ
1 reply
0 recast
1 reaction

Afi SV pfp
Afi SV
@afi
Weakness is your ally to find it, Load test your system before you put it into production. checkout https://Artillery.io
0 reply
0 recast
0 reaction

Afi SV pfp
Afi SV
@afi
Are you in the midst of vertical scaling? Use caprover to horizontal scale via docker swarm connect and deploy!
0 reply
0 recast
1 reaction

Afi SV pfp
Afi SV
@afi
Did you know in docker 🚢 Multistage builds is the go to way to build your docker image Image size is small thus security is vastly improved And build performance is faster with layer caching
0 reply
0 recast
0 reaction

Afi SV pfp
Afi SV
@afi
Did you know with Sentry's event fingerprinting you can group errors with greater granularity? If your quering an API service the stack trace is generally the same even if the outgoing request is very different Add it to your Sentry.init beforeSend function.
0 reply
0 recast
0 reaction

Afi SV pfp
Afi SV
@afi
Did you know Nginx has a Lua module? You can extend the functionality beyond what is available Things like: generate dynamic content on the fly handle HTTP requests with custom logic custom API gateways rate limiting, transofrm requests etc custom error handling and logging
0 reply
0 recast
0 reaction

Afi SV pfp
Afi SV
@afi
Your missing out on this Your production code stack trace should be readable, and see exaclty what code caused the error. Upload your sourcemaps to sentry right now!
0 reply
0 recast
0 reaction

Afi SV pfp
Afi SV
@afi
This is how you stop worrying about scaling. Vertical scale until you run out of resources Horizontal scale until you reach 20 - 50 machines Docker swarm until you think you cant handle manual auto scaling Kubernetes when your product hits 100M in revenue
0 reply
0 recast
0 reaction

Afi SV pfp
Afi SV
@afi
Here are 3 types of scan you didnt know about in postgres Sequential Scan Index Scan & Bitmap Heap Scan Use the EXPLAIN or EXPLAIN ANALYZE infront of your Query Outputs the type of scan, the planning time and the execution time
0 reply
0 recast
0 reaction

Afi SV pfp
Afi SV
@afi
Here is a lightning hack 🔥 Preload data before the user even clicks a link Using prefetch="intent" <Link to="/some/path" prefetch="intent" /> from React Router⚡
0 reply
0 recast
0 reaction

Afi SV pfp
Afi SV
@afi
Do you wanna fake high web speed? Use stale-while-revalidate cache directive. It serves stale content while fetching fresh content in the background Users get instant responses while new data loads quietly! 🧙‍♂️ "Cache-Control": "public, max-age=60, stale-while-revalidate=300"
0 reply
0 recast
0 reaction