So I'll explain again in English, for the English audience. So because this talk is going to be in English. Hi, my name is Vinit Talwar and I'm the co-founder of an online radio station called as Firewood FM. So yeah, today I'm talking about WordPress backups. So regarding the other things you have mentioned, which is we were the media partner of Wordchem Europe and we have covered some interviews over there. And also we are the media partner out here and covered some of the interviews with speakers yesterday. So yeah, and we'll be recording a couple more today, hopefully. So let's begin the talk. So my talk is about backups, disaster management and recovery. Now you guys would be like, backups? Okay, that's a very common thing. I know about backups. What's special about it? So you will find out today. So first of all, everyone have tweeted from this hashtag because the organizers have cracked really amazing Wordchem. If you haven't done it, make sure to tweet about it. Just any tweet, like you like the event or whatever it is, just tweet about them. Imagine this. Okay, so let's say you are a company owner. You have your website running and you earn thousands of euro every day. And one fine morning you wake up and you find your website is not there.  Please pay in bitcoins or whatever to this and you get your back. That's spooky, right? You don't want that, right? So that's the importance of the backups that I would like to talk about in this. So yeah, this kind of possibility is you're going to have. If you lost your website, you're going to lose your data. Let's say you're a mission critical site. Let's say an e-commerce site.  Or if the big sites, they're going to have an hourly basis or even minute basis for the websites like Amazon and all. Obviously, they take care of all the stuff and we're not talking about that. Your hard drive crashed, you got hacked, malware, malware attack, or even nature's attack. What if there was an attack in the data center or not and the stairs thing, so yeah, let's not also count that. So wait, heart attack? You don't want a heart attack, right? So let's proceed. Backups. Okay, I know about it. What's so special about it? You need a backup. That's what I'm trying to say because there could be any possibility that your website is not there. What should be your backup strategy? There are some of the points that I'll be covering in this talk about your backup strategy because there could be possibility that you might be running a small blog, just writing about your food and just posting it, or you might be running some enterprise, some company, small business level company. You all need a backup. Everyone need a backup strategy. Where do you need to backup? How do you need to backup? What do you need to backup? And which data is important with a priority that you need to backup? And how often do you need backup? For all these cases, you need a backup. But again, this question comes, what do I backup then? They are, I mean, in a WordPress site, okay, what's more important for me? Well, in an honest way, everything. But to be precise, I will say your document root, your document root is something where all your code lies, but, and your database dump. These are two mainly, but you may not want to keep complete document root because your WordPress core is available freely and you can anyhow merge it anyhow. All you need is your config files in case you're running WP config file and your content folder because your themes, plugins, and upload data, they all lies here. What is this WXR file? Some of you might be running multi-sites, okay? And let's say in multi-sites, they're like, let's say 200 sites you are running. So you may want some solution so that this WXR file is generated from your WordPress importer exporter in your backend. If you go to tools and export, this button comes in if you go like that. So this XML file, that's your backup file, that's what I mean.  But where do I backup? Okay, I mean, you can simply download it and put it in your computer or let's say you are running your local agency. You can put it on your NAS server, Google Drive, Dropbox, obviously, or your own server because in my talk, I'll be mostly focusing on Amazon-based services. So mostly, so that's why, let's say you're running an EC2 server so you're hosting there. And in the end, we'll be talking about you're automating your backups to S3 buckets. So that's the other point. And AWS Glacier, you might be wondering what is that?  You produce tons of data every day. Let's say your assets coming, your database size is growing, growing, growing. But you don't need the data that was like two years old. You need to archive your data. For safe archival data, you can use services like AWS Glacier, that's because of cost effective. These are nothing, but you connect your S3 bucket with this service and you upload it. So it's not the motive of the talk. Point is, what are the tools that we're gonna discuss here?  You can simply use the old school way, which is like FTP and PHP might mean, okay, that's, you will be like, okay, that's what I know, what's next? You must start using Git. If you don't use it, do version control, that's very much important. If you don't know how to learn Git, there are tons of tutorial on YouTube. You must watch it. How many of you know about this, or a cool thing called WPCLI? Yeah, that's quite cool. You know, they're doing really great. You must use it in your system because you can automate your every stuff using WPCLI and that's what we're going to see with one example in the end. About the cron jobs, you can automate using cron jobs. A cron job is, you can say, a certain script that's running at certain point of time, you can set up this in your system and you configure this in a shell script. In the end, I'll be discussing one example with a shell script and S3 bucket is somewhere where you're putting up your data automatically and this is the CLI of S3 that we're gonna use in this setup. Okay, manual backup. You can take an FTP backup and database dump. Okay, that's a basic thing. What next? In CLI, there are like a couple of commands like WPDB export. CLI is just one command and your database dump is out there.  Yeah, and WP export. WP export generates a XML file for you and you can just simply, let's say, you need to migrate your site from one server to another server, you just do this way.  I need something automated. Dude, give me something automated. I don't want this all the effort. So, there are some ways, let's say this because the basic one, let's say this is a plugin way. Okay, yes, get, definitely get. You must use get. But you don't want to host everything on get. You don't want your uploads directly to be going on get and increasing the size of it. If you know, I think some of the providers like, let's say Bitbucket or GitHub, there's limit of two GB if I'm not wrong. So, you must not host all the stuff, let's say uploads directly. You can use some plugins for automating your backup. Okay, plugins, these are like backup, WP, duplicator, WPDB backup, these are good. And the WordPress importer exporter so that you can export the XML file. And this better search replace, this one is use. Let's say you're migrating your site from one place to another one. So, this one is useful to change the domain names, protocols, let's say, you change xyz.com to example.com, you can say, and it will change all this thing in your database. So, this is the plugins way. Let's say most basic way. Let's proceed further. Okay, okay, okay. Let's talk about it here. This is the thing. So, you wanna take a backup, okay. So, what I'm discussing right now is the scripts. So, how many of you are confident with the shell scripts? Okay, quite a few number. And they use it in real time, actually? Okay, quite less. And how many of you familiar with use WPCLI on a real basis, like a daily basis or something? WPCLI, one, two, three, five, six, okay, quite a few people. Very less. That's bad. No problem. I would try my best to keep you guys entertained so that you can actually start using it. So, okay. You have a folder in your document route, let's say it's at this place where HTML, your websites are lying there. I'm assuming you have only one website right now. For instance, let's say example.com. So, your scripts, you're going to configure something like this. You cannot run simply WPDB export. Your binary lies at one location. If you are running this via shell script or via cron job, it won't directly run because it won't get the location. You have to give the address of the binary. So, you give the address of the binary and set up WPDB export. This is just one script. I have compiled this in a GitHub project later on so you will see it all later on. Let's say you're running and then you're making a simple zip out of it. Just saying that, okay, certain date, certain month and making a zip of whatever the SQL file came because whenever you run WPDB export, it will take a simple SQL dump and generate a .sql file. You're nothing but just wrapping it in a zip file and packing it here.  So, it's like your date and month, year and month. So, year and month, you're making the folder and storing your monthly backup in a folder.  If it does not exist, it will create a directory at this location. Now, in the next line, you're moving this file, whatever you have generated at this place and you're moving it here. In the end, you're just removing your .sql file. You don't want that to be available in your document route. Otherwise, it would be publicly accessible if the file permissions are wrong. So, that way, you're taking a single file backup. All you need to do is just put the script and just run it. Make sure your scripts are executable. That's more important. Let's proceed further. Okay, this is one example. How about I have 100 websites? I don't want to run it for 100 websites. That's pretty bad. So, what do I do? Okay, you just simply wrap it in a for loop and just your script is out there. So, every time, so what it will happen is, and yeah, obviously this .dot means complete script is going inside, except the first part. So, you just wrap it in a for loop and it will generate all the files and all the folders out there and it will make the zip file for you. Okay, that's fine. But, okay, still I have to run the go to the server and just run it and that's not my thing. What do I do next? So, next step is synchronize to S3. How many of you know S3 buckets and how many actually use it? Very less.  For example, you're running your website and you have quite a lot of media assets and somehow if they are coming from your server, that will create a load time. So, what you can do is, you can configure an S3 bucket for your site and that way the assets come from S3 bucket. So, it will save load on your S3 server. So, this is quite good for performance. Normally people use it like with a content delivery network or a cloud front. So, this is another thing. So, you can use this S3 buckets to automate your backups. To automate your backups on S3, first you need obviously an account of Amazon web services. So, there's a thing called free tier in case you don't wanna try, pay them just you can try it out for one year for free I think and I think you get five GB of storage every month. Something I'm not sure with the numbers you might need to check out. They have a CLI called AWS CLI. All you need to do is just install in your command line whatever you use, maybe use MingW or Bash or whatever you use, just configure it and commands are quite simple like AWS configure. That's it. And it will ask you a user exercise ID and access password. You can generate it on the AWS backend. There's an identity and exit management system where you can generate all of these. So now, getting this S3 buckets inside this flow, how do I do that? So, when you have installed AWS CLI, it goes inside, it will be a binary at this location, user bin AWS, you simply say the command is simple, AWS S3 CP current location and remote location. Okay, so every S3 bucket have a certain URL. It's like you have static.example.com or example.com. In S3, you have a unique URL. If your bucket exists over there, it has a unique URL. I assume that in this script, you have an example called your bucket name is your backups. So your URL was S3 colon slash slash yourbackup.com. That's your URL, that's I assumed in the script. So what I'm happening doing here is, I'm copying your backup's directory and tossing it into this folder I've created called example.com on S3, okay? So your command is simple, S3 copy, your current folder, your destination folder, and your recursive. If it's not there, you can use it. There are quite a few other commands also like synchronize and S3 sync also, but that's another thing. For us, copy is okay. Okay, now you're like, what? What is that? It's too much. No, don't, no need to worry about this. This is like, this looks like a terrible, but it's not. You will get to know it and the GitHub link are given in the next slide. So you can also review it. I will also show, go through the, this is just a quite a few, quite a handy tool. So just nothing special. So all I did now here is just compile all three into just one slide. A for loop and this line to export the database. And like, yeah, just generating it and automating it. So, and what next? In, with, before closing the for loop, I'll put this S3 synchronize line. So what is going to happen is it will export your database file, make a folder and make a zip, then remove this, move the zip to a specific folder, remove the SQL file. And in the end, synchronize it to your S3 bucket. That's it. You can then set it up, you can also automate it. Like, okay, now the script is ready. So what next? You can just test it, like running it on your server. Let's say you put it in a shell file, example.ssh, and then you just simply execute it and you can test it if it's working or not. Because you may need to change the document to address. It may be, let's say, public HTML or whatever is your address and your backup, your S3 bucket name could be different. So you may need to do this minor changes. You may need to take care of the file permissions. This script needs to be executable, like group plus X file permissions. So at least it's working for them. Okay. How about automating it? So there's a thing called grontab. Do you use it guys? Yes, one, two, three, four, okay. Yeah, quite a lot for evil. So now what I did now is just put the script inside a folder and just simply run as a grontab. And let's say this script is going to execute at three o'clock in the night every night and it's making a zip folder and putting it in S3 and synchronizing it. Completely awesome, you did automation of it. So this is a nice tool called grontab.group. So let's say because many people have problems with this, what this zero three star star means. So you can just get to know about it by this website and you can just put it and it will give you the example. So pretty easy, pretty awesome, you can try this. Okay, this is the GitHub link that I was talking about. So github.co, I've posted some of the information. You can just have a look and just try to make it completely easy and I hope that will help for you. So now the thing I mentioned about the data archival. Okay, let's say you are running 100 websites in your server. So you need all of the data. Let's say you want to do a backup strategy of having a daily backups. Even some people want hourly backups also. Yeah, but that's creating a tons of data. Your server hydride may be limited, let's say 50 GB or 100 GB. You don't want that to make it full and just keep it empty. So that's why your S3 backups are immediately useful. So later on, let's say when you're synchronizing S3 backup, you can also set a script to remove those folders that's staying in your computer also. Okay, this is about database. What about my entire data? What about that? So let's say in your document route, you can write the similar script to synchronize your document route also to the S3 buckets. All you need to do is just change this path. You don't even need to zip and all. Just simply say AWS S3 sync, AWS S3 CP and put the document route address and the path of your S3 buckets. And that way you can simply sync it and you can also wrap it in a shell script file and automate it by a Chrome app. Pretty easy, pretty awesome. Just have a look and if you get any question, just let me know and I'll put the slide on this link. You can also have it and review it and any questions just also you can let me know. So these are my contact details. You can just write me an email and yeah, you can just write me an email and yeah, we are also constantly looking for people who are interviewing for us because this project called WP Shoutout, we are doing community interviews with what can rank an area, what can Europe last time and this time now in what can post now. So yeah, just looking for the interviews. If you guys wanna join in, sure, just shoot me a mail. We'll be happy to take you. So just let me know what's your backup strategy by tweeting me and just what's your plan for it because backups are important. You don't wanna die with a heart attack, right? So just let me know. All right, any questions? Yes, yes, please.


