Tuan Cao
banner
tuancao.me
Tuan Cao
@tuancao.me
👨‍💻 Freelancer by day
👷‍♂️ IndieHacker by night-ish
🛠️ Building: https://whichpack.com seeing which starter pack you're in.
Thanks for your kind words Harison!
January 3, 2025 at 1:39 PM
Oops. Migrating my domain to cloudflare. Mighy causing that problem

🤦‍♂️
December 25, 2024 at 5:04 AM
bsky.app/profile/tuan...

There you go 😁.
After some digging, here are a couple thing I found out
1. Network latency between vercel and my db is not that bad
2. Bottle-neck is in my query

Same query for handle: mcuban.bsky.social
- Vercel -> Hetzner: 600 ms
- Hetzner -> Hetzner: 540ms
- Local - Local: 250ms
December 25, 2024 at 3:40 AM
That's a really good point.

I'll give it a try 🤔.

Thanks Matt.
December 25, 2024 at 2:34 AM
Haha. Thanks Seth!

The fact is the Vercel one is still free for me.

I still have to pay for the VPS anyway, because I host my db there.

But it's definitely an option, if Vercel gonna charge me in the future.
December 25, 2024 at 2:07 AM
Interesting. Thanks Leo.

Probably the network latency between Vercel and Hetzner (db) is not that bad.

My Hetzner instance in US, so probably network latency is not as big a deal as I thought.
December 25, 2024 at 1:54 AM
Thanks Navin.
Yeah that what I think should happen, since I check CPU and RAM utilization on my VPS, doesn't seem to be bottle neck and hetzner network is pretty fast.

So i kinda expect to see improvement on the profile page.
December 25, 2024 at 1:40 AM
Let's me know which one is faster and your idea why it is and isn't?

whichpack.com vs beta.whichpack.com

(see first post for more details)

#nextjs #dev #buildinpublic
Find which Starter Pack you are in
Find which Bluesky starter packs include you as a member. Explore your community memberships and understand your social presence through the starter packs you're part of.
whichpack.com
December 25, 2024 at 1:20 AM
But from my own testing (just using normal browser to browse)

The improvement if any is negligible.

I thought by moving both web app and db into same machine, latency between the 2 component will improve the load time significantly.

I see that very clear on my local machine.👇
December 25, 2024 at 1:20 AM
Yup. That them
December 21, 2024 at 2:08 PM
That really performant 🤯. I guess you can scale it down even more?
December 21, 2024 at 1:34 PM
Really nice! Just wondering, how much on-going devops and maintanance works involves?
December 21, 2024 at 11:04 AM
How much do you pay for your beefy instance? And how much maintenance work involved? 😁
December 21, 2024 at 10:31 AM
Hehe. Not gonna use it for coding yet. It’s for dev ops stuff and some light text editing 😁.
December 21, 2024 at 9:54 AM
Ooohh. Really nice Xmas gift 😆! What the specs, tell us!
December 21, 2024 at 4:46 AM
The awesome and really intuitive video by Josean Martinez

He explain all the key concept in such an easy to understand 🤯

www.youtube.com/watch?v=80mW...

For someone who prefer reading checkout this one
www.josean.com/posts/vim-es...
The Ultimate Beginner’s Guide To Learn And Master Vim
YouTube video by Josean Martinez
www.youtube.com
December 19, 2024 at 3:14 PM