Lanka Developers Community

    Lanka Developers

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Shop
    1. Home
    2. b6
    3. Posts
    • Profile
    • Following 5
    • Followers 8
    • Topics 14
    • Posts 104
    • Best 34
    • Controversial 0
    • Groups 2

    Posts made by b6

    • RE: Cross Platform development using C++

      @rashmiee Yes #QT one of the famous framework. But however, In any language, Please improve your skills in core. Then move to frameworks. Because nowadays most developers are depending on framework, Some times you will need to modify the framework or need to work on company's custom framework or need to move to different framework. In that situation you will face hard time. Because you only able to work on perticular framework. Understand the core technologies, standards and methologies. Then you can adapt your self to work on any platform and framework.

      Good Luck!

      posted in General Discussion
      b6
      b6
    • RE: The way how to solve the issue related with Infinite Recursive fetching of data from relationships between Entity classes (Spring Boot JPA Hibernate)

      Nice artical Bro

      posted in Back-End Development
      b6
      b6
    • RE: Cross Platform development using C++

      C++ is a low level language, And compatible with all platforms. But you should compile it to the current platfrom's executable format. Which means, You don't need to change your code, But you need to compile it for windows, linux & etc.. separately..

      However you shuold start from C++. Learn to code using C++. If your google for tutorial you can find alots of resources.

      Note: C++ is a strongly typed low level language, So you should learn about low level process architectures such as Hardware compatibles, Registers, CPU architectures & etc....

      posted in General Discussion
      b6
      b6
    • RE: Preview Issues, When share Lankadevelopers posts.

      @dev_lak Thank you bro!

      posted in Comments & Feedback
      b6
      b6
    • Preview Issues, When share Lankadevelopers posts.

      When share my posts on some other websites from lankadev, It shows my profile photo as preview, Instead of fetching photos from article. Will you guys look into this please?

      posted in Comments & Feedback
      b6
      b6
    • RE: Number predict javascript

      @hashan well, Then can you explain the array sequense of your problem?

      posted in General Discussion
      b6
      b6
    • RE: Number predict javascript

      Prediction is a part of ML and AI. You need to train your algorithm with data and patterns to analyse. This is called machine learing. There are few ML frameworks are available. Those are specially designed for Data Analytics and Machine Learning. You can't do it with vanilla script. If you want, You need to create your own ML framework your self.

      Learn Tensoflow.js

      posted in General Discussion
      b6
      b6
    • RE: Build Your Telegram Python Bot ( Sinhala Tutorial )

      Uhhh.... Sounds good. If you post in English, You article will get more reach. Because not everyone knows sinhala much. (Including me) :)

      posted in AI Programming
      b6
      b6
    • RE: ⚖ Load Balancing vs ⚙ Failover

      @dinlinux Thank you!

      posted in Blogs
      b6
      b6
    • RE: ⚖ Load Balancing vs ⚙ Failover

      @Piumal-Kavinda Yes, You can apply. The logical load-balances handles the virtual instances. And physical machanism used to manage the parent instance.

      And nowadays no one using Virtual Architecture with Virtual Machines because of performance and scalability. Use containers instead of VMs.

      Docker & Kubernate are rocking today's architecture,

      posted in Blogs
      b6
      b6
    • RE: ⚖ Load Balancing vs ⚙ Failover

      @Piumal-Kavinda thank you

      posted in Blogs
      b6
      b6
    • RE: Need advice for my future .

      There a lots of courses available. In SLIIT thare is a digree called Computer Systems & Network Engineering (Note:I am not branding SLIIT)

      posted in System & Network Configurations
      b6
      b6
    • RE: What is 🛢Database Replication?

      @root Thx dude

      posted in Blogs
      b6
      b6
    • RE: What is the different between return ($row) and return $row in php

      There is no different, Usually brackets used to grouping the calculation and get final value..

      Instead of,

      $amount = $price - $discount;
      return $amount;
      

      You can use,

      return ($price - $discount);
      

      But in your case, $row is an Array. Array is a single element, So no need brackets..

      posted in Back-End Development
      b6
      b6
    • RE: What is 🛢Database Replication?

      @rachitha Thx bro

      posted in Blogs
      b6
      b6
    • RE: What is 🛢Database Replication?

      @Malith thx bro

      posted in Blogs
      b6
      b6
    • RE: What is 🛢Database Replication?

      @dev_lak thanks bro

      posted in Blogs
      b6
      b6
    • What is 🛢Database Replication?

      Database Replication is a mechanism whereby data is available in more than one location. It means, Having more than one database server and replicating all the data in all available database servers.

      replication


      Why Database Replication 🙄🙄 ?

      The Data-Centers or Large Scale Application Systems are handling millions of queries per second. This kind of continuous huge requests can create very very huge traffic and collision over the network. So there are many possibilities for Server Brake Down or Down Time 😥😥😥 .

      To avoid this, If one database server fail, We need to provide data from another server until the failed server up again. And also we can reduce a load of a server by having more database instances ⚖ .

      For that we need no sync data from a main server to other servers. This syncing process can be synchronous or Asynchronous. But it will happen continuously..

      So this process Syncing data between database servers to increase availability called Replication.

      replication


      Master - Slave Architecture

      In Database Replication, Most Engineers go with a very efficient architecture called Master - Slave.

      In this architecture there will be database server called Master which has permission to Read and Write Data in Database.

      Other side, There will be few database servers called Slaves which has permission only for Read the data.

      Master servers can be one or more... But Slaves will be more than masters,
      (Depends on the purpose and data size)
      master slave

      Master

      This master database can Read and Write data in Database, But mostly used to write data.

      When application wants to write the data, The query or request will be forwarded to one of the master server.

      And also masters will sync the data to their slaves.

      Slaves

      Slaves are only able to read the data from database. So when application want to read a data, The query or request will be forwarded to one of the slave.

      When slaves down, and there are no slaves to handle, The master will handle and read data.

      Slaves are fetching chances from master databases to keep them up to date.

      master slave


      Conclusion

      Master - Slave is a way to increase the database availability and provide Zero Down time. But it will cost more data storage. Because, When we replicate 5GB of data over 3 servers, It will be 3 x 5 = 15GB.

      Current Databases are much faster than before. So it is not compulsory to implement replication for smaller level projects.

      But when you want more scalability and availability, Then go with Replication

      Cheers....... 💪💪💪💪

      posted in Blogs
      b6
      b6
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 2 / 6