maxcellent/javadoc.io

Site is down

Closed this issue ยท 7 comments

Javadoc.io is down and Cloudflare returns a 521 error.
Screenshot 2021-04-02 at 12 13 54

not expected and never happened before. I have restarted the service. Will investigate and keep this ticket up to date.

There was a slowness in AWS which is causing thousands of connections reading data at the same time.

Because of the way Java SSL works, it seems each connection creates their own SSLEngine, which takes about 200KB heap space each.

I have capped number of connections for now. Will keep an eye in the next few days.

How about re-opening this ticket or creating an announcement/status update issue so people know this is ongoing?

Last but not least, I'd like to appreciate your contribution to the whole Java community by hosting and maintaining javadoc.io. It's indispensable tool for today's open source Java developers! You might want to add a list of contributions and donations you're looking for to the front page, so people can consider helping you in some way. ๐Ÿ’ก

The root cause is a daily batch job which is trying to load 39.5m rows into memory. It's not implemented in scalable way on day one because at that time it's only a few hundred rows returned by the same query.

This is now fixed, tested and deployed.

I have also setup an uptime alert to make sure anything similar will be captured asap.

Last but not least, I'd like to appreciate your contribution to the whole Java community by hosting and maintaining javadoc.io. It's indispensable tool for today's open source Java developers! You might want to add a list of contributions and donations you're looking for to the front page, so people can consider helping you in some way. ๐Ÿ’ก

Thanks Trustin, as a heavy Netty user myself, your encouragement means a lot to me.

Yes I've been thinking about it seriously. The only concern of receiving money is the compliance department of the company I am working for.

It's still good to know that ppl are interested to financially support the project. I will be more determined to go through the process!

Thank you for fixing this problem, @maxcellent!