What is going on guys, welcome back to the channel and I appreciate you being here. Today I am back with another Destiny 2 video and today I have details on how you will get the Chaperone shotgun with the Forsaken DLC drops. Now obviously the video does contain spoilers and if you do want to stay spoiler free, leave right now. Yes people go, go people don't spoil it for yourselves. Also guys before we go any further I have an exclusive Gambit emblem code to giveaway. To be in with the chance of winning make sure you are subbed to the channel, drop a like on this video and leave a comment down below. Winner will be picked within two weeks and contacted via direct message here on YouTube so good luck everybody. Also monthly giveaways, out of loads of goodies are what I do, so stay tuned until the end of the video to find out about my monthly controller giveaway. Okay so the Chaperone, the epic exotic shotgun is making a return, first seen in Destiny 1. For some it was a fan favourite, for others like me it barely worked, although that may be because I suck. Today I have details on the quest line and how to get this weapon from start to finish all in and it's actually pretty straightforward for sure. Okay so once the Forsaken drops, obviously many new things will be coming including plenty of new exotic pieces, most will come accordingly via in-game quests. The Chaperone is one of them. Okay so the quest for the Chaperone is called the Tex Mechanica Tournament and it starts via visiting Amanda Holiday within the Tower. We all know the lore behind the Chaperone, it's all to do with Amanda Holiday's family. So once you've visited Amanda Holiday, your quest will begin. So picking up the Chaperone quest the next step is called the Crucible Tournament. Here you have to play PvP and get 20 shotgun kills, the next step is called Crucible Tournament part 2. Here you have to get arc kills, solar kills and void kills while playing PvP. This one wow a little more extensive, 500 of each guys. Wow 500, this one is going to be quite time consuming for sure. After you've got the 500 of each burn the next step is called Gambit kills, Lack of enemy Guardian kills in Gambit. Here you have to get 50 Gambit Guardian kills and as we know it isn't as simple as just playing a couple of matches of Gambit. Here you actually don't even see Guardians until a certain objective is done. Here is how Gambit works, each team will have their own arena with the task of taking down waves of enemies and building up a supply of moats. By banking these moats you can send a blocker to the other team's arena, a powerful enemy that will stop the other team from banking their own moats until it's defeated. When enough moats have been banked a powerful enemy will show up on your side named the Prime Evil once defeated the round is over as well as this there's also a chance for a player to invade the other team's arena at certain points for some direct player versus player action. So yes guys like I said it probably isn't going to be as simple as it seems 15 kills we will see people we will see. So after the 15 Gambit Guardian kills has been achieved you then have to visit Amanda Holiday again in the tower. She will then people reward you with the Chaperon Exotic it is as straightforward as that. Now there's no time gated intervals, no waiting for certain scenarios, a simple straightforward quest straight forward until you find yourself struggling to get them energy weapon kills in PvP but it should be a fun experience either way guys because I'm actually loving the new way PvP plays I really am and this guys is how you get the Chaperon when the Forsaken drops on September 4th. Now this information was taken from like.gg a great source for all destiny through information the link to the questline can be found linked within the video description if you do want to check it out. On that note guys we have come to the end of the video this is how you get the Chaperon when Destiny 2 Forsaken expansion lands on September 4th. If you enjoyed the video leaving a like really does help me out of your new round here and enjoy daily Destiny videos be sure to subscribe and before we go every single month I'm giving away a fully customizable controller for either Xbox or Playstation sent anywhere in the world. To be in with a chance of winning it simply drop a like on this video and leave a comment down below and follow the glee link at the top of the video description it's a fast simple energy guys good luck to everybody who enters but on that note I am out thanks as always for stopping by and hopefully I will see you on that next one.


