Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 06:19 am EST
Geeklog Forums
Load Balanced Syndication Mod
Status: offline
mthomas
Forum User
Full Member
Registered: 04/18/04
Posts: 148
Added a new Mod (aka Hack) to the downloads section (once approved)
In essence if you have geeklog running on in a load balanced environment and use the Content Syndication module you may have noticed that the feeds only update on the server that created the new article forum post or other related update. This is somewhat problematic unless you map mount between servers or unc path if on windows. Rather than do this I wanted the servers to each be able to replicate the feed on request.
The mod I created will refresh the feed on server being contacted once every 5 minutes if there are continuous requests. If 5 minutes has elapsed the database is queried for feed status if the feed exist and is not disabled the feed is refreshed and served. If it doesn't exist or is disabled a page not found will be returned.
Comments...?
Enjoy
~MThomas
In essence if you have geeklog running on in a load balanced environment and use the Content Syndication module you may have noticed that the feeds only update on the server that created the new article forum post or other related update. This is somewhat problematic unless you map mount between servers or unc path if on windows. Rather than do this I wanted the servers to each be able to replicate the feed on request.
The mod I created will refresh the feed on server being contacted once every 5 minutes if there are continuous requests. If 5 minutes has elapsed the database is queried for feed status if the feed exist and is not disabled the feed is refreshed and served. If it doesn't exist or is disabled a page not found will be returned.
Comments...?
Enjoy
~MThomas
14
18
Quote
All times are EST. The time is now 06:19 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content