Sometimes I get carried away using Redis. Made another change a couple days ago that shaved over 12 GB off our memory usage. Probably more we can do.
Sometimes I get carried away using Redis. Made another change a couple days ago that shaved over 12 GB off our memory usage. Probably more we can do.
@manton do you have an explainer of your micro.blog tech stack in blog or podcast form? Iām working on a project that will have similar needs and Iām curious what approach you took
@manton Must say Iāve noticed recently that the Timeline is speedy and publishing to my blog is also speedy. Youāre doing something right. š Thank you.
@condie Not really in one place⦠Itās Ruby Sinatra for the web platform, Hugo for blog publishing, MySQL for most storage, also S3 for photos, Redis for storing lists of posts in the timeline. I posted a server diagram a few months ago too.
@manton Iām grateful for your memory management work. Mine is terrible apparently.š
@manton Super curious to know what the change was that resulted in such a dramatic improvement!
@jgarber Iāve been making some smaller changes, but this one was kind of dumb⦠I was storing some logging data in Redis and it got completely out of control without me realizing it. Moved it to MySQL.
@manton I wonder if one of the changes/fixes youāve been working on fixed the Cloudflare/Imunify360 issues Iāve been having with my blog feeds. I just noticed that micro.blog can āseeā my feeds again, although I think I need to manually reload them.
@kimonostereo Thatās great itās working! I donāt think Iāve made any related changes but letās hope it keeps working.
@manton Thanks! Me too! Will there be another release of the micro.blog iOS app soon? Hoping an update will fix whatever is stopping xml-rpc from connecting with my blog. For whatever reason, it still works on macOS and iPad.
@kimonostereo Yes, updated iOS app coming this week. I need to revisit the XML-RPC problem, though, I donāt think itās fixed yet.
@manton I noticed that there is a link to view logs in my account timeline RSS feeds. Iām trying to figure out why this has been working sometimes and then stops. I noticed last night there was a period of time where m.b. downloaded my feed with no errors between 2024-03-02 18:35:00 and 2024-03-02 21:03:55, then I started seeing Feed: Error parsing RSS ā ohmypizza.com/micro/atom.xml and SimpleRSSError, Poorly formatted feed again. Currently the feeds page states both my feeds are Error: invalid RSS feed. Are you able to see if the feeds are actually downloaded?
@kimonostereo Interesting that the error changed. Iāll test this again, but Iām also going to add a special error message when the response is HTML. That should help us troubleshoot.
@manton Thank you for helping with this. I appreciate it! RSS feeds are currently in Error: invalid RSS feed mode. Will be interesting to see if the error logs show anything interesting if/when that changes.
@manton I just checked and the feeds are working again. Can you see if there is anything that you can see on your end?
@kimonostereo Thanks for the updates. Still mysterious why this works and then doesnāt. I havenāt rolled out the better logging yet, though.
@manton Looks like feeds stopped working again at around 2024-03-10 19:38:57 according to the logs. It was fine for 3 days this time!
@kimonostereo I wonder if the timing is because Cloudflareās security mechanism is related to how often itās getting requests from Micro.blog. If so, maybe we could work around it by adjusting checking feeds when there is an error.
@manton Iām guessing there arenāt many others with this issue? Do you think this is still related to Imunify360 or just Cloudflare. I was thinking about moving (again) to another webhost if it was Imunify360ā¦
@manton Hi Manton! Would you happen to have any update regarding fixes for my issues posting from Movable Type on the iOS apps?
@kimonostereo Not yet, I have a couple issues still to resolve with Movable Type and Micropub support too. Sorry for the delay.
@manton I started noticing a new error in the feed logs today: Feed: Unknown error 403 Forbidden, Net::HTTPForbidden
@manton Iām testing out a different web host in an attempt to āfixā my issues with micro.blog not being able to get to my RSS feed. I added a test feed but noticed that it sometimes shows: āError: invalid RSS feedā and other times it seems fine.