Yeah, man. Good job, brother Ryan. It's a rough one and I was almost laughing out loud in the back because the funny thing is we're gonna spend several weeks getting through this chapter So you're gonna have to do that again. All right, so I know this is one of those chapters in the Bible that you can read really fast like just Reading it to yourself. You can just like zip through this thing in like a minute But when you have to like pronounce everything it just like These these names, you know, it's not like, you know, hazen North Dakota, you know, it's not not quite that simple anyway Joshua chapter 19, so we're studying through the the tribes of Israel and we're just gonna go down to verse number nine This evening and we're gonna look at the tribe of simian so look down at Joshua chapter 19 And look at verse number one We're gonna look at the tribe of simian and there's an interesting story to simian I don't know that I've actually Preached through this whole story before so we're gonna look at the the life of simian and how that affected The tribe and their inheritance in the in the promised land. So of course, this is Joshua in these last few chapters Cutting up the land in the promised land. They've come into the promised land They've conquered the land for the most part or you know, they've conquered enough to divide up Amongst the 12 tribes of Israel and that's what we're looking at for the last few weeks Look at verse number one and the second lot the Bible says came forth to simian Even for the tribe of the children of simian according to their families and their inheritance was with the inheritance of the children of Judah So that's a really Important point right there in verse number one and then in the next few verses it gives the cities that are inside Simian and then it gives the borders But it basically says that the inheritance was within the inheritance of Judah So if you look at a map of the 12 tribes of Israel one thing you'll notice about the tribe of simian is you have The the tribe of Judah in the south and then inside that is this tribe is where Simeon received their inheritance basically it was a it was a cut-out part of the tribe of Judah look at verse number nine And the Bible says out of the portion of the children of Judah was the inheritance of the children of Simeon for the part of the children of Judah was too much for them Therefore the children of Simeon had their inheritance within the inheritance of them So let's look at the tribe of simian and see why they kind of had this they kind of had a lesser Inheritance when you think about it look at Genesis chapter 49 go back to Genesis chapter 49 So of course Genesis chapter 49 is where we're looking we're seeing Jacob's blessings on his sons and these blessings are really prophecies on what would come of His sons and of course, you know simian just don't forget simian is not The person that's inheriting this land Jacob is giving this blessing to his son some 500 years before they even come into the promised land So keep that in mind, but look at these blessings that Jacob gives his sons and we'll see that they're actually Prophecies of what will come of these tribes look at Genesis chapter 49 and look at verse number five and Jacob he gives the blessing to simian along with the blessing to Levi and you'll see why in a few minutes Look at verse number five simian and Levi are brethren and then this is what Jacob says Blessing these two together.  I will divide them in Jacob and scatter them in Israel So here we see why simian receives first of all Levi received no land Levi received no land. We'll talk about that in a later sermon, but Levi's Inheritance was the Lord they were the Levites they received no land as inheritance at all and simian He says they'll be divided and Scattered in Israel and we'll see that that's actually what takes place later on but he basically is giving a curse To simian and Levi here instead of a blessing go back to Genesis chapter 34 And let's look at why this is he basically says instruments of cruelty Are you know are are your are your habitations? He's he says you you've been you've been angry you've been wrathful and you killed a man You know basically we're going to see that it was much more than a man is what they killed So let's look at what happened that caused Jacob to give this type of curse to his two sons And we're focusing specifically on simian look at Genesis chapter 34 and verse number one the story begins Here we have Dina or Dina as many people I knew someone who was married to a someone named Dina But we'll call it call her Dina and Dina the daughter of Leah which she bear unto Jacob So Jacob also had a daughter and his daughter's name was Dina went out to see the daughters of the land verse number two and when Sasham the son of Hamer the high-vite prince of the country saw her he took her and Lay with her and defiled her so the first thing that we need to understand is this is in verse number two There's several things that have happened here. Okay. We had first of all Dina has gone out With the daughters of the land. We'll talk about that in a few minutes But then she met this this man this session the son of Hamer the high-vite so the high-vites there They're the people outside the camp. These are the the the heathens that they're not to mix with they're not to Marry they're not to take them under marriage. They're not to go in under them unto marriage God has as has you know proclaimed separation from these people But Dina goes out with the daughters of the land and then this man he takes her That's the first thing and he lays with her and then he defiles her So the first thing that I want to talk about is like what actually Happened here because there's a lot of confusion on this story and it really turns to some like some Bible version Things that we're going to look at this evening as well. So first of all, what did this man do to Dina? It's one of the biggest misreads of the Bible turned to Deuteronomy chapter 22 So first of all, we know that lie with her means that you know, they had you know physical relations Okay, so they had physical relations between a man and a woman. That's what that means and Defiled her we'll talk about that later, but when it says he took her What does that mean turn to Deuteronomy chapter 22? Deuteronomy chapter 22, especially the last half of Deuteronomy chapter 22 It deals with the law according to marital relations talking about someone who was you know Not a virgin before they they got married it talks about what happens if someone forces You know a woman to have you know to have a physical relationship against her will You know what you would call rape today, you know So that's what Deuteronomy 22 talks about and then several other Scenarios as well, but look at Deuteronomy chapter 22 and verse number 25 So we're talking about marriage betrothal physical relations between a man and a woman and the what the law says About this okay now look at Deuteronomy chapter 22 and verse 25 First of all, we're not going to look at it But previously in the verses previous it talks about what happens if a woman commits fornication and then doesn't you know tries to You know cover that up and then goes and gets married and it's found out and fornication in Deuteronomy chapter 22 In the Old Testament fornication meaning a physical relationship between a man and a woman Before marriage or outside of marriage that is actually punished by death in Deuteronomy chapter 22 It's very harsh which shows us look at shows us how serious God takes that sin That's what we take from that when we read these things in the Old Testament But there's a lot of confusion on the end of Deuteronomy chapter 22 If especially if you don't have a King James Bible if you have a King James Bible There's not confusion and I'm going to show you that this evening now. Let's look at verse 25 Look what the Bible says Deuteronomy 22 25 But if a man find a betrothal damsel in the field now betrothal in the Bible Let me just kind of break this down for you There is no equivalent today to betrothal in the Bible betrothal in the Bible means you were promised to a man before the Before the marriage was physically consummated. You were betrothed. There was a betrothal period But it was considered the same as being married in the Bible Okay, so there was no difference between being betrothed as far as the laws of adultery and things like that in the Bible So look at Deuteronomy 22 and 25 verse 25 But if a man find a betrothal damsel in the field and the man, what does this say right here? You need to underline this in your Bible because many people Misinterpret the Bible because they don't have the right Bible on these verses and the man force her and Lie with her then the man only that lie with her shall die But unto the damsel thou shall do nothing There is in the damsel no sin worthy of death For as when a man rise up against his neighbor and slayeth him even so is this matter This is the Bible very clearly teaching that the sin of what people would call rape today is punishable The same as murder That is very clear here in the Bible. He forced her. She has done no sin worthy of death for when a man It's the same as a man killing his neighbor. The Bible says it's the equivalent Look at verse 27. There's even more evidence here for he found her in the field and the bedot betrothed damsel cried she yells out She yells out for help and there was none to save her So here I mean we see this number one He forced her and then she cried and no one saved her so she needed to be saved She cried and she was forced. It's very clear that this was not a consensual situation This is what you know, we would call today or what they would call today the the crime of rape here and it's punishable by the death of the perpetrator now look at verse 28 if a man find a damsel that is a virgin which is not betrothed and lay hold on her and lie with her and They be found Okay, this is talking about two people that have committed Consensual fornication together is what this is talking about he you know everyone says oh lay hold on her Means that he forced her that is not what this means it means that I mean it means that he He handled her he you know he has Contact with her and this was not a forced situation. There was no crying There's no word force and there's no one that needed to save her and it says they be found Then the man that lie with her shall give unto the damsel's father 50 shekels of silver and she shall be his wife because he had humbled her he may not put her away all His days now the only reason that it talks about a damsel that is betrothed and not betrothed is Because this is saying in the last part of Deuteronomy chapter 22 that if two people that are not betrothed to each other There's no adultery involved here. It's only fornication That they are to get married. That's what it is saying. So that is the answer He's said he's to pay a fine to her father and then they are to get married if they had committed fornication Together now obviously that situation would not work if she was betrothed because now it's an adultery Situation and that's a whole nother set of punishments Okay, so this is very clear if you have a King James Bible that if there's a situation where a woman is forced Where you know she is sexually assaulted or raped as the body, you know as they would say today that that is punishable by death Very clearly in the Bible, but now here's the problem pull out your NIV Pull out your NIV tonight. Let me just read for you Deuteronomy chapter 22 and verse 28 From the NIV and here's what the Bible says in the NIV So the Bible says this you know the NIV says this if a man Happens to meet a virgin who has not pledged to be married and rapes her and they are discovered He shall pay her father 50 shekels of silver He must marry the young woman for he has violated her he can never divorce her as long as she lives So how many people have ever heard that you know somebody who's never read the Bible who doesn't believe who's not a Christian Who's an atheist or whatever and is just arguing against the Bible say well the Bible says that you know a woman can Be raped and and then she has to marry the rapist. I mean how many people I've heard that so many times from people who are Against Christianity against the Bible and here's the thing the new modern Bible versions. That's exactly what they say That's exactly what the NIV says Now if that doesn't get you to just drop your NIV and get a King James Bible right there.    You can't That NIV verse right there is is should be enough to just turn everybody to the King James Bible That one thing alone. It's one of the most like in your face You know just just errors that but I don't think these things are an accident go back to Genesis chapter 34 Let's go back to Simeon and Levi the point all that to say this by taking hold of her these two committed fornication together There was no forcing of anything in this situation Dina went out with the daughters of the land and she committed fornication She had relations consensual relations outside of marriage with this man now. Let's look what happens So she goes out she commits fornication and look let me just say this You know look at that statement in verse number one that says the daughters of the land Let me just say this. There's nothing new under the Sun folks There's nothing new under the Sun. This is what the daughters of the land do This is what the daughters of the land do today This is why the Bible and we preach so much here and over and over and over and over again Whether it comes from your children to you to school. We teach separation here Because the daughters of the land. This is what they do This is what they do you say well, you know things are bad today. Yes, because that's what the people of the land do Did you know that three percent? Three percent of people today that get married get married a virgin in the United States three percent This is what the people of the land do This is why we need to be separated We need to not be with the people of the land turn to 2nd Corinthians chapter 6 2nd Corinthians chapter 6. I Mean that Bible is teaching us to be separated for a specific reason folks So we don't fall into these same things So basically the Bible gives us all these commands many times in the New Testament and then we see you know the Results of not listening to these commands in many of the stories the history of the Old Testament It's really kind of a nice fit especially in this one look at 2nd Corinthians chapter 6 So second first and 2nd Corinthians kind of the the hinging sin of 1st and 2nd 2nd Corinthians Is the sin of fornication is the big thing that is being addressed look at 2nd Corinthians 6 and verse 17 Wherefore so in this context knowing this context that we're talking about someone who is in Fornication then gotten right and is back you know out of fornication again in this context 2nd Corinthians 6 17 says wherefore come out from among them and Be ye separate sayeth the Lord and touch not the what comes not the unclean thing and I will receive you The main points of 1st and 2nd Corinthians is dealing with someone who has put out of the church For fornication come out from among who? The people of the land The daughters of the land that Dina went out with that Dina went out with the people that all Look the people of the land are always going to go in this direction There's nothing new Under the Sun so if you want to avoid that if you want your family to avoid that you have to you have to come out of that You have to be separate from that go back to Genesis chapter 34 See you say you know, what's the big deal? What's the big deal? You know? I mean everybody out there is doing it today. What's the big deal? Look at verse number two He took her and he lay with her So we know what they did they got together She went out with these worldly friends these heathen friends. She got together with this guy and they committed Fornication, but then look what it says it says that by doing that it says he did what? He defiled her He defiled her. What does that mean? You know what that means? If you remember the verse from 2nd Corinthians chapter 6 that we just read it means he made her unclean It means that he sullied or marred or spoiled. That's what that's what defiled Means and look now this has a literal and a spiritual meaning This is by turn to 1st Corinthians chapter 6 1st Corinthians chapter 6. This is why the Bible talks so Seriously about Fornication look the Bible literally singles out fornication as a sin that is extra bad It's extra bad. It's it's it's bad in a way that no other sins are bad Look at 1st Corinthians chapter 6 and look at verse 18 Look at 1st Corinthians chapter 6 and verse 18. So it says that Dinah was defiled She was made unclean.  It's like but committing fornication is literally a sin against your own literal flesh is What the Bible is saying here and look it says his own body so I'm not gonna beat up on the ladies tonight It's it's defiling the man too It's it's man. You're sinning against your own body. It's not just a sin against your conscience It's not just a sin against God. It's you know, I mean just think about it. Am I I mean is it wrong?  I don't even I don't even I didn't even want to look at the percentages You know looking at it for the sermon, but it's it's high It's high people that commit fornication. Look, it's it's a physical it takes a physical toll on you It literally makes you unclean But even today even today now here's the really wicked thing that today. I mean You have been programmed Especially the people of the world have been programmed that it's no big deal To the point where literally everybody's doing it literally all but three percent of people are doing it now You think about it the TV you think about the TV programs you think about the movies you think about I mean I've shown you popular sitcoms. We're literally the main characters have had dozens and dozens and dozens of Physical partners, but there's never any consequences.  You know, it's just it's it's desensitizing you to a very serious sin They can literally kill you they can literally make it to where you can't have children They can literally cause you diseases that you'll have for the rest of your life.  How many more things? I mean why in the world do you have a TV? How many more things do you need to see? That are on the TV that are on programming that is coming from either Hollywood or the media or whatever that are just completely false How many things do you all have to see before you just stop watching it? You see also see why it's important while we sit here in the prayer list and we're like, you know what? Please help us to read our Bibles because guess what if I'm feeding myself with garbage from TV and from movies and from stupid things on the internet that I shouldn't be watching and Then I never read my Bible. What's gonna happen to me am I gonna become unsaved?  Nobody goes to their marriage, you know, you know a virgin anymore Nobody does that stuff. Let's take a poll all you young people Let's how many of you young people now when you think about your dream girl or you think about your dream guy That's gonna come along and you're gonna marry how many of you would really just not even care that they're just like Oh, yeah, and I've just slept with a lot lots of people.    It's just basically it's turned them into unpaid prostitutes There's what feminism has done for women in the United States. It's turned them into murderers That's what feminism has done. It's okay. It's okay to fornicate. Oh, man. There's consequences to fornication.  I can't tell you how many good men Good family men good fathers that I've met over the last 20 years and as their kids grow up And they're just like I can't believe what's happening and their kids are all going into fornication and guess what they're not like Oh, yeah, everybody's doing it.  They just don't know how to fix it Guess what?  You need to you're walking in danger zone And guess what? Generations later are gonna pay Well, you got to get them out. You got to separate them. You got to teach them the truth. Look teach them to have respect for themselves Teach them not to sin against their own body Teach them to respect. Hey, here's a good one teach them to respect their future spouse How about that? How about that teach them to separate themselves under the word of God so they can have a beautiful lifelong marriage Which I am convinced That is one of the best blessings that God gives us on this earth I'm convinced of it. I'm not saying I have a perfect marriage.  Here's how you start You say you know what if it's in the Bible, it's true If it's in the Bible, it's true If it's in the Bible, that's what I'm going to believe if it's in the Bible That's what I'm going to do go back to Genesis 34. Let's get back to the story The clock up here says I've been preaching for three hours. That can't be right Go back to Genesis chapter 34 Genesis chapter 34, so we see all that to just see what happened. Okay, we see what happened now Let's look at the aftermath the consequences of what happened Dina went out she met up with the daughters of the land the high vites She went out and she committed fornication with this man and the sons of Jacob came out of the field when they heard it her brothers Her brothers came out. They heard what happened and the men were grieved and they were very rough. That means they were mad They're full of wrath How many of you have a sister here? I have two I have two and my sisters had personally caused me to get into several fistfights So I mean look These guys were filled with wrath when somebody even says something bad about your sister. You just want to fight right away Because he had wrought Folly in Israel and lying with Jacob's daughter Which which thing ought not to be done and hammer communed with him saying the soul of my son Sashem Long as for your daughter. I pray you give her him to wife look.  I will give Asked me never so much dowry and gift and I will give according as you say unto me But give me the damsel to wife and the sons of Jacob answered Sashem and Hamer his father deceitfully And said because he had defiled Dina Dina their sister and they said on him We cannot do this thing to give our sister to one that is uncircumcised for that were that were a reproach to us But in this will we will consent to you if ye will be as we that every male of you be circumcised Then we will give our daughters unto you it will take your daughters to us and we will dwell with you It would become one people but if you will not hearken to us to be circumcised Then we will take our daughter and we will be gone and their words pleased Hamer and Sashem Hamer son and the young man Deferred not to do the thing because he had delight in Jacob's daughter He loved her and he was more honorable than all the house of his father look that doesn't say he was super honorable It just says he was more honorable than the other people that were amongst his people Okay, but look they came he loved her he wanted to marry her so at least you want to get it right But we know that they're not to give their daughters in marriage to the heathen people So here these these two boys that the brothers they say hey You know we would love to do that, but you guys aren't they make to make a deal out of the circumcision So they kind of you know they kind of trick them and you know It's kind of a funny story if you read it on its face, but it's not really funny if you think about what actually happened So basically they tell them you know you'd have to go be circumcised so every male of the high-vites in this city They go and they get circumcised they do it They do it look at verse 24 And unto Hamer and Sashem his son harkened all that went out of the gate of his city Every male was circumcised and all that went out of the gate of his city And it came to pass on the third day when they were sore like they're still wounded from the procedure They you know they're all like sore that two of the sons of Jacob Simeon Simeon and Levi Dinah's brethren took each man his sword and came upon the city boldly and slew all the males and They slew Hamer and Sashem his son with the edge of the sword and look at this There's another there's another aspect right here, and they took Dina out of Sashem. Look she was there She was staying with him They didn't kidnapping his pen man stealing is punishable by death in the Old Testament too That's not what they were upset about he didn't kidnap her.  They took all the goods. They even took the women I mean they took everything from this city They took I mean they didn't this you know This was not the right thing to do as Jacob clarifies in Genesis chapter 49 But the point is it does point out how serious the sin was and how serious it was taken by them Even though their wrath you know went too far, but look at verse 31 Look at verse 31 to make my point on fornication Look what they said and they said these are the boys Simeon and Levi should he deal with our sister as with and harlot That's look. This is feminism today. This is feminism today They have literally convinced women they have literally convinced young ladies to be prostitutes They have literally convinced women that is okay to be basically unpaid prostitutes These men are saying what she did with this man means that she was acting like and harlot That's how bad it was And that's I mean they had the you know a bad reaction to it But the point is is it's very serious It's a very serious sin. I don't know how to I mean what the world teaches on this and what the Bible teaches on this It could not be further apart It could not be further apart, and I mean it was a cruel over-the-top Response to be sure but basically they said that by by our sister going into fornication This man think about this now Think about this Think about what ever think about everybody you know that you work with Think about everybody you know that that you maybe deal with from week to week That just thinks that this this culture that we live in today where people just Shack up and they live together for years, and then they move out and they live together with somebody else And fornication is just a normal thing the God is looking at it. These guys were looking at it God sees it as you know prostitution He's like you're you're treated look it's think about think about the Occupation of and harlots. It's disgusting It's disgusting and by these people you know with their girlfriends and all this and all the fornication that has happened today It's the same thing It's the same thing.   It was for this reason and this over the top is over the top response I mean, it's hard to say. I mean, you know, it's hard to say that they didn't take it seriously They they really came over the top in this cruel response that Simeon's inheritance was surrounded by Judah and Basically Simeon kind of just got absorbed into Judah look at 2nd Chronicles chapter 15 look at verse number 8 King Asa is talking about here and when Asa heard these words and the prophet of odid the And the prophecy of odid the prophet He took courage and put away the abominable idols out of the land of Judah and Benjamin and out of the cities Which he had taken from Mount Ephraim and the renewed altar of the Lord that was before the porch of the Lord And he gathered all Judah and Benjamin and the strangers with them out of Ephraim and Manasseh and Out of Simeon for they fell to him out of Israel in abundance when they saw that the Lord God was with him So basically when you read after the kingdom split about, you know The northern kingdom going into captivity of the northern kingdom splitting from the lower kingdom of Judah Basically Simeon was just kind of like melded into Judah and you don't really hear about him anymore They had a pittance of an inheritance compared to the other tribes So but the biggest lesson here is this is where this started with this sin of fornication And and look, I don't know how that how to Point it out with what's happening today. How serious we need to take this but turn back to 1st Corinthians chapter 5 1st Corinthians chapter 5 you say, yeah, that's all Old Testament law and Old Testament stuff Look 1st Corinthians and 1st Corinthians chapter 5 is dealing specifically with this sin and this sin look all sins are not equal folks All sins do not have the same punishment in the Old Testament and all sins do not have the same punishment in the New Testament And as a saved believer you were going to be under the chastisement of God in your life So you better take heed to that look at 1st Corinthians chapter 5 in verse number 11 The Bible says this but now I've written unto you not to keep company If any man that is called a brother be a fornicator or covetous or an idolater or railer or drunkard or extortioner With such in one know not to eat look It's so serious that Paul is telling us here that it's not to be allowed in the church now I mean I preached whole sermons on church discipline and things like this But I don't know if many of you know this But at the beginning of the satellite ministry I had to deal with this in the church and basically you're saying okay So no man, you know, and I've kind of explained this that it says no man that be called a brother Meaning somebody that gets into the church that's getting plugged into the church You know that's that's showing up on a regular basis and you know is really serious about moving forward in their Christian life We're not supposed to allow these things in the church now We had a person that showed up and they were so for that reason We do not allow someone that would be called a brother to be living with their girlfriend or living with their boyfriend in this church I mean that's kind of just a we know that there's fornication there at that point. Look, I don't follow people home I don't want to do that, you know and and but the point is that that's not going to be allowed in the church and we had a situation where that was that was that happened and So there's just an uncomfortable conversation that has to happen there and it you know, basically I'm kind of like, you know, this thing's just a few weeks into it. I'm already dealing with this I'm like wow, you know, but the Bible says and look We're not on a hair trigger to kick people out of church want people to get right That's the whole point of the Bible. That's the whole point of church discipline, you know Pastoring men has had a really great sermon on church discipline I don't know when it was preached like a week ago. You should you should watch it like no pastor likes it No pastor likes doing it, but basically I met with this person And I feel like you know, it's it's long enough to where I can you know tell you I met I would meet with this person I would say look you have three choices You have three choices. You can either get married You can move out That's choice number two, you know move out stop fornicating or You know, unfortunately, you have to go to church somewhere else. Those are the three choices. It's pretty simple and this person Chose to go to church somewhere else to just not not come back And look, I mean, there's plenty of unbiblical churches out there. They won't care What you do? But the point is if you read first Corinthians chapter 5 and you say oh man, you know I have had fornication in my past and this is a real beating, you know this sermon I've had fornication in my past and and all this and you know But here's the thing first Corinthians chapter 5 first of all is trying to get people right It's trying to it's trying to get people out of sin. That's the whole point of it and number two It's talking about It can't be allowed to go on because we actually care about the people that are in the church Namely the kids Namely, you know, so if you're sitting here thinking like oh man these this is a sermon This is just beating me up right now. Hey get over yourself is what I would say There's people in this church that haven't been in fornication and we need to preach hard against this stuff We need to not be hypocrites about it I mean every single church, you know, how many people that I've worked with in the past that are in fornication living with their significant Other whatever they go to church every Sunday What a joke How could that church ever preach a fornication? How could these kids sit here and grow up in a church and the pastor's like fornication bad Don't do it. Everybody says it's good. The Bible says it's bad And then everybody in the church or five ten people in the church are knowingly in fornication living with their significant others Not married.  Well, you got the wrong guy for that job Look, it's about the next generation. It's not about you. Yeah, we're trying to get you right But we're trying to raise some kids and raise the next generation. It doesn't fall into this garbage It doesn't fall into these lies Like oh man, I got these lies. Hey confess it and move on Let's go, but look we have to practice the Bible and we have to protect this church Look the people of the land They're always going to do this stuff. What sense would it make if we were all separated think about how dumb this would be But this is what other churches are doing even Bible preaching churches We all were separated we're living separated lives and we're not going out to the people of the land But then we just bring all the people of the land in here. I Mean what you know, it doesn't make sense It doesn't make sense a little leaven first Corinthians says would leaven the whole lump Kids kids can smell hypocrisy like nothing else When their parents are preaching something that they're not practicing When when the pastor is getting up and he's preaching something that it's obvious that the church doesn't believe That's hypocrisy and look kid it will it will ruin It will ruin the word of God. It will ruin. That's why God is telling us this stuff. That's why we get these directions You know, we don't necessarily have to understand all the directions in the Bible folks We just know that they're right But this is an easy one and here's another one just that you know, just just to close on this Here's another point. Here's another point. You think about This is also a great lesson on How sin can curse How your sin your personal sin can curse future generations Simeon this this situation happened. We're reading in Joshua chapter 19 about them getting this land This situation happened 500 years previous Your sin can curse future generations 1,000% it can you say oh, but the the sins of the father are not going to be punished on the son Oh, but you know what guess how many kids whose dad was a drunk become a drunk You will pass those sins on think about the sin of fornication Just think about just think about folks think about Families that you know that there has been past fornication in the family and that family is still suffering those consequences now Everybody got right Still consequences still there Think about the kids of you think about the broken families from fornication From this You'll be a testimony to your children a good one.  Well be a good one, but you could also be a bad one Broken families that will shut they will that will mirror broken families will mirror generations.  What are you talking about? He's the leader of the kingdom. He got into some certain sins. Guess what? So did everybody else for hundreds of years The sins of Jeroboam the sins of Jeroboam the sins of Jeroboam's dad But the people kept doing the sins The sins of Jeroboam they just reverberated through generations. Will they be saying the sins of you Will they reverberate through generations that how many how many stories you need like this? How many stories you need like this in the Bible? The tribe of Simeon some really good lessons to learn here To you know and how not to do things let's bow our heads and have a word of prayer dear heavenly


