Live data from Hacker News

Vercel's CEO offers to cover expenses of 'Jmail'

threads.com

71–80 of 210 posts

Re: Vercel's CEO offers to cover expenses of 'Jmail'

#73

Earlier quoted context omitted.

A laptop would have a hard time serve thousands of people hitting a single endpoint multiple times a day.

It all depends of course, but generally no, a laptop could handle that just fine.

There may be a risk of running into thermal throttling in such a use-case, as laptops are really not designed for sustained loads of any variety. Some deal with it better than others, but few deal with it well.

Part of why this is a problem is that consumer grade NICs often tend to overload quite a lot of work to the CPU that higher end server specced NICs do themselves, as a laptop isn't really expected to have to keep up with 10K concurrent TCP connections.

Re: Vercel's CEO offers to cover expenses of 'Jmail'

#74
post #43

Earlier quoted context omitted.

With a 2025 tech stack, yes. With a 2005 tech stack, no. Don't use any containers, no[/limited] server-side dynamic script languages, no microservices or anything like that. Considering the content is essentially static, this is actually viable. Search functions might be a bit problematic, but that's a solvable problem. Of course you pay with engineering skills and resources.

Is there any feasible way to implement search client-side on a database of this scale? I guess you would need some sort of search term to document id mapping that gets downloaded to the browser but maybe there's something more efficient than trying to figure out what everyone might be searching for in advance? And how would you do searching for phrases or substrings? I've no idea if that's doable without having a dat…

There are several implementations of backing an Sqlite3 database with a lazy loaded then cached network storage, including multiple that work over HTTP (iirc usually with range requests). Those basically just work.

Re: Vercel's CEO offers to cover expenses of 'Jmail'

#75
post #56

Earlier quoted context omitted.

I have heard of hetzner terminating customer relationships if too many legal complaints are filed against your VPSes. But not because of being "not a profitable customer". Mind sharing some links here?

https://lowendtalk.com/discussion/180504/hetzner-traffic-use...

I am not sure how one even gets 250TB/mo through a 1Gbps link. In any case, completely saturating your networking for the full month is outside most people's definition of "fair use".

Re: Vercel's CEO offers to cover expenses of 'Jmail'

#76
post #43

Earlier quoted context omitted.

With a 2025 tech stack, yes. With a 2005 tech stack, no. Don't use any containers, no[/limited] server-side dynamic script languages, no microservices or anything like that. Considering the content is essentially static, this is actually viable. Search functions might be a bit problematic, but that's a solvable problem. Of course you pay with engineering skills and resources.

Is there any feasible way to implement search client-side on a database of this scale? I guess you would need some sort of search term to document id mapping that gets downloaded to the browser but maybe there's something more efficient than trying to figure out what everyone might be searching for in advance? And how would you do searching for phrases or substrings? I've no idea if that's doable without having a dat…

Theoretically, just thinking about the problem... You could probably embrace offline first and sync to indexeddb? After that search would become simple to query. Obviously comes with it's own challenges, depending on your user base (e.g. not a good idea if it's only a temporary login etc)

Re: Vercel's CEO offers to cover expenses of 'Jmail'

#77
post #43

Earlier quoted context omitted.

A laptop would have a hard time serve thousands of people hitting a single endpoint multiple times a day.

With a 2025 tech stack, yes. With a 2005 tech stack, no. Don't use any containers, no[/limited] server-side dynamic script languages, no microservices or anything like that. Considering the content is essentially static, this is actually viable. Search functions might be a bit problematic, but that's a solvable problem. Of course you pay with engineering skills and resources.

SRE here, Containers are not causing any performance problem.

Re: Vercel's CEO offers to cover expenses of 'Jmail'

#78

Earlier quoted context omitted.

https://lowendtalk.com/discussion/180504/hetzner-traffic-use...

I am not sure how one even gets 250TB/mo through a 1Gbps link. In any case, completely saturating your networking for the full month is outside most people's definition of "fair use".

[deleted]

Re: Vercel's CEO offers to cover expenses of 'Jmail'

#79
post #69

The post said 450 million pageviews, likely since November. If we make very generous assumptions and assume that each pageview is a megabyte (very generous based on my own experience scanning billions of websites), then that's 450TB total in traffic. If you really did 450TB per month in traffic, you would need slightly more than one gigabit line (and hence VPS), but not more than two. With Hetzner the traffic would c…

Isn’t part of Vercel’s value proposition a robust global CDN in front? Seems quite a bit different than one sweaty VM in Helsinki.

Re: Vercel's CEO offers to cover expenses of 'Jmail'

#80

Isn't Jmail a static site? How could the bill be $47k?

There is still a helluva lot of data to transfer to the client, I'm sure it's being stored somewhere.

And with the entire world perusing this archive, I'm sure the costs will be very high, regardless of provider.

Post reply on HN