Top 5 API Performance Tips #javascript #python #web #coding #programming

preview_player
Показать описание

Animation tools: Adobe Illustrator and After Effects.

Checkout our bestselling System Design Interview books:

ABOUT US:
Covering topics and trends in large-scale system design, from the authors of the best-selling System Design Interview series.
Рекомендации по теме
Комментарии
Автор

I'm just learning how to build APIs and this some of the best info I've come across yet :)

AmbushEveryone
Автор

honestly, this guy is master of concept for me now

prukenope
Автор

Pagination
Asynchronous logging
Caching
Payload compression
Connection pooling

munsifalimisri
Автор

Love these shorts. Keep making them good sir.

IMfLEX
Автор

Most modern DB APIs will do connection pooling for you. Certainly Postgres and MSSQL make this essentially transparent.

davidgillies
Автор

Love these primers. You can never be too experienced to learn something from them :)

doxologist
Автор

compressing is not always a good idea: in case of a fast network, compressing may take more time than it saves during the transfer. Especially in case of big number of concurrent requests that will compete for the cpu.
btw of logging and connection pooling: that's out of the box in Java ;-)

morgwai
Автор

there's only two hard things in computer science/programming: naming things and cache invalidation. if you use something like redis, please use it with caution.

luckywatcher
Автор

I'm not this advanced, but I feel I now know this better than some of the basics. Good lesson.

Chiszle
Автор

Asynchronous logging is alreary standard if you don't prevent the OS from handling disk write buffering

irnehhenri
Автор

Oooh, I'm looking forward to reading that ebook!!

clarkflavor
Автор

I'm already doing them without noticing. 😂. Nice shorts tho. Very informative

oneautumnleaf
Автор

Adding a caching layer is excellent, but then I thought why not use a different cheaper disk for logging? – logging has a write only access pattern, so a disk basically just needs to ingest it.

DJ-bopz
Автор

Love this! Can you share the software that is used for these animations? - aspiring solution architect 😊

skateboardpete
Автор

my tip: build relations with the parties whose API's you call and negotiate for them to do work on their side that you would otherwise be doing inefficiently on yours

LCTesla
Автор

you can also use binary data format like avro instead of json

felipe
Автор

Your stuff is awesome. What tool do you use to create your charts and graphics. This is great.

mukey
Автор

Connection pool is a great idea. I will try it.

monsieurnet
Автор

Makes all sense. Adds complexity though.

vast
Автор

Redis is slow, in modern applications it's much more efficient to have in-memory cache, coordinated if needed, which is mandatory for achieving sub-ms response handling.

neonmidnight