a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment by rob05c
rob05c  ·  3216 days ago  ·  link  ·    ·  parent  ·  post: A few thoughts after using Hubski for fifteen minutes

    I meant the time it takes for servers to answer your requests.

Yeah, the more people you follow, the faster server responses become. We find it incentivises community interaction.

Kidding. But seriously, I'm on the dev team, and we know load times are a problem :(

The root problem is that Hubski is a fork of an old version of Hacker News. HN is Arc Lisp, and makes a lot of poor decisions, like iterating over potentially huge lists. Also, all data was serialized as lists directly to disk. We're moving to SQL. But SQL is slower than loading a dumb binary blob, so naïve data conversions make it even slower. The solution is to fix pages to only load the data they actually need, and use SQL to filter. Unfortunately, it's hard to do all at once, so as we move data into SQL it gets slower, and then as we fix code to only load what's necessary, and use SQL to filter, it gets faster again. Eventually, when all the code is converted to Racket, and all the data to SQL, it'll be fast. But until then, we're stuck with what we have.

Another problem is that we all have day jobs. I feel like I could fix, like, all the problems, if I just had a month or two to work on Hubski 40 hours/week. Such is life.





joelthelion  ·  3215 days ago  ·  link  ·  

No worries, hubski is great already. I'm also a programmer so I know these performance issues can be tricky. But I'm sure you'll solve them eventually ☺️

joelthelion  ·  3215 days ago  ·  link  ·  

Google's PageSpeed Insights suggests a few easier fixes for page loading times:

https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fhubski.com%2Fpub%2F206645

Won't solve everything, but should be far easier to implement than the large changes you're envisioning.

joelthelion  ·  3215 days ago  ·  link  ·  

While we're at it: could you increase the lifetime of a session? I think logging in every month or so should be enough, no need to do so every day.

rob05c  ·  3215 days ago  ·  link  ·  

Er, you shouldn't have to every day. I don't think there's even a timeout, that sounds like a bug.

Is anyone else having to log in every day?

thenewgreen  ·  3215 days ago  ·  link  ·  

Nope.

user-inactivated  ·  3215 days ago  ·  link  ·  

No re-logs on my end.

Although reading through here helped clarify a bit. I did realize going through and re-following tags that more the followers (likely b/c of posts) the longer it took to load - which as you know can be relatively long.

joelthelion  ·  3215 days ago  ·  link  ·  

Hum, weird. I'll try it for a few more days and report back.

oyster  ·  3215 days ago  ·  link  ·  

I don't think I ever have unless I actually signed out.