Hi and welcome to the session and Priyanka and let us discuss the following question. It says differentiate the following function with respect to x. Now the function which is given to us is in the form of fx by gx. So we need to know the quotient rule of differentiation in order to find out the derivative of fx over gx. Here the formula is gx multiplied by the derivative of fx minus fx multiplied by the derivative of gx the whole divided by gx the whole square. So the knowledge of this quotient rule is the key idea that we are going to use in order to proceed on with our solution. Here fx over gx the function that is is given to us as 7x plus 4 divided by 4x minus 7. Now we need to find the derivative of this expression. So we have dy dx of fx over gx is equal to gx that is 4x minus 7 derivative of 7x plus 4 minus 7x plus 4 that is fx multiplied by the derivative of gx that is 4x minus 7 divided by gx the whole square. Let us simplify it further. 4x minus 7 the derivative of 7x plus 4 will be 7 minus 7x plus 4 the derivative of 4x minus 7 is 4 divided by 4x minus 7 the whole square. Further on opening the brackets we have 28x minus 49 minus 28x minus 16 the whole divided by 4x minus 7 the whole square. Further a positive 2x will get cancelled out with a negative 20. 28x will get cancelled out with 28x and we are left with minus 65 over 4x minus 7 the whole square. And this brings the answer to the required question. So this completes the question that was given to us. I hope you enjoyed the session. Take care of the quotient rule. Bye for now.


