Wordpress වැඩ්ඩො එන්නකෝ

IamProgrammer

Active member
  • Apr 24, 2015
    159
    116
    43
    Sri Lanka
    iamprogrammer.lk
    up

    cache plugin එකක් දාලා high load එකක් handle කරන්න බැරිද මචන්ලා? මොනවද තියෙන හොද caching plugins?
    ------ Post added on Jun 3, 2021 at 8:22 AM
    There are a ton of them. I recommend LiteSpeed Server with the cache plugin.

    sow here is your bookig.com website? show me if it that easy
    I never mention that is an easy task. I said there is a good possibility here. sometimes you can achieve the same results with a different approach.
    ------ Post added on Jun 4, 2021 at 2:35 AM
     
    • Like
    Reactions: Gunther

    HAneo

    Well-known member
  • Jan 30, 2007
    12,970
    29,168
    113
    Homagama
    I never mention that is an easy task. I said there is a good possibility here. sometimes you can achieve the same results with a different approach.
    ------ Post added on Jun 4, 2021 at 2:35 AM
    Agreed.. but you cannot achieve something it's not possible. this booking.com using WordPress is like that.
    CMS cannot do a strong backend service does. that's the point here
     

    IamProgrammer

    Active member
  • Apr 24, 2015
    159
    116
    43
    Sri Lanka
    iamprogrammer.lk
    !00% true.
    But the problem here is searching through millions of entities of each connection. this is why I mentioned the Concurrency of the requests. although the request pipeline handheld by the server hopefully you understand that there is a big logic behind the handling of each request. that's big data. so that's where Python comes in handy. imagine 1MIl request you need to search through millions of records and apply 10 different cretirrias. can you handle that using WordPress? then my question is why booking.com is fool enough to choose such a big stack?
    I don't know why exactly. but, maybe they thought this is their best convenience. based on their interest and what they know. they don't care what you and I think. here is my answer to your question.
    Why Sri Lankan government brought a covid vaccine of $15 per dose? at the time, the same vaccine sale price was $10 per dose.

    Agreed.. but you cannot achieve something it's not possible. this booking.com using WordPress is like that.
    CMS cannot do a strong backend service does. that's the point here
    Again, please stop comparing two different technologies against each other.
    ------ Post added on Jun 4, 2021 at 3:19 AM
     
    • Like
    • Wow
    Reactions: Gunther and HAneo

    HAneo

    Well-known member
  • Jan 30, 2007
    12,970
    29,168
    113
    Homagama
    I don't know why exactly. but, maybe they thought this is their best convenience. based on their interest and what they know. they don't care what you and I think. here is my answer to your question.
    Why Sri Lankan government brought a covid vaccine of $15 per dose? at the time, the same vaccine sale price was $10 per dose.
    OMG.
    "based on their interest and what they know"?? let's say you are the owner of booking.com and implementing the current booking.com technology stack will cost unimaginable. so would you go for it or rather cheap and less time-consuming WordPress CMS solution? let's get real here. WordPress is a CMS and apparently, you didn't get a good idea of what booking.com is and the technology behind it, and more importantly why it can't implement using a CMS.

    "What they know??. machan this is CTO of booking.com. do you really think that he doesn't know if this solution can implement using WordPress. the man is a VIP for Amazon.com for god sake. 1000 times ahead of any man in SL right now.

    Matt Swann​

    https://www.linkedin.com/in/mattswann

    " Sri Lankan government brought a covid vaccine of $15 per dose? at the time, the same vaccine sale price was $10 per dose." ?? that's cus SL goV officials have the benefit of it. booking.com owns by one or two people. they won't alow such a thing to happen if they were in the same situation. bad example

    Again, please stop comparing two different technologies against each other.
    ------ Post added on Jun 4, 2021 at 3:19 AM
    It's not a comparison of technologies man. it's checking out whether an Information system can be built using two different tools.
    ------ Post added on Jun 4, 2021 at 4:17 AM
     
    • Like
    Reactions: Gunther

    aquaman2020

    Well-known member
  • Dec 23, 2020
    1,397
    1,767
    113
    Bangkok
    I don't know why exactly. but, maybe they thought this is their best convenience. based on their interest and what they know. they don't care what you and I think. here is my answer to your question.
    Why Sri Lankan government brought a covid vaccine of $15 per dose? at the time, the same vaccine sale price was $10 per dose.


    Again, please stop comparing two different technologies against each other.
    ------ Post added on Jun 4, 2021 at 3:19 AM

    WordPress is a relatively good CMS. You maintain it right, it can do wonders. But do not assume WordPress is like Panadol. You need to pick and choose what to use for a given use-case.

    In this case, there are similar sites to booking.com which runs on WP/WC. But they do not have the same amount of hotels/flights/packages and they can never handle a load like that due to many issues such as WP DB issues.
    wp_posts & wp_postmeta grows exponentially with every new post (whatever kind) and it will get to a level where you cannot query at a reasonable speed. (Do not underestimate how big a hotel object can be- I've worked at Agoda Thailand and Travpax Asia and seen the size of a simple request)

    Concurrent users - This can be managed with Redis / Aggressive server & client side caching / CDN / Load balancing / etc.

    If you really wanna stick to WP/WC, you will have to supplement it with other platforms. (Example - use NodeJS & MongoDB for search / ElasticSearch)

    IMHO - WP/WC is a very good platform when starting up a new business, but you will probably need to look for a better solution for your Version 2/3.
     

    SkullVamp

    Well-known member
  • Mar 8, 2013
    783
    326
    63
    Concurrent requests/connections are measurement units for the server NOT for the CMS or programming language.

    Not exactly right? If the app is badly optimized the latency would increase and throughput would decrease, simply because app takes more time to process your request. Therefore the maximum concurrency that can sustain a minimum QoS will be lower aswell. In a nutshell, a badly optimized app can handle less traffic than a well optimized app, if deployed on identical servers.
     

    maxtalker

    Well-known member
  • Oct 7, 2007
    7,401
    13,043
    113
    පුලුවං. ස්කේල් කිරීම ඉතිං තමංගෙ අතේ තමා. ගොඩාරියක් ලොකු ඩේටා ප්‍රමාණයක් නං තියෙන්නෙ වෙන ටෙක්නොලොජි එකක් යූස් කරන එක තමා හොඳ. ඒ කියන්නෙ ඩේටා රිට්රීවල් පට් පට් ගාල කරන්න පුලුවන් ලයිට් වේට් ටෙක්නොලොජීස් තියනවානේ.
     

    aquaman2020

    Well-known member
  • Dec 23, 2020
    1,397
    1,767
    113
    Bangkok
    Not exactly right? If the app is badly optimized the latency would increase and throughput would decrease, simply because app takes more time to process your request. Therefore the maximum concurrency that can sustain a minimum QoS will be lower aswell. In a nutshell, a badly optimized app can handle less traffic than a well optimized app, if deployed on identical servers.
    I think the OP was reffering to the simplest case where each request is handled from scratch without using any optimization. In that scenario, what he said makes sense, but it doesnt't work like that in the real world. (Ex. If 100 users query same hotel within 10 seconds, you could load all images from scratch per each request. You could also query hotel description 100 times from the database. Or you could save the search result on memcache / redis and serve the remaining 99 users. (this is common practice in travel platforms and they re-validate at the time on booking confirmation (hence it takes a long time for the very last step but it's necessary evil)
     

    dayt0na

    Well-known member
  • Jan 2, 2012
    29,869
    28,757
    113
    WordPress is a relatively good CMS. You maintain it right, it can do wonders. But do not assume WordPress is like Panadol. You need to pick and choose what to use for a given use-case.

    In this case, there are similar sites to booking.com which runs on WP/WC. But they do not have the same amount of hotels/flights/packages and they can never handle a load like that due to many issues such as WP DB issues.
    wp_posts & wp_postmeta grows exponentially with every new post (whatever kind) and it will get to a level where you cannot query at a reasonable speed. (Do not underestimate how big a hotel object can be- I've worked at Agoda Thailand and Travpax Asia and seen the size of a simple request)

    Concurrent users - This can be managed with Redis / Aggressive server & client side caching / CDN / Load balancing / etc.

    If you really wanna stick to WP/WC, you will have to supplement it with other platforms. (Example - use NodeJS & MongoDB for search / ElasticSearch)

    IMHO - WP/WC is a very good platform when starting up a new business, but you will probably need to look for a better solution for your Version 2/3.
    When did you work at Agoda? Still there?
     
    • Like
    Reactions: Gunther

    aquaman2020

    Well-known member
  • Dec 23, 2020
    1,397
    1,767
    113
    Bangkok