What are my duty in a open university (as a senior PHP developer) to tackling network crashing for increasing accessibility of our web based services? I need big picture.
What is senior PHP developer duty about tackling network(physically) related issue's?
218 Views Asked by Mohammad At
1
There are 1 best solutions below
Related Questions in PHP
- How to add the dynamic new rows from my registration form in my database?
- Issue in payment form gateway
- How to create a facet for WP gridbuilder that displays both parent and child custom fields?
- Function in anonymous Laravel Blade component
- How to change woocomerce or full wordpress currency with value from USD to AUD
- General questions about creating a custom theme Moodle CMS
- How to add logging to an abstract class in php
- error 500 on IIS FastCGI but no clue despite multiple error loggings activated
- Composer installation fails and reverts ./composer.json and ./composer.lock to original content
- How to isolate PHP apps from each other on a local machine(Windows or Linux)?
- Laravel: Using belongsToMany relationship with MongoDB
- window.location.href redirects but is causing problems on the webpage
- Key provided is shorter than 256 bits, only 64 bits provided
- Laravel's whereBetween method not working with two timestamps
- Implementing UUID as primary key in Laravel intermediate table
Related Questions in SERVER
- Sending data from C++ server to React.js client
- Deploy Flutter and Laravel php mobile app on the host server
- Protect Server Actions with Next Auth in Next JS 14
- Cannot interact with netcat server over distance
- Facing fatal errors while running "yum update" command on CentOS 7/Cloudlinux 7
- Is there any way to set a printer as default according with Active Directory Policy Security Group and PC hostname?
- How to run GRPC and REST server on same port in Go?
- Share files from the server without data or internet usage
- Django Not Sending Tasks to Celery in Production
- Install Postfix Mail Server
- Is it viable proxying all my mobile apps requests, to some kind knowing that a request is coming from a secure source
- How does a server handle multiple requests, and how does is know where to send which response?
- Trying to launch batch file from powershell, and immediately closes
- Apache: How can I redirect to a subfolder with a URL param but serve required content via the main URL?
- Developing on a remote server an app symfony
Related Questions in CRASH
- Selenium clicked button but still getting error and exiting
- my website crash on safari The site sometimes crashes and I can't recover the crash
- How do I get my terminal to work in VS Code? Exit Code:2, doesn't allow me to type anything
- Attempt to invoke virtual method 'int androidx.constraintlayout.widget.ConstraintLayout.getWidth() what problem?
- crash utility itself crashes while decoding kdump generated from null pointer dereference in kernel module
- MauiApp crashes only in release mode at sideswitch android.os.DeadObjectException
- rac dangling pointer crash。
- mysql process crashed,errorlog prompt "[InnoDB] Assertion failure: buf0buf.h:1203:m_space != nullptr thread"
- Android app Crash when I click the Spinner with its spinnerMode "dialog" in Android 6 or 7
- strange Flutter bug on turning on/off bluetooth permission using IOS device
- Is there a problem with my code? Finding null pointer Exception
- App crashes of type EXC_BREAKPOINT (SIGTRAP) SIGNAL 5 Trace/BPT trap on iOS17
- node js crashing, saying a variable is undefined, when it isnt
- thread crashes with SIGSEGV or SIGABRT
- IOS app crash with this title pb_enc_bool
Related Questions in HIGH-AVAILABILITY
- How to configure in build keepalived of opensips?
- Assigning a dedicated Primary node for write operations in MongoDB replica set
- PostgreSQL high availability setup along with Read-Replica's
- Flink high-availaility in standalone cluster, kill the jobmanager process. But the jobmanager can not recover later
- How to use pacemaker to use Virtual/Floating IP address?
- ActiveMQ Artemis HA split-brain issue on OOME crash
- Kafka mirror maker: Data in some topics are not replicated
- Difference between Edge and HA clusters artifactory
- Do we need to share /var/lib/nfs for NFSv4 recovery process?
- MQTT on Raspberry Pi 3B+ (Raspbian) not working anymore
- Issue encountered while adding a script for REPMGR split-brain prevention
- What is use case where we can see the benefit out of having witness node in the PG cluster
- Do we need a load balancer while we have multiple master nodes?
- Why the values from Hadoop API doesn't match with the calculated values?
- How can I manage DB switchover for write queries?
Related Questions in STABILITY
- Need Clarification on Stability of Matching in Gale-Shapley Algorithm with Uniform Preference Lists
- Why are USB connections so unreliable and sporadic?
- Mimic curl working script in Guzzle (multipart data with binary uploads together)
- on Python's "sorted" method being stable or not
- How do I test salesforce web applications for browser stability?
- KMeans / ValueError: Found input variables with inconsistent numbers of samples:
- Why should stabsel results differ between fitfun = lars.lasso and fitfun = glmnet.lasso?
- How can I fix the 'invalid mime type' error when sending an image as a binary string to Stability AI in Express?
- How do you assess stability in saturated network models that have used model search algorithms?
- Why does a saved PyTorch model in eval mode return different results every time inference is ran?
- How is developed a strategy that allows you to stabilize any sorting algorithm for an Array with n Elements with "O(n) additional memory"?
- Excessive SignalR service costs with server side blazor?
- Packet Corruption: Why sometimes ffmpeg .bat batch video editing makes my computer unstable unable to restart?
- What is senior PHP developer duty about tackling network(physically) related issue's?
- Is counting sort considered stable when integers are appended?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Here are some things to think about from the application code end to the networking end:
Catch it and Cache it Basically, caching. Use caching (Redis or memcached, +1 for redis) to cache (cacheable/readonly/data that doesnt need to be fresh every second) data wherever you can so you can avoid having to constantly query for or fetch data from a database or other sources, hence reducing potential overloading of resources.
Get in a line! Add incoming requests into a queue and respond immediately to them. Then the clients could follow up on the status of responses via polling, eventstreams/sse, or other forms of client-server communication. The idea here is to use this queue of requests to asynchronously process user requests and push the response back to them. This would require a strong rethink of your architecture, however, to switch to message queueing if you're not already there. You could also just add queueing for heavier requests that might take more time than usual or require a lot of resources to process while leaving everything else synchronous.
Vertically scale up Possibly the simplest (and most expensive) thing you could do is to simply scale your host machines up (in terms of CPUs/cores, RAM, bandwidth available). Note, however, there's only so far you can take it before you really need to think of a better way to handle the load (if you get to that traffic level) in a more distributed manner.
Perfectly balanced, as all things should be You could setup a load balancer (through AWS, Digitalocean, maybe your host provides one if you're not under these) that routes requests between multiple instances of your PHP webserver. In other words, you'll need to run multiple instances of your PHP server. Multiple on the same machine along with instances on other machines. This setup is a little bit more complicated to get right but is a fairly tried-and-tested approach to building a stronger load-balance, distributed setup.
Not my concern! Separation of concerns - if you have a huge monolithic architecture, consider maybe splitting up your application into multiple services in an attempt to attempt a microservice architecture. The idea here is to separate the different gears that could take down your whole architecture from each other into individually-diagnosable units. You can then handle scaling and reliability individually for each of the services/microapplications.
There's other things you can do as well but these are some good thinking points as to how you can prepare your web server to be a bit more reliable.
Another very important thing is Observability/Monitoring. You need really good logging and metrics about your servers in order to be able to pinpoint issues.
When you start getting 1000s of concurrent users hitting your website on a Sunday night, overloading your database and almost taking down your server, time is of the essence. You need to be able to act and react quickly and you can only do that if you have information to act upon.
Having access to logs is important. Also having quick go-to actions you can take is also important (eg. scaling up resources, adding extra machines..etc are temporary measures you can take to keep things standing while you investigate a more permanent solution).
All in all, there's no one size fits all solution. Even huge modern tech companies have products that experience outages now and then. It's almost impossible to guarantee 100% server availability, but you can definitely improve your server reliability and recoverability.
Edit: If you'd like to learn more about general system design, https://github.com/donnemartin/system-design-primer is an excellent resource (the README) to get started!