d uh stores it to a file the next one is a bit more interesting it's the destiny it's the log path for elastic search and uh you you will see that we utilize both the local log source and the network log source filter out only the debug messages use uh the pattern bb parser on the uh remaining messages and then uh store everything into elastic search and uh here you can see a screen from kibana and so you can not really read it but you can see that uh all of the uh data rise it's worth to do the configuration of the data rise safely into elastic search uh here are some graphs for the distribution of uh priority and facility and in the upper right corner you should be able to see uh some uh results uh coming from pattern bb it's a top list of uh source IP addresses parsed out from uh SSH login messages uh using pattern bb at the bottom uh you can see the distribution of uh log messages over time and upcoming and very interesting technologies Kafka it's uh published subscribe uh messaging uh and uh it's becoming more and more important in data driven uh organizations it's like a uh data backbone syslog ng can uh send messages uh to kafka and uh we are also working uh to uh implement uh kafka source into syslog ng so it so that way we will be able to also uh collect messages from kafka and not just send to kafka finally i i would like to summarize uh the benefits using syslog ng in a big data environment first of all it's uh high performance and reliable log collection it can also uh greatly simplify uh your uh data architecture as uh a simple a single application can be used both for uh system log system and application logs or just about any uh application data can be uh forwarded using syslog ng and it can also significantly uh lower uh the load on the on the destination on the processing side as uh syslog ng can uh process log messages close to the source in a distributed way and uh it can uh parse uh messages find uh forward only the important information and also format uh uh these messages to be uh ready for processing uh and uh everything can be uh done on the syslog ng side uh if you would like to join uh our community use syslog ng have uh collect more information the main anti-point is syslog ng.org uh the source code of syslog ng is on uh github and uh if you have any uh problems you can report report it on github or we also have a mailing list uh and uh we are also uh on on the syslog ng channel uh on irc on freenode uh if there is any university students among you we have opened to any position and uh also uh we are creating the syslog ng universe it's uh something brand new uh more information is on the website so you can get uh small exercises which you can use uh in your programming assignments uh and we give you uh we can give you all the help uh to implement something uh and uh we also can merge it into syslog ng so uh it's good for us as we get some new code and it's good for you as uh you you learn something how to do and you can also uh point uh your features uh that you created something do you have any questions uh syslog ng is uh in practically all you know distributions i know uh yes but not uh not always the latest version so it's in fedora it's in uh susan it's in uh debian yubuntu gen two uh arc arc linux so practically all of the major linux is uh also uh available for the tantal price it's in free bsd open bsd there are packages for so Larry always uh only the question of time uh how updated these packages are so if there is a release uh right before we have a release then they will carry and all the all the syslog ng uh for a while but often there is a there is an external repository which carries the latest syslog ng for the given linux distribution it's the default in some and mostly it's optional one yes it works in both sides it's it's yes it's the absolute level same you only have to change the configuration uh it's uh it's um high availability is not built in but it can work together with load balancer load balancer it can work together with uh any high availability solutions yeah sure if you have any further questions uh or not now but later you can reach me uh by email and i also have a blog uh where i regularly post information information updates uh about syslog ng interesting use cases and so on and uh i don't know if it's carrying you away or uh what is the effect here is a sample xml file uh it's the one i used for parsing ssh messages uh at least part of it where uh at first it looks ugly uh as usual but uh here you can see uh the actual pattern used for parsing the message uh you see that uh it's the actual log message and where the variable parts are we have some parts are inserted uh into the machine uh so you can see the field names the parts are named the field uh and the field names uh which are used to define the message and here is an example message so you can verify immediately if the parts are you created is all right and at the bottom you can see that based on the message message text some additional fields are created uh like that it's a login event and that is here it is accepted so it was a successful login login actually there is an application uh it's called ELSA it's uh enterprise log search and uh archive uh which uh does exactly this that uh it has many built-in parsers for different idea systems like uh snort uh bro and so on and uh parts are for uh ip tables sysco and other each unifer and other firewalls so uh and it can also store all of this into mysql and index the messages uh so you can easily search any uh ip address uh in the database uh what happened on your network it has some uh built-in tools for looking up information can call who is uh on the ip addresses or do many uh similar kind of magic so it's uh used uh often in uh the security part of network operations center sorry uh ELSA enterprise log search and archive uh with raw data uh you don't really know except oh you can know if uh if you use gip in that case uh you can create additional fields from the ip address uh either at country level or at city level uh and uh add this information to your log messages and store it together with your log messages so uh i think this is the same or what is used in as well log search and archive and archive yeah no uh archive sorry i'm not native english yeah sure uh that was the original purpose of syscogen g uh order if it's called next generation but actually it's 18 years old so we can remove but only if the uh the same message appears right after the other by the way it would require uh two-bit memos buffer you you won't do and the bn packages are and also uh my open to the packages are uh in the build service open to the build service uh if you dot me an email uh i can uh provide you with uh your i i think it's also on the syscogen g dot org website links to all of the different package sources any other questions uh yes i already sent my slide to scale so it should be on the website too thank you for your attention two countries where there's one person so there's one person in canada one in finland uh no wait two in brazil now um well avi who's the cto and original um author is in is in headquarters in israel but uh the core developers are all over the planet yeah is there something else going on right now i mean oh robot workshop okay okay so uh so yes it is yes it is it's from the yeah it's from it's from the odyssey you got it uh which one of the creatures was it it was the the the one with the tentacles that would uh that would grab people off the ships yeah yeah yeah yeah no it's all right well we might as well get started if anybody wants to move up there's plenty of space at the front we can uh hear everybody so i'm i'm don marty i'm with uh sila db we're coming up on our g a release so uh before i get started um who is already running apache kassandra or have you run it in the past okay okay okay so not in production all right so other um other no sequel systems my um mongo okay okay so um hadou uh react any of the others reddice okay reddice okay big time reddice and spark okay and then is the back end for your spark for for the storage okay okay okay okay so yeah spark spark sila turns out to be a really good fit so some of the um integration work that has been done for um hooking up spark and kassandra uh just plugs right into sila so ignite i don't know about um i know i know spark for sure because we just put up uh or we recently put up an article about that i don't know about ignite but i can check on that okay okay all right well now that i have a little bit of a sense of where we're starting from um sila is a new no sequel database and it is uh the claim to fame is that it does about uh 10 times the throughput of apache kassandra uh while um maintaining kassandra compatibility um and with a lower latency in general um and sila is open source uh founders um avi kaviti and dora levar are the uh two uh company founders it is a commercial open source uh project um they're uh well known for the kvm hypervisor which is the basis of the google cloud and many other um uh cloud deployments and the uh osb unicolonial which is an early full featured uh unicolonial project which is also open source and and still out there um sila we've got people in uh 10 countries around the world we are hiring i don't know if you saw the jobs board but we're looking for c plus plus developer qa solutions engineer um a bunch of different uh roles within the project in the company so um what makes sila so different from any other uh no sequel database well the design is completely different it is completely sharded per core um everything that has to um touch memory for example um is uh only um working on an individual core uh cores communicate by message passing so there's a send and receive q uh for each pair of cores on the system uh no lock throughput is uh depending on um the system you put it on um a sort of mid range to upper mid range system will give you about uh one to 1.8 million uh cql operations per node cql is just the kassandra uh query language so we go by by how many cql statements we can we can uh execute in the second um the 99th percentile latency is consistently low um this is probably um not surprising when we get into more about the the architecture of how this thing's laid out um and then the feature set it is compatible with uh apache kassandra so here's a quick uh graph of throughput the little green bars down here um we've got the the uh right throughput uh the read throughput and a read write mix uh the little green bar is kassandra 2.1.9 um and the purple bar is silla um on the same hardware so this is on this is running on bare metal uh with an ssd and of course i don't know if anyone went to uh brendan greg's talk he points out that benchmarks may or that that most benchmarks are bogus so it depends on your individual configuration but uh you can you can generally expect to get a order of magnitude throughput improvement um with silla compatibility you can very often take the same workload same number of clients put it on fewer servers now um as far as how much of kassandra did silla copy over directly and how much of kassandra did uh did silla uh completely re-implement um the stuff that makes it easy to switch back and forth between original recipe kassandra and silla is is all the same so kassandra uses the ss table file format on disk and the silla file format is actually identical so if you are migrating from a kassandra server to silla server you can simply shut down kassandra on a node uh copy the files over and start silla pointed at those same files there's no conversion uh that needs to happen now of course kassandra and silla may make slightly different decisions on where to split up those files kassandra will probably uh produce fewer and larger files and silla may produce a larger number of files because of that uh per core sharding um but either system will be able to read in the files that were written out by uh the other one if you go to the silla site you'll notice um there is no uh driver download uh section that's because all of the drivers for all the common languages out there including c java python ruby everything that has a current kassandra support that same driver will work with silla the wire protocol between um between the kassandra client and the kassandra server is implemented exactly by by silla uh same goes for the cql language the query language is the same um from uh kassandra to silla uh the config vial uh some of the entries in the config vial refer to um details in the kassandra implementation that uh silla will simply skip and and have no effect but the same config vial format will work on on both systems so you can copy your kassandra dot yaml over to silla dot yaml um and start up silla uh and it'll work and it'll use the right ip addresses and ports and and um and snitch configuration for for communicating one knows um management uh yes it it is managed with the same jmx endpoints now this is not um because silla is a java program it's because there's a separate uh jmx component that starts up and will translate between silla's own native uh rest api for management and um the jmx endpoints that are provided by kassandra so uh we're actually filling in a few more of these jmx endpoints as we go along so any third-party tool that you're that you're able to use to manage kassandra you'll also be able to use that to manage silla um code code is all the same you can copy the kassandra uh database is the same and uh as i mentioned before the integrations for other tools like uh like spark uh will will work with silla as well and this is just the the details on the versions of um kassandra that the that the uh the current version of silla is implementing so the cql language uh version 3 the ss table format is the same as kassandra 2.1.8 uh jmx uh that's also the same as uh 2.1.8 um the configuration file um um is is the same now kassandra when they first started up they had an older protocol called thrift um for um for storing query and data um the kassandra thrift protocol is not implemented in silla so you would need to use a current kassandra driver that uses cql um at some point um we will have thrift support but uh almost all of the new kassandra applications have been cql for quite a while now and so that's where uh where silla is focused uh yes question in the back the um the the missing thrift um that would affect you if you had developed a kassandra a kassandra application using a very old driver that uses thrift so if you've gotten your um kassandra driver within the past couple years when everything's been focused on cql then uh your cql based kassandra application would just work it's just some of those like kassandra 0.9 uh vintage applications are not going to are not going to run with silla yet yes um kassandra is a distributed no cql database and um on the at the very basic level it's like a distributed hash table where um data is given a persistent identifier and then it's stored on multiple nodes around the ring and that um that type of uh uh or or that level of the system where you can you can choose uh how many copies of a piece of data are stored um is tunable so you can actually tell kassandra um i want uh to store um copies of this data on three out of the five nodes of this ring um but when i do my right i want it to come back when one of them is written and then kassandra has to take care of replicating it itself or you can say i don't want my um insert statement to return until i know my data has been persisted to um a quorum of the nodes where it's supposed to be so one of the things about developing for kassandra as a as a developer or as a or as a systems architect is you can decide how you want to balance out speed versus um safety so you could you could for example have certain items of data like like some cashed data from a user session that you can regenerate um you could you could take some data and run it um very fast but with fewer copies uh or you could say um this other set of data is um something that i can't easily regenerate therefore i'm going to set the the replication um and the the consistency level for that data um to to need to be on more nodes so uh copies all that exactly exactly from kassandra so so if you've if you've done the process of going through and reasoning about your data and deciding how you want to trade off performance versus safety then all those same decisions will be reflected exactly in your solo configuration yes yes yes yes there's there's a um there's a repair functionality that will let you repair your ring when you when you replace a node there are um different uh levels uh that you can apply when querying your data as well so you could it you could say i want my reads to only come back if i if i'm reading a quorum of all nodes or you could say well i just need to hear back from one node about this particular piece of data so so because the the kassandra design is um is possible it's it's possible that you that you could misuse it you could build something that was both unsafe and slow if you really tried um but if you go through and figure out the the possible failure scenarios and how you want each piece of data to be protected then you can balance out and get the right level of speed versus safety for for all the data you want to preserve for your application okay okay if there's something that you would cry if you lost then look at quorum so your your right will not come back until um a quorum of nodes has has a safe copy of it yeah yeah for kassandra training so you could it's a good idea you're probably not gonna yeah yeah it's the same the the apache kassandra project has um a lot of uh interesting um discussion of um of different different data models um there's also a regular kassandra meetup so if you if you go to the the kassandra meetups very often there will be a talk from somebody who has gone through exactly the kind of process we're talking about of saying well here's our initial data model that we came up with and then we decided that for whatever performance or safety or ease of administration reasons we went through um a couple different versions of it oh that's um we we have done some um but reporting back to the kassandra project and there are um solo people on the kassandra list and um i think vice versa so there it's it's all yeah it's it is kind of symbiotic and it's all it's all open source so if you like if you like the kassandra model and you like the drivers then um it's a it's a uh yeah yeah um we are going to offer training um but but not yet right now we're focused on ga so if you if you're looking to develop applications for kassandra then yeah there's some there's some good tutorials there um there's there's an orielly book on kassandra out too but i think the orielly one is kind of old um and um either a press or package press had had a good one out um more recently than the orielly one um so but but the the good news is that there's a lot of good information about it and if and if you go to stack overflow there's there's some good discussions of um different kassandra options as well but if you can't get something oh yeah yeah you can if from an open source point of view you can always get on our mailing our user mailing list and ask um and then there's also a support line that that uh you'll you'll be able to get on and get a support plan too if you're if you're interested in that uh for now um the user mailing list has all the main developers on it too so you'll you'll get good answers to uh any psila user questions as well okay all right thanks oh um gossip is the way that both kassandra and psila share information um about which nodes are up which nodes are down so psila um copies the same um general principle for communications between nodes of the cluster um however you can't take a psila node and add it to a kassandra cluster or vice versa the the wire protocol um of what travels between nodes is a little different and so yeah you would you would need to replace all the nodes in a cluster at once in order to do the migration each individual node is easy but you can't do one node at a time now um kassandra does have the concept of uh and and so uh both have the concept of data centers where you might have a duplicate of the same data in different regions for resilience um and so in the in the near future there's going to be an option of having a um kassandra data center and the psila data center uh that that cooperate but that's that's a near future thing not something you can do right now one of the things that that uh some sites do when when they experiment with migrating across uh no sequel systems is they will do uh dual writes so you would you would be writing to um both systems for a while um and then cut over at some point so that's that's fairly common in in large scale no sequel situations where you can't afford to have have something go down but we are going to do the the um the translator functionality soon okay so how does it work how is it possible to uh do all that stuff but but so fast well um this is uh lady ava lovelace and uh before she even actually had a computer to uh program on she came up with this which is surprisingly uh surprisingly accurate how multifarious and how mutually complicated are the considerations which the working of such an engine involves there are frequently several distinct sets of effects going on simultaneously all in a manner independent of each other and yet to a greater or less degree exercising a mutual influence to adjust each to every other and indeed even to perceive and trace them out with perfect correctness and success entails difficulties whose nature partakes to a certain extent of those involved in every question where conditions are very numerous and inter complicated how many have dealt with that yeah so most of today's server software was designed back in the day when you had one core per processor and smp systems were out there but it wasn't um so big of a thing even your your typical mid-range system was was uh a single core today excuse me um today you can go down to well maybe not target but certainly fries and buy a 10 core processor you can click on a cute little web form and get a machine with 20 or 28 cores by the hour so the difference in how these these systems have to be coded for is is remarkable instead of the processor spending most of its time doing actual work when you take a an application that has thread pools or a lot of contending processes at the os level the cores are spending most of their time contending for locks and and getting in each other's way so um what sila does is let's each core run flat out by giving each core its own dedicated set of resources so in a classic in a classic multi-threaded application you've got a lot of threads going on and the threads need to make system calls into the kernel and of course when something wants memory the kernel has to the kernel has to handle allocating memory to many different threads running in the same process and what sila does is sila is based on a thread per core architecture called cstar and in cstar every every core has its own chunk of memory to be allocated and so when one process wants to to or when when one core needs to allocate memory it doesn't have to take a lock it can just get memory that that's dedicated to that core for writing to the disk it isn't um it isn't a multi-threaded application all of the writes in sila are done with linux asynchronous i o now what this means is that sila becomes um sensitive to the performance of the file system so the performance of the database is no longer the the issue and now it's how well does your file system handle asynchronous i o and what that means is that the kind of performance results we're seeing with sila will show up with xfs which happens to have excellent asynchronous support but you're not going to see the dramatic high sila performance with file systems that don't have as as solid support for asynchronous i o now i said something a little bit earlier about the speed of development that sila was able to achieve taking a fairly complex no sequel development project and making it happen in a year and this is this doesn't sound like the kind of thing that's possible to achieve with a um thread per core architecture and every core having to communicate with every other core by message passing that sounds like a really hard system the big win from the cstar framework that sila is based on is it gives the c++ programmer a set of abstractions to work with to make it possible to develop with that model in a reasonable amount of time with a high quality level so um the the constructs of futures promises and continuations make it so that the programmer who's who's developing sila can work with can can work with with functions that return values that you can reason about rather than just handling message passing across cores by hand now a lot of database tuning is based on tuning how linux handles the page cache for for disk i o and sila has taken the approach of instead of relying on the os to um to cache um blocks the sila design has a built-in cache and then everything that goes to disk is asynchronous i o and what this means is that in instead of in a conventional layout where the database might modify one row within a 4k block and then the os has to spew that whole 4k block out to disk in sila it would be modifying data in memory and then when that cache gets written out to disk sila has application level knowledge of the cache and can just write out um the data that needs to be written out so there's no such thing as a parasitic row which is a row that needs to be or that a row that that doesn't need to be written out that kind of tags along with one that does oh okay yes yes yes the the ss tables are written in a different way they're written using asynchronous i o they're using a more efficient mechanism but the bits that end up on disk are the same as uh what gets there from the the old school kassandra way yeah yeah yeah well if you look at how did what if you look back in the day how did linux get asynchronous i o in the first place that was oracle developers saying we need this feature so linux linux didn't have asynchronous i o to the best of my knowledge until the oracle people were working on porting their database and they ran into a very similar issue so a lot of the high performance techniques in sila are things that have already existed in operating systems and in relational databases however they haven't yet been applied to no sequel so there's there's some computer science wisdom of the ages that's being dug up and and reapplied to to this kind of task as as well as as well as some of the more innovative um sharding and um and the futures promises continuations model there's also some well let's go back and look at at things that that oracle had figured out in the late 90s early 2000s um and and other relational databases have also taken advantage of oh yeah oh yeah sure sure um well repairs repairs can be faster because when when your round trips are significantly faster because you're not you never have a java garbage collection for example um when when instead of having some um transactions face a a high of latency then if everything comes back quickly then a complex operation like a repair is going to complete more quickly as well and in a more predictable amount of time okay so this is the simple version if you need a pony you get a pony okay so i didn't know about the 1024 by 768 requirement i can show you the the sila um cql requests served per second this is a um this is a um uh system that's doing um about uh two million requests per second um and you'll notice it's it's consistently high and this is across a three node cluster by the way two million two million across a three node cluster and there are details on this benchmark on the on the sila blog um kassandra uh it takes a little while to come up to speed and the overall throughput is is lower that's just the basics now the interesting metric here is latency and this graph is a little complicated the throughput um is here so uh sila is doing over 250 000 cql um request per second um and kassandra is doing about uh 150 000 so so sila is running a little a little bit higher throughput than kassandra in this scenario and then the the y axis over on the other side this is um latency in milliseconds okay so mean latency sila is a little quicker than kassandra or substantially median um still uh substantially quicker um 95th you can see a little bit more in the 95th percentile um for kassandra latency and but once you start to get into that 99 99th and uh and 99.9th percentile you start to see these over uh five millisecond latencies on the kassandra side while sila is still um consistently pretty low um so this is the latency of the slowest uh 0.1 percent of requests the slow the slowest of the slow the ones that happen to hit a um a slow path in the in the system it doesn't mean that one box is slow it means that if a box is serving a million requests then it'll serve a thousand slow requests yeah um there are a bunch of these um that that actually the sila developers are running all the time so the ones that we make the graphs for tend to be the ones that are that are more representative um yeah yeah yeah yeah and and we do them on different um on different infrastructures so um there we've we've done some on um different different uh bare metal configurations and and on uh amazon so what's sila written in sila is written in c plus plus 14 so it's the first uh database that we know of to be written in the latest version of the c plus plus language yeah and and the the horizontal lines go with the numbers on the right side and the bars go with the numbers on the left side yeah yeah well it's not necessarily because of uh low latency that the throughput is high it's possible to have a system that has very high throughput and very high latency and so as the throughput goes up then the um latency also tends to go up in a production system so yeah you have to you have to balance them and in in this case it's it's a test where um Cassandra actually got a little advantage because it's running at a a lower throughput and and being compared straight up on latency and this is just an example of a quick repair this is using the node tool command for Cassandra um and it starts a repair at uh 17 33 44 um and it's done at uh 17 34 10 so we'll have we'll have some more detailed benchmarks on quick repairs too so once you have the speed what can you do with it and and it's not just a matter of paying a smaller bill to your uh cloud provider although that's nice too um you can shrink the overall number of nodes in the cluster you can make it faster to uh scale your cluster up and down for uh big events such as black friday for retail or um big uh for example if you're doing an online game and you have a a big release of an expansion pack or something you can and a lot of people are playing you can ramp up the number of of nodes for your game um you can do more with modeling your data instead of simplifying your data model uh on a performance driven basis Cassandra lets you do a lot um and so I'll let you do the same stuff but you can you can do more interesting designs of your of your data model um and operations like repairs can happen without bogging down the the cluster there's just extra performance overhead to play with which means that administration becomes a lot less painful um so what's that um you can because you have the extra performance you can use a more sophisticated data model sometimes in designing a Cassandra data model uh you end up having to denormalize things and make extra um tables just to handle specific queries uh with sila you still have to do some of that it's not it's not going to do your computer science for you um but you have more options in in how you design your data different different data models can be acceptably fast um no not not necessarily necessarily but because you have more performance you can either use that to have fewer boxes or you can have you can have um uh more performance overhead to use for things like running your repairs online or um doing more uh sophisticated queries on the same data and so that just means that you can chill i saw i saw this building and and i had to take a picture of it because uh this is this is the date this is the data center where people who have simple no sequel databases can can go it's not the it's not the stuff that has to be tweaked and babysat constantly all right so what's coming up next with sila well we're looking to build a community people who want to do stuff that plugs into sila are especially welcome you do not have to be a c++ expert to get into it um we have some devop stuff that we're working on and and um looking for um anybody who wants to make something interesting and and have a good uh no sequel data store for it uh of course the core the core database continues to improve um we're uh already integrated with Apache Spark but of course there's a huge stack of stuff that will connect to Cassandra and we're hooking all that up to uh sila as well including management tools um and then there's the possibility of having sila also implement more protocols and not just the Cassandra protocol so if you have ideas there um then please get on our mailing list and we can discuss that um stuff that we just come up with in the past couple releases we're doing a beta release over a few weeks now past few releases have had a new official AMI this one's using CentOS 7 we recently introduced SSL support um and the altar table command so you can change your schema on the fly um sleep mode this is good at the at the very um first few releases of sila we had um a a polling mode where every core is running flat out waiting for uh more inbound traffic this is great for speed not so great for your battery for your developing on the laptop so sleep mode will now let uh sila uh go to sleep and wait for you to run your tests on your laptop again i'm especially happy about this one because now i can just turn my laptop around and do do my sila um development and test on it uh we have a project that is not actually even part of sila it's called Cassandra test and deploy um that is based on Ansible it's a way to easily spin up a bunch of Cassandra nodes um and test different uh failure scenarios um on them um or of course uh sila nodes so anytime you want to test uh uh sila against something else or just try something out on on Cassandra then check out the Cassandra test and deploy project oh it's on it's on github um go to go to github sila db and all our projects are there and you can you can find our github page from the from the main website there's a very simple contributor agreement that we ask people to accept in order to get code into the main um um sila db uh project that's um just to um say what you wrote and uh we can take it and do our stuff with it uh we do commit to it being open source in that agreement um the way that the list or the way that the development process works is uh the code is hosted on github and we use github issues um however we do not use github pull requests so if you have a change that you want to discuss and and have the the team consider for for for acceptance into sila that would be something that you would you'd post to the mailing list and we have a document on how to make git do that automatically so the the linux kernel developers have come up with a pretty slick system for taking a git branch turning it into a series of patches and and posting it to a mailing list and we use all that exact same stuff it's it's essentially linux kernel style development and as i mentioned before you don't have to be a c++ programmer if you're into python let me know we'll do some dev ops um i'm building out from from demo scripts to more um deployment and uh and easy ways to manage my my sila um projects or projects that i have that are on top of sila where i need to to deploy sila along with everything else and there's a knowledge base so if you if you want to write something up for that let me know and and uh we'll uh we'll see what kind of projects you come up with all right that's about it um any questions yes well spark is more of a distributed processing framework and then um spark can connect to um many different uh sources of data to be piped into it and and processed with with great parallelism across many nodes so um spark is commonly used with um commonly used with adu commonly used with kassandra and now it can be used with sila as well so you'd have your data in sila let's say you had your let's say you had your users um playing games and and uh rating each individual game then all those data on who clicked four stars or five stars or one star would get spewed into sila and then you want to do your reports on which games are good which versions made users like the game more or less than you could do those reports through um through spark just as an example yeah yeah well um kassandra has the cql query language but it's a really basic query language and then you you would take the results of that and feed it in through something to do more sophisticated processing on it yeah yeah you could do you can do the same thing and if you look at a lot of the sites that are doing big volumes of data in in hadoop are um getting a lot of data written into kassandra because kassandra is fast for um for writes and then they will take it out of kassandra for processing in hadoop or they'll feed it out of kassandra through spark and so um sila fits into the the kassandra role in a situation like that um of course it's faster so you're you're likely to get your your results quicker if you hook it up to spark so it's it it fits in the same way if you're interested in replacing your hadoop clusters then um then you might be and and it completely depends on how your application is is designed that you you might do sila and then spark to process the data is the kassandra the kassandra functionality is just a database it doesn't do all the the distributed processing that that hadoop can't but but spark does distributed processing um okay yeah well kassandra yeah well kassandra would be the the data store that either feeds into spark or that you take your spark um results and feed them out into out into some kind of a data store as well so spark does distributed processing and kassandra and sila do distributed uh database well hadoop has hadoop has a bunch of separate projects within it right so hadoop has um hbase which is a database and then hadoop also has distributed processing aspects to it so hadoop is a big stack of stuff um some people have found that instead of having the whole hadoop stack they can get um faster and simpler results by having um a kassandra database and then spark for distributed processing and so sila drops in as a replacement for kassandra in that scenario and since spark is known for being fast and sila is known for being fast it sounds like a good combination yeah yeah you'd you'd still need something for distributed processing so so spark is is the hot thing now for distributed processing yeah yeah yeah yeah and and sila should be able to get through 8 to 11 terabytes of data pretty quick so uh of course depending on your hardware and your data