HomeКомпьютерные игрыRelated VideosMore From: SgtCaze

Redis for Minecraft Servers (Network Communication and Caching!)

102 ratings | 7748 views
● Visit my website: http://www.CosmosMC.net ● Join my server: playmc.cc ● Redis main website: http://redis.io/ ● Jedis Source: https://github.com/xetorthio/jedis ● Using Jedis with Maven: https://github.com/xetorthio/jedis/wiki/Getting-started ● Jedis JavaDocs: couldn't find anything official, you can compile them directly using IntelliJ or search for a (possibly outdated) website ● Redis for windows: https://github.com/MSOpenTech/redis Connect with my social media: ● Twitter: http://www.twitter.com/sgtcaze ● Facebook: http://www.facebook.com/sgtcaze ● BukkitDev: http://dev.bukkit.org/profiles/sgtcaze/ ● Spigot: http://www.spigotmc.org/members/sgtcaze.2397/ ● GitHub: http://www.github.com/sgtcaze Additional Links ● Audio file(s) provided by http://www.audiomicro.com Computer Specs: ● CPU: i7-4790K ● GPU: GTX 980 ti ● Motherboard: ASUS Z97-A ● RAM: 16 GB (8GB x 2) HyperX Vengeance 1600 MhZ ● DRIVES: Samsung EVO 850 500 GB SSD as the boot, a Crucial MX100 500 GB SSD as the secondary drive ● Mouse: Razer Chroma ● Keyboard: Razer Blackwidow 2013 Elite Hardware: ● BenQ GL2760H 27" monitors ● AT2035 Large Diaphram Microphone ● Podfarm UX2 Audio Mixer ● Rode PSA-1 Swivel Stand FAQ: A full FAQ can be found on my website (above). Here's a short list: ● How many FPS do you get? On Hypixel lobbies I get 600-800 FPS. ● What programs do you use? OpenBroadcaster 64 Bit for recording games and desktop (streaming as well). Sony Vegas 13 Edit for editing and rendering. ● Where did you get your computer from? I assembled my PC myself. ● What is your Minecraft Texture pack/ how is it HD? I usually use either Faithful 32x or Sphax 128x.
Html code for embedding videos on your blog
Text Comments (33)
Cubxity (2 months ago)
windows XP?!?
MattGamerHD (1 year ago)
Hey do you think you can help me I have some plugins which require redis and MySQL I put them in with MySQL but when I put them in there are no commands it's kind of confusing and I don't expect anyone will have a answer but I really want to find out because it loads up and shows it in the console but there are no commands.
Reachouts (3 months ago)
Stop trying to load the mineplex leak, They use a command api and it blocks you from tabbing commands.
Sahand (1 year ago)
Upload more my dude
Riley Potter (1 year ago)
ewwwwwwww sgtcaze..... ♡ =^-^= ~ xRyelee_
DuskFireHD (1 year ago)
Also there is not many data types with redis so is there a way I can use objects or would I have to look into using packets or maybe using toString and then converting it back?
Dashsmashing (1 year ago)
Spotted u in a video, https://youtu.be/721LQcTTLXQ at 7:20.
meldeo (1 year ago)
+SgtCaze what programming languages do you know?
Dashsmashing (1 year ago)
SgtCaze (1 year ago)
Hah! That's actually kind of funny. Small world. Good eyes man!
chasechocolate (1 year ago)
Hop on slack :)
Creart (1 year ago)
I've actuallu developed a library for Jedis which makes it easier to use, check it out: https://github.com/devcreart/jedease
ElegantAshes (1 year ago)
hey sgtcaze its blueducks4 from tenetri's 2012 streams if ya remember back then u know what happen to him i remember kumbi and i were norms on his shit
DuskFireHD (1 year ago)
So apparently you need a redis server kinda like a sql server how would i run one on my pc as you did in the vid?
SgtCaze (1 year ago)
You have two options. You can use virtualbox and run linux on it, and port forward certain connections. You can also get Redis for windows - checkout the description for a link.
HuntingPotato (1 year ago)
This is good and all although this was more beneficial for me! http://try.redis.io You may want to add that to the description so others can find it :)
DCDBPLAYS (1 year ago)
I <3 your vids
hugo 4715 (1 year ago)
i already use the pub/sub of redis, but i do not use the cache. Is caching really that usefull?
HuntingPotato (1 year ago)
Discoveries (1 year ago)
Nice video Caze! I'd recommend anyone looking to use Redis to check out Redis Desktop Manager for an easy way to manage the database and visualize it.
David Rodriguez (1 year ago)
Thank you very much!!!
AndeeG (1 year ago)
BetaNyanDev (1 year ago)
Just had to use Redis for the first time a month ago. I made my own PubSub and it works great! Redis is amazing.
Shortninja66 (1 year ago)
Redis is awesome, I love using it for my Bungee projects. This video is valuable to anybody who hasn't used Redis yet
SgtCaze (1 year ago)
Thanks for watching! Hint hint I am going to release a public plugin soon using Redis.
Wolfi Animations (1 year ago)
Hii Cazeee
CodingDonkey (1 year ago)
Nice video, but your audio seems a bit low to me. Maybe increase the volume a bit? Idk, maybe it's just me
SgtCaze (1 year ago)
Yeah upon rewatching I agree. I just checked my speakers and they were set louder than usual. So I compensated by making the audio quieter :P Thanks for watching!
NubeBuster (1 year ago)
What is a pool? Also, I think you didn't really mention for what things exactly this should be used. Will there be a follow up on this?
SgtCaze (1 year ago)
+NubeBuster The speed difference depends on a few factors: hardware, ping to the Redis server, how data is stored and retrieved. I would recommend a few benchmarks to be sure. I have used Redis for fairly large Minecraft networks, and it was a preferred utility because it was dramatically faster than our SQL server.
NubeBuster (1 year ago)
I recently found some information about redis and I didn't tink I could use it for my servers. But now it seems to be *the* solution. Would this be faster than mysql? I expect no since it's a scheme free database
SgtCaze (1 year ago)
A pool is a group of connections that are on standby, ready to be used. Pools are far more efficient when maintaining connections. I briefly mentioned Redis can be used to communicate "Strings" (messages) between servers. I mentioned that it has been used as a caching mechanism as well. Perhaps I could have mentioned in terms of MC it can be used to cache ranks/ip/names/uuids etc). There will be a followup demonstrating pub subs, and how to use these with BungeeCord/Bukkit servers.
FSXPilot4 (1 year ago)
Great Video Caze! ~ PenguinPlaysYT ;)

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.