[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

LAMP

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 67
Thread images: 8

Do you still use LAMP in the professional world, /g/?
>>
>>60902092

Money is good. Also consistent.

Fast for projects you have little care for.

Won't use on personal projects tho.
>>
>>60902245

Why not for personal?

I was considering building a stack for a personal project of mine. Database for a few hundred people to access.
>>
>>60902297

Because modern tecnologies are exciting to me .
They come with a high-risk and high-reward (in my experience).

> also

Everything in that stack is functional, solid and enterprise tested.

However, every technology needs competitors to get better and
set higher bars.

What the PHP org did with PHP 7 and the Zend VM after RoR
and Node.js? They did optimizing shit they could have done ages
ago, but of course, they did not wanted to be left behind in the
path of emerging technologies.

I used this stack often, but I developed a feeling that I was insta-writing
legacy code. It was fucking weird.

Anyway use whatever it's appropiate and efficient.

> end blog entry
>>
>>60902651

Ok that's fair. Also blog response is warranted if I asked for your opinion, faget :^)
>>
>>60902688

Nah, it just something that I had in my mind for a while.
>>
nginx + php-fpm
>>
>>60902843

I thought about using nginx, but I have no experience with it and it seems like it'd more appropriate for applications that would need inter-user communication.
>>
Anyone tried darkhttpd https://github.com/ryanmjacobs/darkhttpd
>>
>>60902983
As a rule of thumb, don't use anything that has "dark" in its name.
>>
>>60902971

config files syntax is comfy as fuck
>>
>>60903009
;_;
>>
>>60903009
Well suckless gave it a thumbs up http://suckless.org/rocks
>>
>>60903052
>the "lets live like it's the 70s" foundation gave it a thumbs up
>>
>>60902092
Qt kot got anymoar?
>>
>>60903107
So what, not everyone use javascript to render webpages.
>>
>>60903028

Comfy meme is good and all, but I don't need the mail features or the reverse proxy. Just a simple DB for buy/sell among local Magic players.
>>
I do, but our stack is super old. We're also still on python 2.
>>
>>60902092
Yes, unfortunately we have some legacy php code we maintain at my day job.

Our newer products make use of our microservices that are being made in c#, go, and node.
>>
>>60902092
No, because php is cancer and so is Apache.
>>
>>60902092

Practically all the hosting companies are making millions off LAMP.

The alternatives are too cost prohibitive. Just imagine having to pay MS/VMWare/Apple/Oracle per-seat/core/ammount of RAM licensing.
>>
>>60902092
>mysql
>not postgresql
And that's why I don't use LAMP
>>
File: pOC62wM.jpg (76KB, 600x600px) Image search: [Google]
pOC62wM.jpg
76KB, 600x600px
>>60903617
>postgresql
>not mariadb
>>
>>60902843
objectively worse and slower

you're better off nginx rev proxying apache httpd running mod_php than php-fpm bullshit.
>>
>>60903638
>using something not full SQL-compliant
>>
nginx + ngx_http_lua_module (i.e. openresty) is the way to go today
>>
>>60903028
>comfy
>can't even declare ipv6only=off on each vhost.
>first vhost that is read has to declare it.
>shitty ass server tries to resolve proxy_path paths in advance, have to declare a fucking resolver and put the proxy hostname in a variable.
>location blocks are not order based but based on type.

it's not comfy at all. nginx has one of the worst configs ever.

I'm not even sure if apache httpd v2.x is as bad.
>>
>>60903715
>shitty ass server tries to resolve proxy_path paths in advance, have to declare a fucking resolver and put the proxy hostname in a variable.
i was in the exact same situation; looks like it's a common one then
>>
>>60903107
>lets live like it's the 70s
are we pretending that it's bad now?
>>
>>60903755
ya it doesn't even work well since my hostnames are transient, so if I reboot my hypervisor the fucking thing will be stuck dead.

I just get systemd to delay restart it by like 30 seconds now.

but ya, if your names are transient and you don't have a proper dns setup, you prety much have to run a caching local one.

fucking annoying.
>>
https://www.youtube.com/watch?v=mD8CJfIAY9I
yes
>>
>>60903537

This is what I suspected. It'd be technically "legacy" but everyone still uses them enough to justify me sinking time into a LAMP project for my resume.
>>
>>60902092
I have a lamp in every room that hasn't got a light in the ceiling.
>>
>>60903638
Mariadb is rebranded MySQL. Postgres is objectively better in every way.
>>
File: images.jpg (5KB, 247x204px) Image search: [Google]
images.jpg
5KB, 247x204px
>>60902092
Apache? No, far to slow. Nginx. on multiple front ends
Mysql? Perhaps maria-db for low traffic stuff, postgres for heavier stuff, oracle for huge ass prod DB's
Php? People still use that for real work?
>>
>>60907514
I usually just use mariadb/mysql and have only touched postgresql once or twice. Why is it so much better?
>>
BEFW master race
BSD Nginx Filesystem Werc
http://werc.cat-v.org/
>>
>>60908291
Is not, people usually say anything on the internet when the truth is the opposite, don't fall for the trap.
>>
>>60902245
>>60902297
>>60902651
>gay leddit spacing
go back >>>/leddit/
>>
>>60908468
>lmoa le leddit spacing meme xD im so funy please approve me /g/ please say i made you laugh please my mom hates me say something loving i just don't remember the thrill of affection
>>
>>60908240
>maria-db
Why not SQLite?
>>
I still have php apps running on godaddy, got hacked and they replaced all the websites with porn, i think they had some poor guy fix it, but no body really mad at me. still there

moved on to nginx, it's nice to just clone a github repo, copy the default config in /sites-available/, symlink the config to /sites-enabled/
/etc/init.d/nginx reload

i bet my sysadmin abilities would scare someone, but it's going ok

moved on to nginx, python, used sqlite a lot, so much nicer. and with sqlalchemy I don't really have to worry about switching between sqlite, mysql, postgres.
http://flask-sqlalchemy.pocoo.org/2.1/

relational db is too slow for something like sessionizing clickstream data, so going to try pyspark+redshift
https://segment.com/blog/using-sql-to-define-measure-and-analyze-user-sessions/

there's a sqlalchemy-redshift module:
https://pypi.python.org/pypi/sqlalchemy-redshift
>>
>>60908580
>SQLite
why not mongodb?
>>
>>60908623
retards who leave the default password use mongodb
>>
>>60908291
To put it simply, MySQL is the php of databases and postgres is Python.

MySQL/php: shit design, terrible defaults, not flexible, non standard utilities/implementation

Postgres/python: well designed, buttload of batteries included, standards compliant

>inb4 you can fix MySQL data truncation by changing the options
See "terrible defaults"

Heard people say that replication is easier with MySQL but I can't say anything about that. I do find initial setup and user management to be more annoying with postgres but that's it.
>>
>>60902092
Because it's still as good, if not even better nowadays than any dogshit the hipsters are using
>>
>>60908878
>buttload of batteries included
funny thing is I gave up with Postgres at the initial setup stage as it threw me into a snowball of issues. MariaDB, meanwhile, just werked.
>>
How do I stop using PHP?
>>
>>60909719
By start using Perl
>>
>>60909827
perl is even uglier
>>
>>60909542
Like what? I'm using postgres daily right now and the only problem I have with it is that I have to use an outdated version (fuck corporate).
>>
>>60910235
i've also used Postgres in the past just fine. i think i had some leftover config from a previous installation that fucked things up and it just wouldn't connect no matter what. instead of wasting any more time trying to figure out what went wrong i just went for MariaDB.
>>
>>60903009
Why is /g/ so racist lately?
>>
>>60902092
https://www.gnu.org/philosophy/words-to-avoid.html#LAMP
>>
For customers, yeah, but replace Apache with Nginx
They still want WordPress and stuff
Our own applications are mostly in Python, so with uWSGI or Tornado behind Nginx
Postgres is the superior database, and we also use a lot of LDAP (enterpriseTM)
>>
File: NtUJsvZ9.jpg (190KB, 1252x1252px) Image search: [Google]
NtUJsvZ9.jpg
190KB, 1252x1252px
>>60902092
LAMP xD.

I use Mongo, Nginx and NodeJS :^)
>>
Linux yes
Apache yes
MySQL lul?
PHP hahahahahaha
>>
>>60910449
WordPress also supports Nginx.
>>
>>60910458
>tfw this guy actually did lead vocals for one of Swans songs
>>
File: 4327765_R_SET.jpg (18KB, 620x620px) Image search: [Google]
4327765_R_SET.jpg
18KB, 620x620px
>>60910411
What the hell is a glamp?
>>
File: lightofthesouth.jpg (128KB, 674x787px) Image search: [Google]
lightofthesouth.jpg
128KB, 674x787px
>>60910484
A lamp that respects your freedoms
>>
>>60908623
Because mongodb is for mongoloids
>>
>>60910391
Because it's statistically justified.
>>
File: suspicious chameleon.jpg (168KB, 1280x853px) Image search: [Google]
suspicious chameleon.jpg
168KB, 1280x853px
>>60908623
>using mongoloidb
>>
>>60902092
Yeah, lamps are aight. Need them to see n shiet.
>>
>>60910572
Statistics was invented by white people. Why do you expect it to explain black people?
>>
I consult for people using AWS, if I can keep it serverless I try to, just to keep costs down. ELB, API Gateway, Lambda, S3. If I need to run something with heavier dependencies I'll use docker running on CoreOS (I like that it has discovery and cluster aware service management baked in). If it's really heavy then I'm typically working with data scientists and I've come to prefer Apache mesos over hadoop YARN as it uses LXC and plays extremely well with Docker and Spark.
Thread posts: 67
Thread images: 8


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.