Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Scalable application with perl

by Your Mother (Archbishop)
on Apr 26, 2016 at 13:25 UTC ( [id://1161546]=note: print w/replies, xml ) Need Help??


in reply to Scalable application with perl

Users per year? Per day? Concurrently? 12k concurrent users is quite a lot for a dynamic system to handle and will require serious backend power regardless of "scalability" changes. Some ideas–

  • Perl: Persistent code, as small and as few libraries as possible, run with uwsgi. Write tests and benchmarks from the beginning. Cache templates. Off-load everything possible to webserver. Put as much processing into the front-end (client-side JS) as possible.
  • Backend: nginx, huge amount of RAM, turn off everything that isn't used for the web app.
  • DB: Depends on a lot. Can users update data? Can you cache data? How complicated is the data? There is a reason DB Admins are sought after and command good salaries despite the fact that every dev can do DB Admin work; expert v dilettante.
  • Backend language alternatives: all of them.

Footnote: This is under-specified and even with what you do specify it is not a beginner task. "Examinations" implies security and getting security right is harder than writing a high traffic app. A beginner will flail with these issues and have little if any success.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1161546]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-25 13:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found