|
Even though I upgraded the Apollo file-server, I wasn't satified. It was extremely slow and generally outdated.
That's why I decided to take Stuart's advice and write my own.
I've finally finished and I must say this one is at least twice as fast compared to the other one.
Features:
- Netty 4.1.8 Final.
- JagGrab & OnDemand support.
- Preloadable files support (files that aren't packed, example: sprites.idx, sprites.dat, obj.idx, obj.dat) with CRC checking (to make sure they're up to date).
- Clean and documented code, easy to make modifications.
- Extremely quick, instantly sends the response to client.
- Removed the retarded 317 file-server priority system.
Spoiler for GIF:
Spoiler for Download:
Credits:
Me
Graham
Nikki
Ryley Kimmel
Artem Batutin
Nice contribution John .
CacheLoader
duplicate
Code:} else if (path.startsWith("sounds")) { return getFile(0, 8); } else if (path.startsWith("sounds")) { return getFile(0, 8); }Using UPPERCASE doesn't mean constant it means immutableCode:public Cache[] CACHES; /** * All of the {@link CacheArchive}s within this {@link CacheLoader}. */ public CacheArchive[] ARCHIVES;
if you were to have contents inside this array, the array itself is mutable whereas the string itself is immutableCode:public static final String[] PRELOAD_FILES = { };
Really cool though! Keep it up!
Very nice release
Thanks for the share
Loading cache locally for the first time vs over the network for the first time are two very different speeds. I'm assuming your GIF is local.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |